[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files



commit 2eda0d1a545626c8b06ebc3792586aa81a1cb845
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Wed May 27 15:25:53 2020 +0200

    Gdk, Gtk: Regenerate docs.xml and .defs files
    
    and update gdk_signals.defs.patch, gtk_vfuncs.defs and
    tools/extra_defs_gen/generate_defs_gtk.cc

 gdk/src/gdk_docs.xml                      | 497 ++++++------------------------
 gdk/src/gdk_enums.defs                    | 116 -------
 gdk/src/gdk_methods.defs                  | 176 +++--------
 gdk/src/gdk_signals.defs                  |  28 +-
 gdk/src/gdk_signals.defs.patch            |   8 +-
 gtk/src/gtk_docs.xml                      | 135 ++------
 gtk/src/gtk_methods.defs                  |  97 ++++--
 gtk/src/gtk_signals.defs                  |  21 +-
 gtk/src/gtk_vfuncs.defs                   |   4 +-
 tools/extra_defs_gen/generate_defs_gtk.cc |   1 +
 10 files changed, 251 insertions(+), 832 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index bd17d662..3b7b7385 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -162,28 +162,6 @@ X and Y are present as axes depends on the GDK backend.
 </parameters>
 </enum>
 
-<enum name="GdkByteOrder">
-<description>
-A set of values describing the possible byte-orders
-for storing pixel values in memory.
-
-</description>
-<parameters>
-<parameter name="GDK_LSB_FIRST">
-<parameter_description> The values are stored with the least-significant byte
-first. For instance, the 32-bit value 0xffeecc would be stored
-in memory as 0xcc, 0xee, 0xff, 0x00.
-</parameter_description>
-</parameter>
-<parameter name="GDK_MSB_FIRST">
-<parameter_description> The values are stored with the most-significant byte
-first. For instance, the 32-bit value 0xffeecc would be stored
-in memory as 0x00, 0xff, 0xee, 0xcc.
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
 <signal name="GdkClipboard::changed">
 <description>
 The ::changed signal is emitted when the clipboard changes ownership.
@@ -547,44 +525,6 @@ system for @display is closed.
 <return></return>
 </signal>
 
-<signal name="GdkDisplay::monitor-added">
-<description>
-The ::monitor-added signal is emitted whenever a monitor is
-added.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> the objedct on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="monitor">
-<parameter_description> the monitor that was just added
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GdkDisplay::monitor-removed">
-<description>
-The ::monitor-removed signal is emitted whenever a monitor is
-removed.
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> the object on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="monitor">
-<parameter_description> the monitor that was just removed
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
 <signal name="GdkDisplay::opened">
 <description>
 The ::opened signal is emitted when the connection to the windowing
@@ -665,6 +605,14 @@ See gdk_display_is_composited() for details.
 </description>
 </property>
 
+<property name="GdkDisplay:input-shapes">
+<description>
+%TRUE if the display supports input shapes. See
+gdk_display_supports_input_shapes() for details.
+
+</description>
+</property>
+
 <property name="GdkDisplay:rgba">
 <description>
 %TRUE if the display supports an alpha channel. See gdk_display_is_rgba()
@@ -873,120 +821,6 @@ The #GdkSurface the drop happens on
 </description>
 </property>
 
-<enum name="GdkEventMask">
-<description>
-A set of bit-flags to indicate which events a surface is to receive.
-Most of these masks map onto one or more of the #GdkEventType event types
-above.
-
-See the [input handling overview][chap-input-handling] for details of
-[event masks][event-masks] and [event propagation][event-propagation].
-
-If %GDK_TOUCH_MASK is enabled, the surface will receive touch events
-from touch-enabled devices. Those will come as sequences of #GdkEventTouch
-with type %GDK_TOUCH_UPDATE, enclosed by two events with
-type %GDK_TOUCH_BEGIN and %GDK_TOUCH_END (or %GDK_TOUCH_CANCEL).
-gdk_event_get_event_sequence() returns the event sequence for these
-events, so different sequences may be distinguished.
-
-</description>
-<parameters>
-<parameter name="GDK_EXPOSURE_MASK">
-<parameter_description> receive expose events
-</parameter_description>
-</parameter>
-<parameter name="GDK_POINTER_MOTION_MASK">
-<parameter_description> receive all pointer motion events
-</parameter_description>
-</parameter>
-<parameter name="GDK_BUTTON_MOTION_MASK">
-<parameter_description> receive pointer motion events while any button is pressed
-</parameter_description>
-</parameter>
-<parameter name="GDK_BUTTON1_MOTION_MASK">
-<parameter_description> receive pointer motion events while 1 button is pressed
-</parameter_description>
-</parameter>
-<parameter name="GDK_BUTTON2_MOTION_MASK">
-<parameter_description> receive pointer motion events while 2 button is pressed
-</parameter_description>
-</parameter>
-<parameter name="GDK_BUTTON3_MOTION_MASK">
-<parameter_description> receive pointer motion events while 3 button is pressed
-</parameter_description>
-</parameter>
-<parameter name="GDK_BUTTON_PRESS_MASK">
-<parameter_description> receive button press events
-</parameter_description>
-</parameter>
-<parameter name="GDK_BUTTON_RELEASE_MASK">
-<parameter_description> receive button release events
-</parameter_description>
-</parameter>
-<parameter name="GDK_KEY_PRESS_MASK">
-<parameter_description> receive key press events
-</parameter_description>
-</parameter>
-<parameter name="GDK_KEY_RELEASE_MASK">
-<parameter_description> receive key release events
-</parameter_description>
-</parameter>
-<parameter name="GDK_ENTER_NOTIFY_MASK">
-<parameter_description> receive surface enter events
-</parameter_description>
-</parameter>
-<parameter name="GDK_LEAVE_NOTIFY_MASK">
-<parameter_description> receive surface leave events
-</parameter_description>
-</parameter>
-<parameter name="GDK_FOCUS_CHANGE_MASK">
-<parameter_description> receive focus change events
-</parameter_description>
-</parameter>
-<parameter name="GDK_STRUCTURE_MASK">
-<parameter_description> receive events about surface configuration change
-</parameter_description>
-</parameter>
-<parameter name="GDK_PROPERTY_CHANGE_MASK">
-<parameter_description> receive property change events
-</parameter_description>
-</parameter>
-<parameter name="GDK_PROXIMITY_IN_MASK">
-<parameter_description> receive proximity in events
-</parameter_description>
-</parameter>
-<parameter name="GDK_PROXIMITY_OUT_MASK">
-<parameter_description> receive proximity out events
-</parameter_description>
-</parameter>
-<parameter name="GDK_SUBSTRUCTURE_MASK">
-<parameter_description> receive events about surface configuration changes of child surfaces
-</parameter_description>
-</parameter>
-<parameter name="GDK_SCROLL_MASK">
-<parameter_description> receive scroll events
-</parameter_description>
-</parameter>
-<parameter name="GDK_TOUCH_MASK">
-<parameter_description> receive touch events
-</parameter_description>
-</parameter>
-<parameter name="GDK_SMOOTH_SCROLL_MASK">
-<parameter_description> receive smooth scrolling events
-   @GDK_TOUCHPAD_GESTURE_MASK: receive touchpad gesture events
-</parameter_description>
-</parameter>
-<parameter name="GDK_TABLET_PAD_MASK">
-<parameter_description> receive tablet pad events
-</parameter_description>
-</parameter>
-<parameter name="GDK_ALL_EVENTS_MASK">
-<parameter_description> the combination of all the above event masks.
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
 <enum name="GdkEventType">
 <description>
 Specifies the type of the event.
@@ -1395,11 +1229,7 @@ viewable.
 
 <enum name="GdkGravity">
 <description>
-Defines the reference point of a surface and the meaning of coordinates
-passed to gtk_window_move(). See gtk_window_move() and the &quot;implementation
-notes&quot; section of the
-[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec)
-specification for more details.
+Defines the reference point of a surface and is used in #GdkPopupLayout.
 
 </description>
 <parameters>
@@ -2673,82 +2503,6 @@ any of the per-edge states being set.
 </parameters>
 </enum>
 
-<enum name="GdkSurfaceTypeHint">
-<description>
-These are hints for the window manager that indicate what type of function
-the window has. The window manager can use this when determining decoration
-and behaviour of the window. The hint must be set before mapping the window.
-
-See the [Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec)
-specification for more details about window types.
-
-</description>
-<parameters>
-<parameter name="GDK_SURFACE_TYPE_HINT_NORMAL">
-<parameter_description> Normal toplevel window.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_DIALOG">
-<parameter_description> Dialog window.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_MENU">
-<parameter_description> Window used to implement a menu; GTK uses
-this hint only for torn-off menus, see #GtkTearoffMenuItem.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_TOOLBAR">
-<parameter_description> Window used to implement toolbars.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_SPLASHSCREEN">
-<parameter_description> Window used to display a splash
-screen during application startup.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_UTILITY">
-<parameter_description> Utility windows which are not detached
-toolbars or dialogs.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_DOCK">
-<parameter_description> Used for creating dock or panel windows.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_DESKTOP">
-<parameter_description> Used for creating the desktop background
-window.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_DROPDOWN_MENU">
-<parameter_description> A menu that belongs to a menubar.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_POPUP_MENU">
-<parameter_description> A menu that does not belong to a menubar,
-e.g. a context menu.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_TOOLTIP">
-<parameter_description> A tooltip.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_NOTIFICATION">
-<parameter_description> A notification - typically a “bubble”
-that belongs to a status icon.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_COMBO">
-<parameter_description> A popup from a combo box.
-</parameter_description>
-</parameter>
-<parameter name="GDK_SURFACE_TYPE_HINT_DND">
-<parameter_description> A window that is used to implement a DND cursor.
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
 <property name="GdkTexture:height">
 <description>
 The height of the texture.
@@ -6159,6 +5913,9 @@ for @display
 <description>
 Returns the default #GdkSeat for this display.
 
+Note that a display may not have a seat. In this case,
+this function will return %NULL.
+
 
 </description>
 <parameters>
@@ -6205,27 +5962,6 @@ Returns the #GdkKeymap attached to @display.
 </return>
 </function>
 
-<function name="gdk_display_get_monitor">
-<description>
-Gets a monitor associated with this display.
-
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-<parameter name="monitor_num">
-<parameter_description> number of the monitor
-</parameter_description>
-</parameter>
-</parameters>
-<return> the #GdkMonitor, or %NULL if
-@monitor_num is not a valid monitor number
-</return>
-</function>
-
 <function name="gdk_display_get_monitor_at_surface">
 <description>
 Gets the monitor in which the largest area of @surface
@@ -6248,22 +5984,25 @@ of all monitors.
 </return>
 </function>
 
-<function name="gdk_display_get_n_monitors">
+<function name="gdk_display_get_monitors">
 <description>
-Gets the number of monitors that belong to @display.
+Gets the list of monitors associated with this display.
 
-The returned number is valid until the next emission of the
-#GdkDisplay::monitor-added or #GdkDisplay::monitor-removed signal.
+Subsequent calls to this function will always return the same list for the
+same display.
+
+You can listen to the GListModel::items-changed signal on this list
+to monitor changes to the monitor of this display.
 
 
 </description>
 <parameters>
-<parameter name="display">
+<parameter name="self">
 <parameter_description> a #GdkDisplay
 </parameter_description>
 </parameter>
 </parameters>
-<return> the number of monitors
+<return> a #GListModel of #GdkMonitor
 </return>
 </function>
 
@@ -6725,23 +6464,6 @@ be used to modify the input shape of surfaces on @display.
 </return>
 </function>
 
-<function name="gdk_display_supports_shapes">
-<description>
-Returns %TRUE if gdk_surface_shape_combine_mask() can
-be used to create shaped windows on @display.
-
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if shaped windows are supported
-</return>
-</function>
-
 <function name="gdk_display_sync">
 <description>
 Flushes any requests queued for the windowing system and waits until all
@@ -15021,79 +14743,6 @@ the display just as gdk_display_beep().
 <return></return>
 </function>
 
-<function name="gdk_surface_begin_move_drag">
-<description>
-Begins a surface move operation (for a toplevel surface).
-
-</description>
-<parameters>
-<parameter name="surface">
-<parameter_description> a toplevel #GdkSurface
-</parameter_description>
-</parameter>
-<parameter name="device">
-<parameter_description> the device used for the operation
-</parameter_description>
-</parameter>
-<parameter name="button">
-<parameter_description> the button being used to drag, or 0 for a keyboard-initiated drag
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> surface X coordinate of mouse click that began the drag
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> surface Y coordinate of mouse click that began the drag
-</parameter_description>
-</parameter>
-<parameter name="timestamp">
-<parameter_description> timestamp of mouse click that began the drag
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_surface_begin_resize_drag">
-<description>
-Begins a surface resize operation (for a toplevel surface).
-You might use this function to implement a “window resize grip,”
-
-</description>
-<parameters>
-<parameter name="surface">
-<parameter_description> a toplevel #GdkSurface
-</parameter_description>
-</parameter>
-<parameter name="edge">
-<parameter_description> the edge or corner from which the drag is started
-</parameter_description>
-</parameter>
-<parameter name="device">
-<parameter_description> the device used for the operation
-</parameter_description>
-</parameter>
-<parameter name="button">
-<parameter_description> the button being used to drag, or 0 for a keyboard-initiated drag
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> surface X coordinate of mouse click that began the drag
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> surface Y coordinate of mouse click that began the drag
-</parameter_description>
-</parameter>
-<parameter name="timestamp">
-<parameter_description> timestamp of mouse click that began the drag (use gdk_event_get_time())
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gdk_surface_constrain_size">
 <description>
 Constrains a desired width and height according to a
@@ -15566,25 +15215,6 @@ Check to see if a surface is destroyed..
 </return>
 </function>
 
-<function name="gdk_surface_is_viewable">
-<description>
-Check if the surface and all ancestors of the surface are
-mapped. (This is not necessarily &quot;viewable&quot; in the X sense, since
-we only check as far as we have GDK surface parents, not to the root
-surface.)
-
-
-</description>
-<parameters>
-<parameter name="surface">
-<parameter_description> a #GdkSurface
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the surface is viewable
-</return>
-</function>
-
 <function name="gdk_surface_new_popup">
 <description>
 Create a new popup surface.
@@ -15733,17 +15363,14 @@ handling. Mouse events which happen while the pointer position
 corresponds to an unset bit in the mask will be passed on the
 surface below @surface.
 
-An input shape is typically used with RGBA surfaces.
+An input region is typically used with RGBA surfaces.
 The alpha channel of the surface defines which pixels are
 invisible and allows for nicely antialiased borders,
-and the input shape controls where the surface is
+and the input region controls where the surface is
 “clickable”.
 
-On the X11 platform, this requires version 1.1 of the
-shape extension.
-
-On the Win32 platform, this functionality is not present and the
-function does nothing.
+Use gdk_display_support_input_shapes() to find out if
+a particular backend supports input regions.
 
 </description>
 <parameters>
@@ -16072,6 +15699,80 @@ look into using the gdk-pixbuf library.
 </return>
 </function>
 
+<function name="gdk_toplevel_begin_move">
+<description>
+Begins an interactive move operation (for a toplevel surface).
+You might use this function to implement draggable titlebars.
+
+</description>
+<parameters>
+<parameter name="toplevel">
+<parameter_description> a #GdkToplevel
+</parameter_description>
+</parameter>
+<parameter name="device">
+<parameter_description> the device used for the operation
+</parameter_description>
+</parameter>
+<parameter name="button">
+<parameter_description> the button being used to drag, or 0 for a keyboard-initiated drag
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> surface X coordinate of mouse click that began the drag
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> surface Y coordinate of mouse click that began the drag
+</parameter_description>
+</parameter>
+<parameter name="timestamp">
+<parameter_description> timestamp of mouse click that began the drag
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gdk_toplevel_begin_resize">
+<description>
+Begins an interactive resize operation (for a toplevel surface).
+You might use this function to implement a “window resize grip.”
+
+</description>
+<parameters>
+<parameter name="toplevel">
+<parameter_description> a #GdkToplevel
+</parameter_description>
+</parameter>
+<parameter name="edge">
+<parameter_description> the edge or corner from which the drag is started
+</parameter_description>
+</parameter>
+<parameter name="device">
+<parameter_description> the device used for the operation
+</parameter_description>
+</parameter>
+<parameter name="button">
+<parameter_description> the button being used to drag, or 0 for a keyboard-initiated drag
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> surface X coordinate of mouse click that began the drag
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> surface Y coordinate of mouse click that began the drag
+</parameter_description>
+</parameter>
+<parameter name="timestamp">
+<parameter_description> timestamp of mouse click that began the drag (use gdk_event_get_time())
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gdk_toplevel_focus">
 <description>
 Sets keyboard focus to @surface.
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index d559140d..facb39cf 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -591,22 +591,6 @@
   )
 )
 
-;; Original typedef:
-;; typedef enum
-;; {
-;;   GDK_LSB_FIRST,
-;;   GDK_MSB_FIRST
-;; } GdkByteOrder;
-
-(define-enum-extended ByteOrder
-  (in-module "Gdk")
-  (c-name "GdkByteOrder")
-  (values
-    '("lsb-first" "GDK_LSB_FIRST" "0")
-    '("msb-first" "GDK_MSB_FIRST" "1")
-  )
-)
-
 ;; Original typedef:
 ;; typedef enum
 ;; {
@@ -645,66 +629,6 @@
   )
 )
 
-;; Original typedef:
-;; typedef enum
-;; {
-;;   GDK_EXPOSURE_MASK             = 1 << 1,
-;;   GDK_POINTER_MOTION_MASK       = 1 << 2,
-;;   GDK_BUTTON_MOTION_MASK        = 1 << 4,
-;;   GDK_BUTTON1_MOTION_MASK       = 1 << 5,
-;;   GDK_BUTTON2_MOTION_MASK       = 1 << 6,
-;;   GDK_BUTTON3_MOTION_MASK       = 1 << 7,
-;;   GDK_BUTTON_PRESS_MASK         = 1 << 8,
-;;   GDK_BUTTON_RELEASE_MASK       = 1 << 9,
-;;   GDK_KEY_PRESS_MASK            = 1 << 10,
-;;   GDK_KEY_RELEASE_MASK          = 1 << 11,
-;;   GDK_ENTER_NOTIFY_MASK         = 1 << 12,
-;;   GDK_LEAVE_NOTIFY_MASK         = 1 << 13,
-;;   GDK_FOCUS_CHANGE_MASK         = 1 << 14,
-;;   GDK_STRUCTURE_MASK            = 1 << 15,
-;;   GDK_PROPERTY_CHANGE_MASK      = 1 << 16,
-;;   GDK_PROXIMITY_IN_MASK         = 1 << 18,
-;;   GDK_PROXIMITY_OUT_MASK        = 1 << 19,
-;;   GDK_SUBSTRUCTURE_MASK         = 1 << 20,
-;;   GDK_SCROLL_MASK               = 1 << 21,
-;;   GDK_TOUCH_MASK                = 1 << 22,
-;;   GDK_SMOOTH_SCROLL_MASK        = 1 << 23,
-;;   GDK_TOUCHPAD_GESTURE_MASK     = 1 << 24,
-;;   GDK_TABLET_PAD_MASK           = 1 << 25,
-;;   GDK_ALL_EVENTS_MASK           = 0x3FFFFFE
-;; } GdkEventMask;
-
-(define-flags-extended EventMask
-  (in-module "Gdk")
-  (c-name "GdkEventMask")
-  (values
-    '("exposure-mask" "GDK_EXPOSURE_MASK" "1 << 1")
-    '("pointer-motion-mask" "GDK_POINTER_MOTION_MASK" "1 << 2")
-    '("button-motion-mask" "GDK_BUTTON_MOTION_MASK" "1 << 4")
-    '("button1-motion-mask" "GDK_BUTTON1_MOTION_MASK" "1 << 5")
-    '("button2-motion-mask" "GDK_BUTTON2_MOTION_MASK" "1 << 6")
-    '("button3-motion-mask" "GDK_BUTTON3_MOTION_MASK" "1 << 7")
-    '("button-press-mask" "GDK_BUTTON_PRESS_MASK" "1 << 8")
-    '("button-release-mask" "GDK_BUTTON_RELEASE_MASK" "1 << 9")
-    '("key-press-mask" "GDK_KEY_PRESS_MASK" "1 << 10")
-    '("key-release-mask" "GDK_KEY_RELEASE_MASK" "1 << 11")
-    '("enter-notify-mask" "GDK_ENTER_NOTIFY_MASK" "1 << 12")
-    '("leave-notify-mask" "GDK_LEAVE_NOTIFY_MASK" "1 << 13")
-    '("focus-change-mask" "GDK_FOCUS_CHANGE_MASK" "1 << 14")
-    '("structure-mask" "GDK_STRUCTURE_MASK" "1 << 15")
-    '("property-change-mask" "GDK_PROPERTY_CHANGE_MASK" "1 << 16")
-    '("proximity-in-mask" "GDK_PROXIMITY_IN_MASK" "1 << 18")
-    '("proximity-out-mask" "GDK_PROXIMITY_OUT_MASK" "1 << 19")
-    '("substructure-mask" "GDK_SUBSTRUCTURE_MASK" "1 << 20")
-    '("scroll-mask" "GDK_SCROLL_MASK" "1 << 21")
-    '("touch-mask" "GDK_TOUCH_MASK" "1 << 22")
-    '("smooth-scroll-mask" "GDK_SMOOTH_SCROLL_MASK" "1 << 23")
-    '("touchpad-gesture-mask" "GDK_TOUCHPAD_GESTURE_MASK" "1 << 24")
-    '("tablet-pad-mask" "GDK_TABLET_PAD_MASK" "1 << 25")
-    '("all-events-mask" "GDK_ALL_EVENTS_MASK" "0x3FFFFFE")
-  )
-)
-
 ;; Original typedef:
 ;; typedef enum {
 ;;   GDK_GL_ERROR_NOT_AVAILABLE,
@@ -741,46 +665,6 @@
   )
 )
 
-;; Original typedef:
-;; typedef enum
-;; {
-;;   GDK_SURFACE_TYPE_HINT_NORMAL,
-;;   GDK_SURFACE_TYPE_HINT_DIALOG,
-;;   GDK_SURFACE_TYPE_HINT_MENU,               /* Torn off menu */
-;;   GDK_SURFACE_TYPE_HINT_TOOLBAR,
-;;   GDK_SURFACE_TYPE_HINT_SPLASHSCREEN,
-;;   GDK_SURFACE_TYPE_HINT_UTILITY,
-;;   GDK_SURFACE_TYPE_HINT_DOCK,
-;;   GDK_SURFACE_TYPE_HINT_DESKTOP,
-;;   GDK_SURFACE_TYPE_HINT_DROPDOWN_MENU,      /* A drop down menu (from a menubar) */
-;;   GDK_SURFACE_TYPE_HINT_POPUP_MENU, /* A popup menu (from right-click) */
-;;   GDK_SURFACE_TYPE_HINT_TOOLTIP,
-;;   GDK_SURFACE_TYPE_HINT_NOTIFICATION,
-;;   GDK_SURFACE_TYPE_HINT_COMBO,
-;;   GDK_SURFACE_TYPE_HINT_DND
-;; } GdkSurfaceTypeHint;
-
-(define-enum-extended SurfaceTypeHint
-  (in-module "Gdk")
-  (c-name "GdkSurfaceTypeHint")
-  (values
-    '("normal" "GDK_SURFACE_TYPE_HINT_NORMAL" "0")
-    '("dialog" "GDK_SURFACE_TYPE_HINT_DIALOG" "1")
-    '("menu" "GDK_SURFACE_TYPE_HINT_MENU" "2")
-    '("toolbar" "GDK_SURFACE_TYPE_HINT_TOOLBAR" "3")
-    '("splashscreen" "GDK_SURFACE_TYPE_HINT_SPLASHSCREEN" "4")
-    '("utility" "GDK_SURFACE_TYPE_HINT_UTILITY" "5")
-    '("dock" "GDK_SURFACE_TYPE_HINT_DOCK" "6")
-    '("desktop" "GDK_SURFACE_TYPE_HINT_DESKTOP" "7")
-    '("dropdown-menu" "GDK_SURFACE_TYPE_HINT_DROPDOWN_MENU" "8")
-    '("popup-menu" "GDK_SURFACE_TYPE_HINT_POPUP_MENU" "9")
-    '("tooltip" "GDK_SURFACE_TYPE_HINT_TOOLTIP" "10")
-    '("notification" "GDK_SURFACE_TYPE_HINT_NOTIFICATION" "11")
-    '("combo" "GDK_SURFACE_TYPE_HINT_COMBO" "12")
-    '("dnd" "GDK_SURFACE_TYPE_HINT_DND" "13")
-  )
-)
-
 ;; Original typedef:
 ;; typedef enum
 ;; {
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index e8260527..2518302e 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -339,16 +339,6 @@
   )
 )
 
-(define-enum ByteOrder
-  (in-module "Gdk")
-  (c-name "GdkByteOrder")
-  (gtype-id "GDK_TYPE_BYTE_ORDER")
-  (values
-    '("lsb-first" "GDK_LSB_FIRST")
-    '("msb-first" "GDK_MSB_FIRST")
-  )
-)
-
 (define-flags ModifierType
   (in-module "Gdk")
   (c-name "GdkModifierType")
@@ -369,38 +359,6 @@
   )
 )
 
-(define-flags EventMask
-  (in-module "Gdk")
-  (c-name "GdkEventMask")
-  (gtype-id "GDK_TYPE_EVENT_MASK")
-  (values
-    '("exposure-mask" "GDK_EXPOSURE_MASK")
-    '("pointer-motion-mask" "GDK_POINTER_MOTION_MASK")
-    '("button-motion-mask" "GDK_BUTTON_MOTION_MASK")
-    '("button1-motion-mask" "GDK_BUTTON1_MOTION_MASK")
-    '("button2-motion-mask" "GDK_BUTTON2_MOTION_MASK")
-    '("button3-motion-mask" "GDK_BUTTON3_MOTION_MASK")
-    '("button-press-mask" "GDK_BUTTON_PRESS_MASK")
-    '("button-release-mask" "GDK_BUTTON_RELEASE_MASK")
-    '("key-press-mask" "GDK_KEY_PRESS_MASK")
-    '("key-release-mask" "GDK_KEY_RELEASE_MASK")
-    '("enter-notify-mask" "GDK_ENTER_NOTIFY_MASK")
-    '("leave-notify-mask" "GDK_LEAVE_NOTIFY_MASK")
-    '("focus-change-mask" "GDK_FOCUS_CHANGE_MASK")
-    '("structure-mask" "GDK_STRUCTURE_MASK")
-    '("property-change-mask" "GDK_PROPERTY_CHANGE_MASK")
-    '("proximity-in-mask" "GDK_PROXIMITY_IN_MASK")
-    '("proximity-out-mask" "GDK_PROXIMITY_OUT_MASK")
-    '("substructure-mask" "GDK_SUBSTRUCTURE_MASK")
-    '("scroll-mask" "GDK_SCROLL_MASK")
-    '("touch-mask" "GDK_TOUCH_MASK")
-    '("smooth-scroll-mask" "GDK_SMOOTH_SCROLL_MASK")
-    '("touchpad-gesture-mask" "GDK_TOUCHPAD_GESTURE_MASK")
-    '("tablet-pad-mask" "GDK_TABLET_PAD_MASK")
-    '("all-events-mask" "GDK_ALL_EVENTS_MASK")
-  )
-)
-
 (define-enum GLError
   (in-module "Gdk")
   (c-name "GdkGLError")
@@ -424,28 +382,6 @@
   )
 )
 
-(define-enum SurfaceTypeHint
-  (in-module "Gdk")
-  (c-name "GdkSurfaceTypeHint")
-  (gtype-id "GDK_TYPE_SURFACE_TYPE_HINT")
-  (values
-    '("normal" "GDK_SURFACE_TYPE_HINT_NORMAL")
-    '("dialog" "GDK_SURFACE_TYPE_HINT_DIALOG")
-    '("menu" "GDK_SURFACE_TYPE_HINT_MENU")
-    '("toolbar" "GDK_SURFACE_TYPE_HINT_TOOLBAR")
-    '("splashscreen" "GDK_SURFACE_TYPE_HINT_SPLASHSCREEN")
-    '("utility" "GDK_SURFACE_TYPE_HINT_UTILITY")
-    '("dock" "GDK_SURFACE_TYPE_HINT_DOCK")
-    '("desktop" "GDK_SURFACE_TYPE_HINT_DESKTOP")
-    '("dropdown-menu" "GDK_SURFACE_TYPE_HINT_DROPDOWN_MENU")
-    '("popup-menu" "GDK_SURFACE_TYPE_HINT_POPUP_MENU")
-    '("tooltip" "GDK_SURFACE_TYPE_HINT_TOOLTIP")
-    '("notification" "GDK_SURFACE_TYPE_HINT_NOTIFICATION")
-    '("combo" "GDK_SURFACE_TYPE_HINT_COMBO")
-    '("dnd" "GDK_SURFACE_TYPE_HINT_DND")
-  )
-)
-
 (define-enum AxisUse
   (in-module "Gdk")
   (c-name "GdkAxisUse")
@@ -1856,6 +1792,12 @@
   (return-type "gboolean")
 )
 
+(define-method supports_input_shapes
+  (of-object "GdkDisplay")
+  (c-name "gdk_display_supports_input_shapes")
+  (return-type "gboolean")
+)
+
 (define-method get_event
   (of-object "GdkDisplay")
   (c-name "gdk_display_get_event")
@@ -1906,18 +1848,6 @@
   (return-type "GdkClipboard*")
 )
 
-(define-method supports_shapes
-  (of-object "GdkDisplay")
-  (c-name "gdk_display_supports_shapes")
-  (return-type "gboolean")
-)
-
-(define-method supports_input_shapes
-  (of-object "GdkDisplay")
-  (c-name "gdk_display_supports_input_shapes")
-  (return-type "gboolean")
-)
-
 (define-method notify_startup_complete
   (of-object "GdkDisplay")
   (c-name "gdk_display_notify_startup_complete")
@@ -1951,19 +1881,10 @@
   (return-type "GList*")
 )
 
-(define-method get_n_monitors
+(define-method get_monitors
   (of-object "GdkDisplay")
-  (c-name "gdk_display_get_n_monitors")
-  (return-type "int")
-)
-
-(define-method get_monitor
-  (of-object "GdkDisplay")
-  (c-name "gdk_display_get_monitor")
-  (return-type "GdkMonitor*")
-  (parameters
-    '("int" "monitor_num")
-  )
+  (c-name "gdk_display_get_monitors")
+  (return-type "GListModel*")
 )
 
 (define-method get_monitor_at_surface
@@ -2116,8 +2037,8 @@
     '("GdkDevice*" "device")
     '("GdkContentProvider*" "content")
     '("GdkDragAction" "actions")
-    '("gint" "dx")
-    '("gint" "dy")
+    '("double" "dx")
+    '("double" "dy")
   )
 )
 
@@ -3830,12 +3751,6 @@
   )
 )
 
-(define-method is_viewable
-  (of-object "GdkSurface")
-  (c-name "gdk_surface_is_viewable")
-  (return-type "gboolean")
-)
-
 (define-method get_mapped
   (of-object "GdkSurface")
   (c-name "gdk_surface_get_mapped")
@@ -3934,33 +3849,6 @@
   (return-type "none")
 )
 
-(define-method begin_resize_drag
-  (of-object "GdkSurface")
-  (c-name "gdk_surface_begin_resize_drag")
-  (return-type "none")
-  (parameters
-    '("GdkSurfaceEdge" "edge")
-    '("GdkDevice*" "device")
-    '("gint" "button")
-    '("gint" "x")
-    '("gint" "y")
-    '("guint32" "timestamp")
-  )
-)
-
-(define-method begin_move_drag
-  (of-object "GdkSurface")
-  (c-name "gdk_surface_begin_move_drag")
-  (return-type "none")
-  (parameters
-    '("GdkDevice*" "device")
-    '("gint" "button")
-    '("gint" "x")
-    '("gint" "y")
-    '("guint32" "timestamp")
-  )
-)
-
 (define-method queue_expose
   (of-object "GdkSurface")
   (c-name "gdk_surface_queue_expose")
@@ -4240,6 +4128,33 @@
   (return-type "none")
 )
 
+(define-method begin_resize
+  (of-object "GdkToplevel")
+  (c-name "gdk_toplevel_begin_resize")
+  (return-type "none")
+  (parameters
+    '("GdkSurfaceEdge" "edge")
+    '("GdkDevice*" "device")
+    '("int" "button")
+    '("double" "x")
+    '("double" "y")
+    '("guint32" "timestamp")
+  )
+)
+
+(define-method begin_move
+  (of-object "GdkToplevel")
+  (c-name "gdk_toplevel_begin_move")
+  (return-type "none")
+  (parameters
+    '("GdkDevice*" "device")
+    '("int" "button")
+    '("double" "x")
+    '("double" "y")
+    '("guint32" "timestamp")
+  )
+)
+
 
 
 ;; From gdktoplevellayout.h
@@ -4556,21 +4471,11 @@
   (return-type "GType")
 )
 
-(define-function gdk_byte_order_get_type
-  (c-name "gdk_byte_order_get_type")
-  (return-type "GType")
-)
-
 (define-function gdk_modifier_type_get_type
   (c-name "gdk_modifier_type_get_type")
   (return-type "GType")
 )
 
-(define-function gdk_event_mask_get_type
-  (c-name "gdk_event_mask_get_type")
-  (return-type "GType")
-)
-
 (define-function gdk_gl_error_get_type
   (c-name "gdk_gl_error_get_type")
   (return-type "GType")
@@ -4581,11 +4486,6 @@
   (return-type "GType")
 )
 
-(define-function gdk_surface_type_hint_get_type
-  (c-name "gdk_surface_type_hint_get_type")
-  (return-type "GType")
-)
-
 (define-function gdk_axis_use_get_type
   (c-name "gdk_axis_use_get_type")
   (return-type "GType")
diff --git a/gdk/src/gdk_signals.defs b/gdk/src/gdk_signals.defs
index e9df3daf..40f6ad60 100644
--- a/gdk/src/gdk_signals.defs
+++ b/gdk/src/gdk_signals.defs
@@ -410,24 +410,6 @@
   )
 )
 
-(define-signal monitor-added
-  (of-object "GdkDisplay")
-  (return-type "void")
-  (flags "Run Last")
-  (parameters
-    '("GdkMonitor*" "p0")
-  )
-)
-
-(define-signal monitor-removed
-  (of-object "GdkDisplay")
-  (return-type "void")
-  (flags "Run Last")
-  (parameters
-    '("GdkMonitor*" "p0")
-  )
-)
-
 (define-signal setting-changed
   (of-object "GdkDisplay")
   (return-type "void")
@@ -457,6 +439,16 @@
   (default-value "TRUE")
 )
 
+(define-property input-shapes
+  (of-object "GdkDisplay")
+  (prop-type "GParamBoolean")
+  (docs "Input shapes")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+  (default-value "TRUE")
+)
+
 ;; From GdkDisplayManager
 
 (define-signal display-opened
diff --git a/gdk/src/gdk_signals.defs.patch b/gdk/src/gdk_signals.defs.patch
index e5505382..acb9d64b 100644
--- a/gdk/src/gdk_signals.defs.patch
+++ b/gdk/src/gdk_signals.defs.patch
@@ -1,12 +1,12 @@
---- ./../../gdk/src/gdk_signals.defs.orig      2020-04-23 15:27:59.893186000 +0200
-+++ ./../../gdk/src/gdk_signals.defs   2020-04-23 19:24:24.925500062 +0200
-@@ -1051,11 +1051,11 @@
+--- ./../../gdk/src/gdk_signals.defs.orig      2020-05-21 15:28:16.237314196 +0200
++++ ./../../gdk/src/gdk_signals.defs   2020-05-21 15:38:50.956598646 +0200
+@@ -1043,11 +1043,11 @@
  (define-signal event
    (of-object "GdkSurface")
    (return-type "gboolean")
    (flags "Run Last")
    (parameters
--    '("GdkEvent" "p0")
+-    '("gpointer" "p0")
 +    '("GdkEvent*" "p0")
    )
  )
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 25309893..b96b0cec 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -597,12 +597,10 @@ marked as idle (and possibly locked)
 <property name="GtkApplicationWindow:show-menubar">
 <description>
 If this property is %TRUE, the window will display a menubar
-that includes the app menu and menubar, unless these are
-shown by the desktop shell. See gtk_application_set_app_menu()
-and gtk_application_set_menubar().
+unless it is shown by the desktop shell. See gtk_application_set_menubar().
 
 If %FALSE, the window will not display a menubar, regardless
-of whether the desktop shell is showing the menus or not.
+of whether the desktop shell is showing it or not.
 
 </description>
 </property>
@@ -17995,24 +17993,6 @@ there isn't one.
 </return>
 </function>
 
-<function name="gtk_application_get_app_menu">
-<description>
-Returns the menu model that has been set with
-gtk_application_set_app_menu().
-
-
-</description>
-<parameters>
-<parameter name="application">
-<parameter_description> a #GtkApplication
-</parameter_description>
-</parameter>
-</parameters>
-<return> the application menu of @application
-or %NULL if no application menu has been set.
-</return>
-</function>
-
 <function name="gtk_application_get_menu_by_id">
 <description>
 Gets a menu from automatically loaded resources.
@@ -18213,55 +18193,6 @@ uniqueness) will be disabled.
 </return>
 </function>
 
-<function name="gtk_application_prefers_app_menu">
-<description>
-Determines if the desktop environment in which the application is
-running would prefer an application menu be shown.
-
-If this function returns %TRUE then the application should call
-gtk_application_set_app_menu() with the contents of an application
-menu, which will be shown by the desktop environment.  If it returns
-%FALSE then you should consider using an alternate approach, such as
-a menubar.
-
-The value returned by this function is purely advisory and you are
-free to ignore it.  If you call gtk_application_set_app_menu() even
-if the desktop environment doesn't support app menus, then a fallback
-will be provided.
-
-Applications are similarly free not to set an app menu even if the
-desktop environment wants to show one.  In that case, a fallback will
-also be created by the desktop environment (GNOME, for example, uses
-a menu with only a &quot;Quit&quot; item in it).
-
-The value returned by this function never changes.  Once it returns a
-particular value, it is guaranteed to always return the same value.
-
-You may only call this function after the application has been
-registered and after the base startup handler has run.  You're most
-likely to want to use this from your own startup handler.  It may
-also make sense to consult this function while constructing UI (in
-activate, open or an action activation handler) in order to determine
-if you should show a gear menu or not.
-
-This function will return %FALSE on Mac OS and a default app menu
-will be created automatically with the &quot;usual&quot; contents of that menu
-typical to most Mac OS applications.  If you call
-gtk_application_set_app_menu() anyway, then this menu will be
-replaced with your own.
-
-
-</description>
-<parameters>
-<parameter name="application">
-<parameter_description> a #GtkApplication
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if you should set an app menu
-</return>
-</function>
-
 <function name="gtk_application_remove_window">
 <description>
 Remove a window from @application.
@@ -18319,40 +18250,6 @@ understood by gtk_accelerator_parse()
 <return></return>
 </function>
 
-<function name="gtk_application_set_app_menu">
-<description>
-Sets or unsets the application menu for @application.
-
-This can only be done in the primary instance of the application,
-after it has been registered.  #GApplication::startup is a good place
-to call this.
-
-The application menu is a single menu containing items that typically
-impact the application as a whole, rather than acting on a specific
-window or document.  For example, you would expect to see
-“Preferences” or “Quit” in an application menu, but not “Save” or
-“Print”.
-
-If supported, the application menu will be rendered by the desktop
-environment.
-
-Use the base #GActionMap interface to add actions, to respond to the user
-selecting these menu items.
-
-</description>
-<parameters>
-<parameter name="application">
-<parameter_description> a #GtkApplication
-</parameter_description>
-</parameter>
-<parameter name="app_menu">
-<parameter_description> a #GMenuModel, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gtk_application_set_menubar">
 <description>
 Sets or unsets the menubar for windows of @application.
@@ -46334,6 +46231,29 @@ Returns the surface of this #GtkNative.
 </return>
 </function>
 
+<function name="gtk_native_get_surface_transform">
+<description>
+Retrieves the surface transform of @self. This is the translation
+from @self's surface coordinates into @self's widget coordinates.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a @GtkNative
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> return location for the x coordinate
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> return location for the y coordinate
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_never_trigger_get">
 <description>
 Gets the never trigger. This is a singleton for a trigger
@@ -82511,9 +82431,8 @@ gtk_window_get_size (GTK_WINDOW (widget), &amp;new_width, &amp;new_height);
 ]|
 
 If you are getting a window size in order to position the window
-on the screen, you should, instead, simply set the window’s semantic
-type with gtk_window_set_type_hint(), which allows the window manager
-to e.g. center dialogs. Also, if you set the transient parent of
+on the screen, don't. You should, instead, simply let the window
+manager place windows. Also, if you set the transient parent of
 dialogs with gtk_window_set_transient_for() window managers will
 often center the dialog over its parent window. It's much preferred
 to let the window manager handle these cases rather than doing it
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 12f79e3a..bd8c31a2 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -3000,21 +3000,6 @@
   (return-type "GList*")
 )
 
-(define-method get_app_menu
-  (of-object "GtkApplication")
-  (c-name "gtk_application_get_app_menu")
-  (return-type "GMenuModel*")
-)
-
-(define-method set_app_menu
-  (of-object "GtkApplication")
-  (c-name "gtk_application_set_app_menu")
-  (return-type "none")
-  (parameters
-    '("GMenuModel*" "app_menu")
-  )
-)
-
 (define-method get_menubar
   (of-object "GtkApplication")
   (c-name "gtk_application_get_menubar")
@@ -3099,12 +3084,6 @@
   )
 )
 
-(define-method prefers_app_menu
-  (of-object "GtkApplication")
-  (c-name "gtk_application_prefers_app_menu")
-  (return-type "gboolean")
-)
-
 (define-method get_menu_by_id
   (of-object "GtkApplication")
   (c-name "gtk_application_get_menu_by_id")
@@ -9343,8 +9322,8 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "widget")
-    '("gint" "x")
-    '("gint" "y")
+    '("double" "x")
+    '("double" "y")
   )
 )
 
@@ -9363,8 +9342,8 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "widget")
-    '("gint" "x")
-    '("gint" "y")
+    '("double" "x")
+    '("double" "y")
   )
 )
 
@@ -9374,8 +9353,8 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "widget")
-    '("gint*" "x")
-    '("gint*" "y")
+    '("double*" "x")
+    '("double*" "y")
   )
 )
 
@@ -14557,6 +14536,16 @@
   (return-type "GskRenderer*")
 )
 
+(define-method get_surface_transform
+  (of-object "GtkNative")
+  (c-name "gtk_native_get_surface_transform")
+  (return-type "none")
+  (parameters
+    '("double*" "x")
+    '("double*" "y")
+  )
+)
+
 
 
 ;; From gtknoselection.h
@@ -15093,6 +15082,46 @@
 
 
 
+;; From gtkoverlaylayout.h
+
+(define-function gtk_overlay_layout_new
+  (c-name "gtk_overlay_layout_new")
+  (is-constructor-of "GtkOverlayLayout")
+  (return-type "GtkLayoutManager*")
+)
+
+(define-method set_measure
+  (of-object "GtkOverlayLayoutChild")
+  (c-name "gtk_overlay_layout_child_set_measure")
+  (return-type "none")
+  (parameters
+    '("gboolean" "measure")
+  )
+)
+
+(define-method get_measure
+  (of-object "GtkOverlayLayoutChild")
+  (c-name "gtk_overlay_layout_child_get_measure")
+  (return-type "gboolean")
+)
+
+(define-method set_clip_overlay
+  (of-object "GtkOverlayLayoutChild")
+  (c-name "gtk_overlay_layout_child_set_clip_overlay")
+  (return-type "none")
+  (parameters
+    '("gboolean" "clip_overlay")
+  )
+)
+
+(define-method get_clip_overlay
+  (of-object "GtkOverlayLayoutChild")
+  (c-name "gtk_overlay_layout_child_get_clip_overlay")
+  (return-type "gboolean")
+)
+
+
+
 ;; From gtkpadcontroller.h
 
 (define-function gtk_pad_controller_get_type
@@ -16556,8 +16585,8 @@
   (return-type "none")
   (parameters
     '("int" "num_choices")
-    '("char*[]" "choices")
-    '("char*[]" "choices_display")
+    '("const-char**" "choices")
+    '("const-char**" "choices_display")
   )
 )
 
@@ -19795,7 +19824,7 @@
 
 
 
-;; From gtksearchenginetracker.h
+;; From gtksearchenginetracker3.h
 
 
 
@@ -28275,10 +28304,10 @@
   (return-type "gboolean")
   (parameters
     '("GtkWidget*" "dest_widget")
-    '("gint" "src_x")
-    '("gint" "src_y")
-    '("gint*" "dest_x")
-    '("gint*" "dest_y")
+    '("double" "src_x")
+    '("double" "src_y")
+    '("double*" "dest_x")
+    '("double*" "dest_y")
   )
 )
 
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 0db554b1..eb2b295a 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -511,15 +511,6 @@
   (default-value "FALSE")
 )
 
-(define-property app-menu
-  (of-object "GtkApplication")
-  (prop-type "GParamObject")
-  (docs "The GMenuModel for the application menu")
-  (readable #t)
-  (writable #t)
-  (construct-only #f)
-)
-
 (define-property menubar
   (of-object "GtkApplication")
   (prop-type "GParamObject")
@@ -6144,7 +6135,7 @@
   (prop-type "GParamBoxed")
   (docs "Error the stream is in")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
 )
 
@@ -6153,7 +6144,7 @@
   (prop-type "GParamBoolean")
   (docs "Whether the stream contains audio")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
   (default-value "FALSE")
 )
@@ -6163,7 +6154,7 @@
   (prop-type "GParamBoolean")
   (docs "Whether the stream contains video")
   (readable #t)
-  (writable #t)
+  (writable #f)
   (construct-only #f)
   (default-value "FALSE")
 )
@@ -6250,12 +6241,12 @@
 
 (define-property volume
   (of-object "GtkMediaStream")
-  (prop-type "GParamBoolean")
+  (prop-type "GParamDouble")
   (docs "Volume of the audio stream.")
   (readable #t)
   (writable #t)
   (construct-only #f)
-  (default-value "TRUE")
+  (default-value "1")
 )
 
 ;; From GtkMenuButton
@@ -6777,6 +6768,8 @@
   (construct-only #f)
 )
 
+;; From GtkOverlayLayout
+
 ;; From GtkPadController
 
 (define-property action-group
diff --git a/gtk/src/gtk_vfuncs.defs b/gtk/src/gtk_vfuncs.defs
index b61e40ae..ab04e4c0 100644
--- a/gtk/src/gtk_vfuncs.defs
+++ b/gtk/src/gtk_vfuncs.defs
@@ -450,8 +450,8 @@
   (of-object "GtkNative")
   (return-type "none")
   (parameters
-    '("int*" "x")
-    '("int*" "y")
+    '("double*" "x")
+    '("double*" "y")
   )
 )
 
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index fd6efb1d..7d4f8b0e 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -156,6 +156,7 @@ int main(int /* argc */, char** /* argv */)
             << get_defs( GTK_TYPE_NOTEBOOK_PAGE )
             << get_defs( GTK_TYPE_ORIENTABLE )
             << get_defs( GTK_TYPE_OVERLAY )
+            << get_defs( GTK_TYPE_OVERLAY_LAYOUT )
             << get_defs( GTK_TYPE_PAD_CONTROLLER )
             << get_defs( GTK_TYPE_PANED )
             << get_defs( GTK_TYPE_PASSWORD_ENTRY )



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]