[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- Date: Mon, 1 Apr 2019 16:52:34 +0000 (UTC)
commit 4985e045057d8797615999799e57d6fa8bf7eb0d
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Mon Apr 1 18:45:33 2019 +0200
Gdk, Gtk: Regenerate docs.xml and .defs files
and update gtk_docs_override.xml, gtk_vfuncs.defs and generate_defs_gtk.cc.
gdk/src/gdk_docs.xml | 319 ++---------
gdk/src/gdk_methods.defs | 102 +---
gtk/src/gtk_docs.xml | 867 +++++++++++++++++++-----------
gtk/src/gtk_docs_override.xml | 1 +
gtk/src/gtk_enums.defs | 8 +-
gtk/src/gtk_methods.defs | 318 +++++++----
gtk/src/gtk_signals.defs | 251 +++++----
gtk/src/gtk_vfuncs.defs | 44 ++
tools/extra_defs_gen/generate_defs_gtk.cc | 11 +-
9 files changed, 1007 insertions(+), 914 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index dc1ec185..4e27522f 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -2806,43 +2806,47 @@ the user
<description>
Specifies the state of a toplevel surface.
+On platforms that support information about individual edges, the %GDK_SURFACE_STATE_TILED
+state will be set whenever any of the individual tiled states is set. On platforms
+that lack that support, the tiled state will give an indication of tiledness without
+any of the per-edge states being set.
+
</description>
<parameters>
<parameter name="GDK_SURFACE_STATE_WITHDRAWN">
-<parameter_description> the surface is not shown.
+<parameter_description> the surface is not shown
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_ICONIFIED">
-<parameter_description> the surface is minimized.
+<parameter_description> the surface is minimized
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_MAXIMIZED">
-<parameter_description> the surface is maximized.
+<parameter_description> the surface is maximized
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_STICKY">
-<parameter_description> the surface is sticky.
+<parameter_description> the surface is sticky
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_FULLSCREEN">
-<parameter_description> the surface is maximized without
-decorations.
+<parameter_description> the surface is maximized without decorations
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_ABOVE">
-<parameter_description> the surface is kept above other surfaces.
+<parameter_description> the surface is kept above other surfaces
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_BELOW">
-<parameter_description> the surface is kept below other surfaces.
+<parameter_description> the surface is kept below other surfaces
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_FOCUSED">
-<parameter_description> the surface is presented as focused (with active decorations).
+<parameter_description> the surface is presented as focused (with active decorations)
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_TILED">
-<parameter_description> the surface is in a tiled state. Deprecated
+<parameter_description> the surface is in a tiled state
</parameter_description>
</parameter>
<parameter name="GDK_SURFACE_STATE_TOP_TILED">
@@ -5778,31 +5782,6 @@ Determines the name of the device.
<function name="gdk_device_get_position">
<description>
-Gets the current location of @device. As a slave device
-coordinates are those of its master pointer, This function
-may not be called on devices of type %GDK_DEVICE_TYPE_SLAVE,
-unless there is an ongoing grab on them, see gdk_device_grab().
-
-</description>
-<parameters>
-<parameter name="device">
-<parameter_description> pointer device to query status about.
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> location to store root window X coordinate of @device, or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> location to store root window Y coordinate of @device, or %NULL.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_device_get_position_double">
-<description>
Gets the current location of @device in double precision. As a slave device's
coordinates are those of its master pointer, this function
may not be called on devices of type %GDK_DEVICE_TYPE_SLAVE,
@@ -5909,38 +5888,6 @@ the axes of @device in, or %NULL.
<function name="gdk_device_get_surface_at_position">
<description>
-Obtains the surface underneath @device, returning the location of the device in @win_x and @win_y. Returns
-%NULL if the surface tree under @device is not known to GDK (for example, belongs to another application).
-
-As a slave device coordinates are those of its master pointer, This
-function may not be called on devices of type %GDK_DEVICE_TYPE_SLAVE,
-unless there is an ongoing grab on them, see gdk_device_grab().
-
-
-</description>
-<parameters>
-<parameter name="device">
-<parameter_description> pointer #GdkDevice to query info to.
-</parameter_description>
-</parameter>
-<parameter name="win_x">
-<parameter_description> return location for the X coordinate of the device location,
-relative to the surface origin, or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="win_y">
-<parameter_description> return location for the Y coordinate of the device location,
-relative to the surface origin, or %NULL.
-</parameter_description>
-</parameter>
-</parameters>
-<return> the #GdkSurface under the
-device position, or %NULL.
-</return>
-</function>
-
-<function name="gdk_device_get_surface_at_position_double">
-<description>
Obtains the surface underneath @device, returning the location of the device in @win_x and @win_y in
double precision. Returns %NULL if the surface tree under @device is not known to GDK (for example,
belongs to another application).
@@ -6013,82 +5960,6 @@ return settings;
</return>
</function>
-<function name="gdk_device_grab">
-<description>
-Grabs the device so that all events coming from this device are passed to
-this application until the device is ungrabbed with gdk_device_ungrab(),
-or the surface becomes unviewable. This overrides any previous grab on the device
-by this client.
-
-Note that @device and @surface need to be on the same display.
-
-Device grabs are used for operations which need complete control over the
-given device events (either pointer or keyboard). For example in GTK+ this
-is used for Drag and Drop operations, popup menus and such.
-
-Note that if the event mask of an X window has selected both button press
-and button release events, then a button press event will cause an automatic
-pointer grab until the button is released. X does this automatically since
-most applications expect to receive button press and release events in pairs.
-It is equivalent to a pointer grab on the surface with @owner_events set to
-%TRUE.
-
-If you set up anything at the time you take the grab that needs to be
-cleaned up when the grab ends, you should handle the #GdkEventGrabBroken
-events that are emitted when the grab ends unvoluntarily.
-
-Deprecated: Use gdk_seat_grab() instead.
-
-</description>
-<parameters>
-<parameter name="device">
-<parameter_description> a #GdkDevice. To get the device you can use gtk_get_current_event_device()
-or gdk_event_get_device() if the grab is in reaction to an event. Also, you can use
-gdk_seat_get_pointer() but only in code that isn’t triggered by a
-#GdkEvent and there aren’t other means to get a meaningful #GdkDevice to operate on.
-</parameter_description>
-</parameter>
-<parameter name="surface">
-<parameter_description> the #GdkSurface which will own the grab (the grab surface)
-</parameter_description>
-</parameter>
-<parameter name="grab_ownership">
-<parameter_description> specifies the grab ownership.
-</parameter_description>
-</parameter>
-<parameter name="owner_events">
-<parameter_description> if %FALSE then all device events are reported with respect to
-@surface and are only reported if selected by @event_mask. If
-%TRUE then pointer events for this application are reported
-as normal, but pointer events outside this application are
-reported with respect to @surface and only if selected by
-@event_mask. In either mode, unreported events are discarded.
-</parameter_description>
-</parameter>
-<parameter name="event_mask">
-<parameter_description> specifies the event mask, which is used in accordance with
-@owner_events.
-</parameter_description>
-</parameter>
-<parameter name="cursor">
-<parameter_description> the cursor to display while the grab is active if the device is
-a pointer. If this is %NULL then the normal cursors are used for
-@surface and its descendants, and the cursor for @surface is used
-elsewhere.
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> the timestamp of the event which led to this pointer grab. This
-usually comes from the #GdkEvent struct, though %GDK_CURRENT_TIME
-can be used if the time isn’t known.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %GDK_GRAB_SUCCESS if the grab was successful.
-
-</return>
-</function>
-
<function name="gdk_device_list_axes">
<description>
Returns a #GList of #GdkAtoms, containing the labels for
@@ -6345,58 +6216,6 @@ sort of pen is being used, such as an airbrush or a pencil.
</return>
</function>
-<function name="gdk_device_ungrab">
-<description>
-Release any grab on @device.
-
-Deprecated: 3.20. Use gdk_seat_ungrab() instead.
-
-</description>
-<parameters>
-<parameter name="device">
-<parameter_description> a #GdkDevice
-</parameter_description>
-</parameter>
-<parameter name="time_">
-<parameter_description> a timestap (e.g. %GDK_CURRENT_TIME).
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gdk_device_warp">
-<description>
-Warps @device in @display to the point @x,@y,
-unless the device is confined to a surface by a grab,
-in which case it will be moved
-as far as allowed by the grab. Warping the pointer
-creates events as if the user had moved the mouse
-instantaneously to the destination.
-
-Note that the pointer should normally be under the
-control of the user. This function was added to cover
-some rare use cases like keyboard navigation support
-for the color picker in the #GtkColorSelectionDialog.
-
-</description>
-<parameters>
-<parameter name="device">
-<parameter_description> the device to warp.
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> the X coordinate of the destination.
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> the Y coordinate of the destination.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_display_beep">
<description>
Emits a short beep on @display
@@ -15330,12 +15149,12 @@ to begin a drag with a different device.
<parameter_description> the button being used to drag, or 0 for a keyboard-initiated drag
</parameter_description>
</parameter>
-<parameter name="root_x">
-<parameter_description> root window X coordinate of mouse click that began the drag
+<parameter name="x">
+<parameter_description> surface X coordinate of mouse click that began the drag
</parameter_description>
</parameter>
-<parameter name="root_y">
-<parameter_description> root window Y coordinate of mouse click that began the drag
+<parameter name="y">
+<parameter_description> surface Y coordinate of mouse click that began the drag
</parameter_description>
</parameter>
<parameter name="timestamp">
@@ -15349,10 +15168,6 @@ to begin a drag with a different device.
<function name="gdk_surface_begin_move_drag_for_device">
<description>
Begins a surface move operation (for a toplevel surface).
-You might use this function to implement a “window move grip,” for
-example. The function works best with window managers that support the
-[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec)
-but has a fallback implementation for other window managers.
</description>
<parameters>
@@ -15368,12 +15183,12 @@ but has a fallback implementation for other window managers.
<parameter_description> the button being used to drag, or 0 for a keyboard-initiated drag
</parameter_description>
</parameter>
-<parameter name="root_x">
-<parameter_description> root window X coordinate of mouse click that began the drag
+<parameter name="x">
+<parameter_description> surface X coordinate of mouse click that began the drag
</parameter_description>
</parameter>
-<parameter name="root_y">
-<parameter_description> root window Y coordinate of mouse click that began the drag
+<parameter name="y">
+<parameter_description> surface Y coordinate of mouse click that began the drag
</parameter_description>
</parameter>
<parameter name="timestamp">
@@ -15406,12 +15221,12 @@ to begin a drag with a different device.
<parameter_description> the button being used to drag, or 0 for a keyboard-initiated drag
</parameter_description>
</parameter>
-<parameter name="root_x">
-<parameter_description> root window X coordinate of mouse click that began the drag
+<parameter name="x">
+<parameter_description> surface X coordinate of mouse click that began the drag
</parameter_description>
</parameter>
-<parameter name="root_y">
-<parameter_description> root window Y coordinate of mouse click that began the drag
+<parameter name="y">
+<parameter_description> surface Y coordinate of mouse click that began the drag
</parameter_description>
</parameter>
<parameter name="timestamp">
@@ -15425,11 +15240,7 @@ to begin a drag with a different device.
<function name="gdk_surface_begin_resize_drag_for_device">
<description>
Begins a surface resize operation (for a toplevel surface).
-You might use this function to implement a “window resize grip,” for
-example; in fact #GtkStatusbar uses it. The function works best
-with window managers that support the
-[Extended Window Manager Hints](http://www.freedesktop.org/Standards/wm-spec)
-but has a fallback implementation for other window managers.
+You might use this function to implement a “window resize grip,”
</description>
<parameters>
@@ -15449,12 +15260,12 @@ but has a fallback implementation for other window managers.
<parameter_description> the button being used to drag, or 0 for a keyboard-initiated drag
</parameter_description>
</parameter>
-<parameter name="root_x">
-<parameter_description> root window X coordinate of mouse click that began the drag
+<parameter name="x">
+<parameter_description> surface X coordinate of mouse click that began the drag
</parameter_description>
</parameter>
-<parameter name="root_y">
-<parameter_description> root window Y coordinate of mouse click that began the drag
+<parameter name="y">
+<parameter_description> surface Y coordinate of mouse click that began the drag
</parameter_description>
</parameter>
<parameter name="timestamp">
@@ -15916,44 +15727,6 @@ cursor of the surface
<function name="gdk_surface_get_device_position">
<description>
-Obtains the current device position and modifier state.
-The position is given in coordinates relative to the upper left
-corner of @surface.
-
-Use gdk_surface_get_device_position_double() if you need subpixel precision.
-
-
-</description>
-<parameters>
-<parameter name="surface">
-<parameter_description> a #GdkSurface.
-</parameter_description>
-</parameter>
-<parameter name="device">
-<parameter_description> pointer #GdkDevice to query to.
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> return location for the X coordinate of @device, or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> return location for the Y coordinate of @device, or %NULL.
-</parameter_description>
-</parameter>
-<parameter name="mask">
-<parameter_description> return location for the modifier mask, or %NULL.
-</parameter_description>
-</parameter>
-</parameters>
-<return> The surface underneath @device
-(as with gdk_device_get_surface_at_position()), or %NULL if the
-surface is not known to GDK.
-</return>
-</function>
-
-<function name="gdk_surface_get_device_position_double">
-<description>
Obtains the current device position in doubles and modifier state.
The position is given in coordinates relative to the upper left
corner of @surface.
@@ -17586,36 +17359,6 @@ enter/leave events on its way to the destination surface.
<return></return>
</function>
-<function name="gdk_surface_set_role">
-<description>
-When using GTK, typically you should use gtk_window_set_role() instead
-of this low-level function.
-
-The window manager and session manager use a surface’s role to
-distinguish it from other kinds of surface in the same application.
-When an application is restarted after being saved in a previous
-session, all surfaces with the same title and role are treated as
-interchangeable. So if you have two surfaces with the same title
-that should be distinguished for session management purposes, you
-should set the role on those surfaces. It doesn’t matter what string
-you use for the role, as long as you have a different role for each
-non-interchangeable kind of surface.
-
-
-</description>
-<parameters>
-<parameter name="surface">
-<parameter_description> a toplevel #GdkSurface
-</parameter_description>
-</parameter>
-<parameter name="role">
-<parameter_description> a string indicating its role
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_surface_set_shadow_width">
<description>
Newer GTK windows using client-side decorations use extra geometry
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 7e139399..b1bce01c 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -1675,8 +1675,8 @@
(c-name "gdk_device_get_position")
(return-type "none")
(parameters
- '("gint*" "x")
- '("gint*" "y")
+ '("double*" "x")
+ '("double*" "y")
)
)
@@ -1685,28 +1685,8 @@
(c-name "gdk_device_get_surface_at_position")
(return-type "GdkSurface*")
(parameters
- '("gint*" "win_x")
- '("gint*" "win_y")
- )
-)
-
-(define-method get_position_double
- (of-object "GdkDevice")
- (c-name "gdk_device_get_position_double")
- (return-type "none")
- (parameters
- '("gdouble*" "x")
- '("gdouble*" "y")
- )
-)
-
-(define-method get_surface_at_position_double
- (of-object "GdkDevice")
- (c-name "gdk_device_get_surface_at_position_double")
- (return-type "GdkSurface*")
- (parameters
- '("gdouble*" "win_x")
- '("gdouble*" "win_y")
+ '("double*" "win_x")
+ '("double*" "win_y")
)
)
@@ -1790,39 +1770,6 @@
(return-type "GdkDeviceType")
)
-(define-method grab
- (of-object "GdkDevice")
- (c-name "gdk_device_grab")
- (return-type "GdkGrabStatus")
- (parameters
- '("GdkSurface*" "surface")
- '("GdkGrabOwnership" "grab_ownership")
- '("gboolean" "owner_events")
- '("GdkEventMask" "event_mask")
- '("GdkCursor*" "cursor")
- '("guint32" "time_")
- )
-)
-
-(define-method ungrab
- (of-object "GdkDevice")
- (c-name "gdk_device_ungrab")
- (return-type "none")
- (parameters
- '("guint32" "time_")
- )
-)
-
-(define-method warp
- (of-object "GdkDevice")
- (c-name "gdk_device_warp")
- (return-type "none")
- (parameters
- '("gint" "x")
- '("gint" "y")
- )
-)
-
(define-method get_last_event_surface
(of-object "GdkDevice")
(c-name "gdk_device_get_last_event_surface")
@@ -4210,15 +4157,6 @@
)
)
-(define-method set_role
- (of-object "GdkSurface")
- (c-name "gdk_surface_set_role")
- (return-type "none")
- (parameters
- '("const-gchar*" "role")
- )
-)
-
(define-method set_startup_id
(of-object "GdkSurface")
(c-name "gdk_surface_set_startup_id")
@@ -4382,20 +4320,8 @@
(return-type "GdkSurface*")
(parameters
'("GdkDevice*" "device")
- '("gint*" "x")
- '("gint*" "y")
- '("GdkModifierType*" "mask")
- )
-)
-
-(define-method get_device_position_double
- (of-object "GdkSurface")
- (c-name "gdk_surface_get_device_position_double")
- (return-type "GdkSurface*")
- (parameters
- '("GdkDevice*" "device")
- '("gdouble*" "x")
- '("gdouble*" "y")
+ '("double*" "x")
+ '("double*" "y")
'("GdkModifierType*" "mask")
)
)
@@ -4613,8 +4539,8 @@
(parameters
'("GdkSurfaceEdge" "edge")
'("gint" "button")
- '("gint" "root_x")
- '("gint" "root_y")
+ '("gint" "x")
+ '("gint" "y")
'("guint32" "timestamp")
)
)
@@ -4627,8 +4553,8 @@
'("GdkSurfaceEdge" "edge")
'("GdkDevice*" "device")
'("gint" "button")
- '("gint" "root_x")
- '("gint" "root_y")
+ '("gint" "x")
+ '("gint" "y")
'("guint32" "timestamp")
)
)
@@ -4639,8 +4565,8 @@
(return-type "none")
(parameters
'("gint" "button")
- '("gint" "root_x")
- '("gint" "root_y")
+ '("gint" "x")
+ '("gint" "y")
'("guint32" "timestamp")
)
)
@@ -4652,8 +4578,8 @@
(parameters
'("GdkDevice*" "device")
'("gint" "button")
- '("gint" "root_x")
- '("gint" "root_y")
+ '("gint" "x")
+ '("gint" "y")
'("guint32" "timestamp")
)
)
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index f132b96f..7046ca10 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -1014,6 +1014,35 @@ Describes how the border of a UI element should be rendered.
</parameters>
</enum>
+<property name="GtkBoxLayout:baseline-position">
+<description>
+The position of the allocated baseline within the extra space
+allocated to each child of the widget using a box layout
+manager.
+
+This property is only relevant for horizontal layouts containing
+at least one child with a baseline alignment.
+
+</description>
+</property>
+
+<property name="GtkBoxLayout:homogeneous">
+<description>
+Whether the box layout should distribute the available space
+homogeneously among the children of the widget using it as a
+layout manager.
+
+</description>
+</property>
+
+<property name="GtkBoxLayout:spacing">
+<description>
+The space between each child of the widget using the box
+layout as its layout manager.
+
+</description>
+</property>
+
<property name="GtkBuilder:translation-domain">
<description>
The translation domain used when translating property values that
@@ -6913,6 +6942,20 @@ space available for the label.
</description>
</property>
+<property name="GtkLayoutChild:child-widget">
+<description>
+The widget that is associated to the #GtkLayoutChild instance.
+
+</description>
+</property>
+
+<property name="GtkLayoutChild:layout-manager">
+<description>
+The layout manager that created the #GtkLayoutChild instance.
+
+</description>
+</property>
+
<signal name="GtkLevelBar::offset-changed">
<description>
Emitted when an offset specified on the bar changes value as an
@@ -8378,22 +8421,6 @@ location for the allocation
</return>
</signal>
-<property name="GtkOverlay:clip-overlay">
-<description>
-Clip the overlay child widget so as to fit the parent
-
-</description>
-</property>
-
-<property name="GtkOverlay:measure">
-<description>
-Include this child in determining the child request.
-
-The main child will always be measured.
-
-</description>
-</property>
-
<enum name="GtkPackDirection">
<description>
Determines how widgets should be packed inside menubars
@@ -8671,17 +8698,33 @@ of the widget's children.
</description>
</property>
-<property name="GtkPaned:resize">
+<property name="GtkPaned:resize-child1">
<description>
-The "resize" child property determines whether the child expands and
+The "resize-child1" property determines whether the first child expands and
shrinks along with the paned widget.
</description>
</property>
-<property name="GtkPaned:shrink">
+<property name="GtkPaned:resize-child2">
<description>
-The "shrink" child property determines whether the child can be made
+The "resize-child2" property determines whether the second child expands and
+shrinks along with the paned widget.
+
+</description>
+</property>
+
+<property name="GtkPaned:shrink-child1">
+<description>
+The "shrink-child1" property determines whether the first child can be made
+smaller than its requisition.
+
+</description>
+</property>
+
+<property name="GtkPaned:shrink-child2">
+<description>
+The "shrink-child2" property determines whether the second child can be made
smaller than its requisition.
</description>
@@ -8830,15 +8873,6 @@ of the window that it is attached to
</parameters>
</enum>
-<property name="GtkPopoverMenu:submenu">
-<description>
-The submenu child property specifies the name of the submenu
-If it is %NULL or "main", the child is used as the main menu,
-which is shown initially when the popover is mapped.
-
-</description>
-</property>
-
<enum name="GtkPositionType">
<description>
Describes which edge of a widget a certain feature is positioned at, e.g. the
@@ -11918,6 +11952,18 @@ New values may be added to this enumeration over time.
<parameter_description> Cover the old page sliding right or uncover the new page sliding left, according to
order
</parameter_description>
</parameter>
+<parameter name="GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT">
+<parameter_description> Pretend the pages are sides of a cube and rotate that cube to the left
+</parameter_description>
+</parameter>
+<parameter name="GTK_STACK_TRANSITION_TYPE_ROTATE_RIGHT">
+<parameter_description> Pretend the pages are sides of a cube and rotate that cube to the right
+</parameter_description>
+</parameter>
+<parameter name="GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT_RIGHT">
+<parameter_description> Pretend the pages are sides of a cube and rotate that cube to the left or right
according to the children order
+</parameter_description>
+</parameter>
</parameters>
</enum>
@@ -15544,6 +15590,14 @@ Whether to use the #GtkWidget:hexpand property. See gtk_widget_get_hexpand_set()
</description>
</property>
+<property name="GtkWidget:layout-manager">
+<description>
+The #GtkLayoutManager instance to use to compute the preferred size
+of the widget, and allocate its children.
+
+</description>
+</property>
+
<property name="GtkWidget:margin">
<description>
Sets all four sides' margin at once. If read, returns max
@@ -15859,14 +15913,6 @@ and should not be set by applications.
</description>
</property>
-<property name="GtkWindow:gravity">
-<description>
-The window gravity of the window. See gtk_window_move() and #GdkGravity for
-more details about window gravity.
-
-</description>
-</property>
-
<property name="GtkWindow:icon-name">
<description>
The :icon-name property specifies the name of the themed icon to
@@ -20361,6 +20407,18 @@ not have a child.
</return>
</function>
+<function name="gtk_bin_layout_new">
+<description>
+Creates a new #GtkBinLayout instance.
+
+
+</description>
+<parameters>
+</parameters>
+<return> the newly created #GtkBinLayout
+</return>
+</function>
+
<function name="gtk_binding_entry_add_signal">
<description>
Override or install a new key binding for @keyval with @modifiers on
@@ -20781,6 +20839,46 @@ the first position.
<return></return>
</function>
+<function name="gtk_box_layout_get_baseline_position">
+<description>
+Gets the value set by gtk_box_layout_set_baseline_position().
+
+
+</description>
+<parameters>
+<parameter name="box_layout">
+<parameter_description> a #GtkBoxLayout
+</parameter_description>
+</parameter>
+</parameters>
+<return> the baseline position
+</return>
+</function>
+
+<function name="gtk_box_layout_set_baseline_position">
+<description>
+Sets the baseline position of a box layout.
+
+The baseline position affects only horizontal boxes with at least one
+baseline aligned child. If there is more vertical space available than
+requested, and the baseline is not allocated by the parent then the
+given @position is used to allocate the baseline within the extra
+space available.
+
+</description>
+<parameters>
+<parameter name="box_layout">
+<parameter_description> a #GtkBoxLayout
+</parameter_description>
+</parameter>
+<parameter name="position">
+<parameter_description> a #GtkBaselinePosition
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_box_new">
<description>
Creates a new #GtkBox.
@@ -28088,6 +28186,37 @@ Use gtk_css_value_get_dynamic_value() to get the value for a given timestamp.
</return>
</function>
+<function name="gtk_custom_layout_new">
+<description>
+Creates a new legacy layout manager.
+
+Legacy layout managers map to the old #GtkWidget size negotiation
+virtual functions, and are meant to be used during the transition
+from layout containers to layout manager delegates.
+
+
+</description>
+<parameters>
+<parameter name="request_mode">
+<parameter_description> a function to retrieve
+the #GtkSizeRequestMode of the widget using the layout; the
+default request mode is %GTK_SIZE_REQUEST_CONSTANT_SIZE
+</parameter_description>
+</parameter>
+<parameter name="measure">
+<parameter_description> a function to measure the widget using the layout manager
+</parameter_description>
+</parameter>
+<parameter name="allocate">
+<parameter_description> a function to allocate the children of the widget using
+the layout manager
+</parameter_description>
+</parameter>
+</parameters>
+<return> the newly created #GtkCustomLayout
+</return>
+</function>
+
<function name="gtk_custom_paper_unix_dialog_new">
<description>
Creates a new custom paper dialog.
@@ -34727,6 +34856,67 @@ that item types match.
<return></return>
</function>
+<function name="gtk_fixed_get_child_position">
+<description>
+Retrieves the position of the given child #GtkWidget in the given
+#GtkFixed container.
+
+</description>
+<parameters>
+<parameter name="fixed">
+<parameter_description> a #GtkFixed
+</parameter_description>
+</parameter>
+<parameter name="widget">
+<parameter_description> a child of @fixed
+</parameter_description>
+</parameter>
+<parameter name="x">
+<parameter_description> the horizontal position of the @widget
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> the vertical position of the @widget
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_fixed_layout_child_get_position">
+<description>
+Retrieves the transformation of the child of a #GtkFixedLayout.
+
+
+</description>
+<parameters>
+<parameter name="child">
+<parameter_description> a #GtkFixedLayoutChild
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GskTransform
+</return>
+</function>
+
+<function name="gtk_fixed_layout_child_set_position">
+<description>
+Sets the transformation of the child of a #GtkFixedLayout.
+
+</description>
+<parameters>
+<parameter name="child">
+<parameter_description> a #GtkFixedLayoutChild
+</parameter_description>
+</parameter>
+<parameter name="position">
+<parameter_description> a #GskTransform
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_fixed_move">
<description>
Moves a child of a #GtkFixed container to the given position.
@@ -43503,6 +43693,39 @@ Sets the #GtkLabel:yalign property for @label.
<return></return>
</function>
+<function name="gtk_layout_child_get_child_widget">
+<description>
+Retrieves the #GtkWidget associated to the given @layout_child.
+
+
+</description>
+<parameters>
+<parameter name="layout_child">
+<parameter_description> a #GtkLayoutChild
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GtkWidget
+</return>
+</function>
+
+<function name="gtk_layout_child_get_layout_manager">
+<description>
+Retrieves the #GtkLayoutManager instance that created the
+given @layout_child.
+
+
+</description>
+<parameters>
+<parameter name="layout_child">
+<parameter_description> a #GtkLayoutChild
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GtkLayoutManager
+</return>
+</function>
+
<function name="gtk_layout_get_size">
<description>
Gets the size that has been set on the layout, and that determines
@@ -43529,6 +43752,169 @@ gtk_layout_set_size ().
<return></return>
</function>
+<function name="gtk_layout_manager_allocate">
+<description>
+This function assigns the given @width, @height, and @baseline to
+a @widget, and computes the position and sizes of the children of
+the @widget using the layout management policy of @manager.
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> a #GtkLayoutManager
+</parameter_description>
+</parameter>
+<parameter name="widget">
+<parameter_description> the #GtkWidget using @manager
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> the new width of the @widget
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> the new height of the @widget
+</parameter_description>
+</parameter>
+<parameter name="baseline">
+<parameter_description> the baseline position of the @widget, or -1
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_layout_manager_get_layout_child">
+<description>
+Retrieves a #GtkLayoutChild instance for the #GtkLayoutManager, creating
+one if necessary.
+
+The @child widget must be a child of the widget using @manager.
+
+The #GtkLayoutChild instance is owned by the #GtkLayoutManager, and is
+guaranteed to exist as long as @child is a child of the #GtkWidget using
+the given #GtkLayoutManager.
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> a #GtkLayoutManager
+</parameter_description>
+</parameter>
+<parameter name="child">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GtkLayoutChild
+</return>
+</function>
+
+<function name="gtk_layout_manager_get_request_mode">
+<description>
+Retrieves the request mode of @manager.
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> a #GtkLayoutManager
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GtkSizeRequestMode
+</return>
+</function>
+
+<function name="gtk_layout_manager_get_widget">
+<description>
+Retrieves the #GtkWidget using the given #GtkLayoutManager.
+
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> a #GtkLayoutManager
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GtkWidget
+</return>
+</function>
+
+<function name="gtk_layout_manager_layout_changed">
+<description>
+Queues a resize on the #GtkWidget using @manager, if any.
+
+This function should be called by subclasses of #GtkLayoutManager in
+response to changes to their layout management policies.
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> a #GtkLayoutManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_layout_manager_measure">
+<description>
+Measures the size of the @widget using @manager, for the
+given @orientation and size.
+
+See [GtkWidget's geometry management section][geometry-management] for
+more details.
+
+</description>
+<parameters>
+<parameter name="manager">
+<parameter_description> a #GtkLayoutManager
+</parameter_description>
+</parameter>
+<parameter name="widget">
+<parameter_description> the #GtkWidget using @manager
+</parameter_description>
+</parameter>
+<parameter name="orientation">
+<parameter_description> the orientation to measure
+</parameter_description>
+</parameter>
+<parameter name="for_size">
+<parameter_description> Size for the opposite of @orientation; for instance, if
+the @orientation is %GTK_ORIENTATION_HORIZONTAL, this is the height
+of the widget; if the @orientation is %GTK_ORIENTATION_VERTICAL, this
+is the width of the widget. This allows to measure the height for the
+given width, and the width for the given height. Use -1 if the size
+is not known
+</parameter_description>
+</parameter>
+<parameter name="minimum">
+<parameter_description> the minimum size for the given size and
+orientation
+</parameter_description>
+</parameter>
+<parameter name="natural">
+<parameter_description> the natural, or preferred size for the
+given size and orientation
+</parameter_description>
+</parameter>
+<parameter name="minimum_baseline">
+<parameter_description> the baseline position for the
+minimum size
+</parameter_description>
+</parameter>
+<parameter name="natural_baseline">
+<parameter_description> the baseline position for the
+natural size
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_layout_move">
<description>
Moves a current child of @layout to a new position.
@@ -46048,7 +46434,6 @@ Gets the duration of the stream. If the duration is not known,
<description>
Returns whether the streams playback is finished.
-Return: %TRUE if playback is finished
</description>
<parameters>
@@ -46057,7 +46442,8 @@ Return: %TRUE if playback is finished
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> %TRUE if playback is finished
+</return>
</function>
<function name="gtk_media_stream_get_error">
@@ -46140,7 +46526,6 @@ Return whether the stream is currently playing.
<description>
Returns the current presentation timestamp in microseconds.
-Return: the timestamp in microseconds
</description>
<parameters>
@@ -46149,7 +46534,8 @@ Return: the timestamp in microseconds
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> the timestamp in microseconds
+</return>
</function>
<function name="gtk_media_stream_get_volume">
@@ -49989,6 +50375,74 @@ Gets whether @widget's size is included in the measurement of
</return>
</function>
+<function name="gtk_overlay_layout_child_get_clip_overlay">
+<description>
+Retrieves whether the child is clipped.
+
+
+</description>
+<parameters>
+<parameter name="child">
+<parameter_description> a #GtkOverlayLayoutChild
+</parameter_description>
+</parameter>
+</parameters>
+<return> whether the child is clipped
+</return>
+</function>
+
+<function name="gtk_overlay_layout_child_get_measure">
+<description>
+Retrieves whether the child is measured.
+
+
+</description>
+<parameters>
+<parameter name="child">
+<parameter_description> a #GtkOverlayLayoutChild
+</parameter_description>
+</parameter>
+</parameters>
+<return> whether the child is measured
+</return>
+</function>
+
+<function name="gtk_overlay_layout_child_set_clip_overlay">
+<description>
+Sets whether to clip this child.
+
+</description>
+<parameters>
+<parameter name="child">
+<parameter_description> a #GtkOverlayLayoutChild
+</parameter_description>
+</parameter>
+<parameter name="clip_overlay">
+<parameter_description> whether to clip this child
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_overlay_layout_child_set_measure">
+<description>
+Sets whether to measure this child.
+
+</description>
+<parameters>
+<parameter name="child">
+<parameter_description> a #GtkOverlayLayoutChild
+</parameter_description>
+</parameter>
+<parameter name="measure">
+<parameter_description> whether to measure this child
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_overlay_new">
<description>
Creates a new #GtkOverlay.
@@ -52094,6 +52548,28 @@ Returns the widget @popover is currently attached to
</return>
</function>
+<function name="gtk_popover_menu_add_submenu">
+<description>
+Adds a submenu to the popover menu.
+
+</description>
+<parameters>
+<parameter name="popover">
+<parameter_description> a #GtkPopoverMenu
+</parameter_description>
+</parameter>
+<parameter name="submenu">
+<parameter_description> a widget to add as submenu
+</parameter_description>
+</parameter>
+<parameter name="name">
+<parameter_description> the name for the submenu
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_popover_menu_new">
<description>
Creates a new popover menu.
@@ -64873,35 +65349,6 @@ integers, are returned by value and do not need to be freed.
<return></return>
</function>
-<function name="gtk_style_context_get_background_color">
-<description>
-Gets the background color for a given state.
-
-This function is far less useful than it seems, and it should not be used in
-newly written code. CSS has no concept of "background color", as a background
-can be an image, or a gradient, or any other pattern including solid colors.
-
-The only reason why you would call gtk_style_context_get_background_color() is
-to use the returned value to draw the background with it; the correct way to
-achieve this result is to use gtk_render_background() instead, along with CSS
-style classes to modify the color to be rendered.
-
-Deprecated: 3.16: Use gtk_render_background() instead.
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> a #GtkStyleContext
-</parameter_description>
-</parameter>
-<parameter name="color">
-<parameter_description> return value for the background color
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_style_context_get_border">
<description>
Gets the border for a given state as a #GtkBorder.
@@ -64923,26 +65370,6 @@ See gtk_style_context_get_property() and
<return></return>
</function>
-<function name="gtk_style_context_get_border_color">
-<description>
-Gets the border color for a given state.
-
-Deprecated: 3.16: Use gtk_render_frame() instead.
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> a #GtkStyleContext
-</parameter_description>
-</parameter>
-<parameter name="color">
-<parameter_description> return value for the border color
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_style_context_get_change">
<description>
Queries the context for the changes for the currently executing
@@ -82745,6 +83172,22 @@ for completeness and consistency.
</return>
</function>
+<function name="gtk_widget_get_layout_manager">
+<description>
+Retrieves the layout manager set using gtk_widget_set_layout_manager().
+
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GtkLayoutManager
+</return>
+</function>
+
<function name="gtk_widget_get_mapped">
<description>
Whether the widget is mapped.
@@ -85690,6 +86133,25 @@ for completeness and consistency.
<return></return>
</function>
+<function name="gtk_widget_set_layout_manager">
+<description>
+Sets the layout manager delegate instance that provides an implementation
+for measuring and allocating the children of @widget.
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+<parameter name="layout_manager">
+<parameter_description> a #GtkLayoutManager
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_widget_set_margin_bottom">
<description>
Sets the bottom margin of @widget.
@@ -86565,11 +87027,7 @@ Adds a mnemonic to this window.
<function name="gtk_window_begin_move_drag">
<description>
Starts moving a window. This function is used if an application has
-window movement grips. When GDK can support it, the window movement
-will be done using the standard mechanism for the
-[window manager][gtk-X11-arch] or windowing
-system. Otherwise, GDK will try to emulate window movement,
-potentially not all that well, depending on the windowing system.
+window movement grips.
</description>
<parameters>
@@ -86581,11 +87039,11 @@ potentially not all that well, depending on the windowing system.
<parameter_description> mouse button that initiated the drag
</parameter_description>
</parameter>
-<parameter name="root_x">
-<parameter_description> X position where the user clicked to initiate the drag, in root window coordinates
+<parameter name="x">
+<parameter_description> X position where the user clicked to initiate the drag, in window coordinates
</parameter_description>
</parameter>
-<parameter name="root_y">
+<parameter name="y">
<parameter_description> Y position where the user clicked to initiate the drag
</parameter_description>
</parameter>
@@ -86600,11 +87058,7 @@ potentially not all that well, depending on the windowing system.
<function name="gtk_window_begin_resize_drag">
<description>
Starts resizing a window. This function is used if an application
-has window resizing controls. When GDK can support it, the resize
-will be done using the standard mechanism for the
-[window manager][gtk-X11-arch] or windowing
-system. Otherwise, GDK will try to emulate window resizing,
-potentially not all that well, depending on the windowing system.
+has window resizing controls.
</description>
<parameters>
@@ -86620,11 +87074,11 @@ potentially not all that well, depending on the windowing system.
<parameter_description> position of the resize control
</parameter_description>
</parameter>
-<parameter name="root_x">
-<parameter_description> X position where the user clicked to initiate the drag, in root window coordinates
+<parameter name="x">
+<parameter_description> X position where the user clicked to initiate the drag, in window coordinates
</parameter_description>
</parameter>
-<parameter name="root_y">
+<parameter name="y">
<parameter_description> Y position where the user clicked to initiate the drag
</parameter_description>
</parameter>
@@ -86933,22 +87387,6 @@ in this window.
</return>
</function>
-<function name="gtk_window_get_gravity">
-<description>
-Gets the value set by gtk_window_set_gravity().
-
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GtkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> window gravity
-</return>
-</function>
-
<function name="gtk_window_get_group">
<description>
Returns the group for @window or the default group, if
@@ -87053,65 +87491,6 @@ establishes a grab when shown
</return>
</function>
-<function name="gtk_window_get_position">
-<description>
-This function returns the position you need to pass to
-gtk_window_move() to keep @window in its current position.
-This means that the meaning of the returned value varies with
-window gravity. See gtk_window_move() for more details.
-
-The reliability of this function depends on the windowing system
-currently in use. Some windowing systems, such as Wayland, do not
-support a global coordinate system, and thus the position of the
-window will always be (0, 0). Others, like X11, do not have a reliable
-way to obtain the geometry of the decorations of a window if they are
-provided by the window manager. Additionally, on X11, window manager
-have been known to mismanage window gravity, which result in windows
-moving even if you use the coordinates of the current position as
-returned by this function.
-
-If you haven’t changed the window gravity, its gravity will be
-#GDK_GRAVITY_NORTH_WEST. This means that gtk_window_get_position()
-gets the position of the top-left corner of the window manager
-frame for the window. gtk_window_move() sets the position of this
-same top-left corner.
-
-If a window has gravity #GDK_GRAVITY_STATIC the window manager
-frame is not relevant, and thus gtk_window_get_position() will
-always produce accurate results. However you can’t use static
-gravity to do things like place a window in a corner of the screen,
-because static gravity ignores the window manager decorations.
-
-Ideally, this function should return appropriate values if the
-window has client side decorations, assuming that the windowing
-system supports global coordinates.
-
-In practice, saving the window position should not be left to
-applications, as they lack enough knowledge of the windowing
-system and the window manager state to effectively do so. The
-appropriate way to implement saving the window position is to
-use a platform-specific protocol, wherever that is available.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GtkWindow
-</parameter_description>
-</parameter>
-<parameter name="root_x">
-<parameter_description> return location for X coordinate of
-gravity-determined reference point, or %NULL
-</parameter_description>
-</parameter>
-<parameter name="root_y">
-<parameter_description> return location for Y coordinate of
-gravity-determined reference point, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_window_get_resizable">
<description>
Gets the value set by gtk_window_set_resizable().
@@ -87128,24 +87507,6 @@ Gets the value set by gtk_window_set_resizable().
</return>
</function>
-<function name="gtk_window_get_role">
-<description>
-Returns the role of the window. See gtk_window_set_role() for
-further explanation.
-
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GtkWindow
-</parameter_description>
-</parameter>
-</parameters>
-<return> the role of the window if set, or %NULL. The
-returned is owned by the widget and must not be modified or freed.
-</return>
-</function>
-
<function name="gtk_window_get_size">
<description>
Obtains the current size of @window.
@@ -87647,60 +88008,6 @@ Activates the targets associated with the mnemonic.
</return>
</function>
-<function name="gtk_window_move">
-<description>
-Asks the [window manager][gtk-X11-arch] to move
-@window to the given position. Window managers are free to ignore
-this; most window managers ignore requests for initial window
-positions (instead using a user-defined placement algorithm) and
-honor requests after the window has already been shown.
-
-Note: the position is the position of the gravity-determined
-reference point for the window. The gravity determines two things:
-first, the location of the reference point in root window
-coordinates; and second, which point on the window is positioned at
-the reference point.
-
-By default the gravity is #GDK_GRAVITY_NORTH_WEST, so the reference
-point is simply the @x, @y supplied to gtk_window_move(). The
-top-left corner of the window decorations (aka window frame or
-border) will be placed at @x, @y. Therefore, to position a window
-at the top left of the screen, you want to use the default gravity
-(which is #GDK_GRAVITY_NORTH_WEST) and move the window to 0,0.
-
-To position a window at the bottom right corner of the screen, you
-would set #GDK_GRAVITY_SOUTH_EAST, which means that the reference
-point is at @x + the window width and @y + the window height, and
-the bottom-right corner of the window border will be placed at that
-reference point. So, to place a window in the bottom right corner
-you would first set gravity to south east, then write:
-`gtk_window_move (window, gdk_screen_width () - window_width,
-gdk_screen_height () - window_height)` (note that this
-example does not take multi-head scenarios into account).
-
-The [Extended Window Manager Hints Specification](http://www.freedesktop.org/Standards/wm-spec)
-has a nice table of gravities in the “implementation notes” section.
-
-The gtk_window_get_position() documentation may also be relevant.
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GtkWindow
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> X coordinate to move window to
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> Y coordinate to move window to
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_window_new">
<description>
Creates a new #GtkWindow, which is a toplevel window that can
@@ -88251,30 +88558,6 @@ Sets the #GtkWindow:focus-visible property.
<return></return>
</function>
-<function name="gtk_window_set_gravity">
-<description>
-Window gravity defines the meaning of coordinates passed to
-gtk_window_move(). See gtk_window_move() and #GdkGravity for
-more details.
-
-The default window gravity is #GDK_GRAVITY_NORTH_WEST which will
-typically “do what you mean.”
-
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GtkWindow
-</parameter_description>
-</parameter>
-<parameter name="gravity">
-<parameter_description> window gravity
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_window_set_has_user_ref_count">
<description>
Tells GTK+ whether to drop its extra reference to the window
@@ -88530,36 +88813,6 @@ by default.
<return></return>
</function>
-<function name="gtk_window_set_role">
-<description>
-This function is only useful on X11, not with other GTK+ targets.
-
-In combination with the window title, the window role allows a
-[window manager][gtk-X11-arch] to identify "the
-same" window when an application is restarted. So for example you
-might set the “toolbox” role on your app’s toolbox window, so that
-when the user restarts their session, the window manager can put
-the toolbox back in the same place.
-
-If a window already has a unique title, you don’t need to set the
-role, since the WM can use the title to identify the window when
-restoring the session.
-
-
-</description>
-<parameters>
-<parameter name="window">
-<parameter_description> a #GtkWindow
-</parameter_description>
-</parameter>
-<parameter name="role">
-<parameter_description> unique identifier for the window to be used when restoring a session
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_window_set_skip_pager_hint">
<description>
Windows may set a hint asking the desktop environment not to display
diff --git a/gtk/src/gtk_docs_override.xml b/gtk/src/gtk_docs_override.xml
index 4a152d70..2964da27 100644
--- a/gtk/src/gtk_docs_override.xml
+++ b/gtk/src/gtk_docs_override.xml
@@ -123,6 +123,7 @@
<substitute_enumerator_name from_prefix="GTK_SORT_" to_prefix="Gtk::SortType::" />
<substitute_enumerator_name from_prefix="GTK_FONT_CHOOSER_LEVEL_" to_prefix="Gtk::FontChooser::Level::" />
<substitute_enumerator_name from_prefix="GTK_EVENT_CONTROLLER_SCROLL_"
to_prefix="Gtk::EventControllerScroll::Flags::" />
+<substitute_enumerator_name from_prefix="GTK_APPLICATION_INHIBIT_"
to_prefix="Gtk::Application::InhibitFlags::" />
<!-- GdkWindowWindowClass is not wrapped in gtkmm. Don't substitute its enumerator names. -->
<substitute_enumerator_name from="GDK_INPUT_ONLY" to="GDK_INPUT_ONLY" />
<substitute_enumerator_name from="GDK_INPUT_OUTPUT" to="GDK_INPUT_OUTPUT" />
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index f352f8fc..893bf4ef 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -2303,7 +2303,10 @@
;; GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN,
;; GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP,
;; GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT,
-;; GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT
+;; GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT,
+;; GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT,
+;; GTK_STACK_TRANSITION_TYPE_ROTATE_RIGHT,
+;; GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT_RIGHT
;; } GtkStackTransitionType;
(define-enum-extended StackTransitionType
@@ -2330,6 +2333,9 @@
'("over-down-up" "GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP" "17")
'("over-left-right" "GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT" "18")
'("over-right-left" "GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT" "19")
+ '("rotate-left" "GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT" "20")
+ '("rotate-right" "GTK_STACK_TRANSITION_TYPE_ROTATE_RIGHT" "21")
+ '("rotate-left-right" "GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT_RIGHT" "22")
)
)
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 66dd89c6..ec0412b9 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -2466,6 +2466,9 @@
'("over-down-up" "GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP")
'("over-left-right" "GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT")
'("over-right-left" "GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT")
+ '("rotate-left" "GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT")
+ '("rotate-right" "GTK_STACK_TRANSITION_TYPE_ROTATE_RIGHT")
+ '("rotate-left-right" "GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT_RIGHT")
)
)
@@ -4583,6 +4586,16 @@
+;; From gtkbinlayout.h
+
+(define-function gtk_bin_layout_new
+ (c-name "gtk_bin_layout_new")
+ (is-constructor-of "GtkBinLayout")
+ (return-type "GtkLayoutManager*")
+)
+
+
+
;; From gtkbitmaskprivateimpl.h
@@ -4702,6 +4715,64 @@
+;; From gtkboxlayout.h
+
+(define-function gtk_box_layout_new
+ (c-name "gtk_box_layout_new")
+ (is-constructor-of "GtkBoxLayout")
+ (return-type "GtkLayoutManager*")
+ (parameters
+ '("GtkOrientation" "orientation")
+ )
+)
+
+(define-method set_homogeneous
+ (of-object "GtkBoxLayout")
+ (c-name "gtk_box_layout_set_homogeneous")
+ (return-type "none")
+ (parameters
+ '("gboolean" "homogeneous")
+ )
+)
+
+(define-method get_homogeneous
+ (of-object "GtkBoxLayout")
+ (c-name "gtk_box_layout_get_homogeneous")
+ (return-type "gboolean")
+)
+
+(define-method set_spacing
+ (of-object "GtkBoxLayout")
+ (c-name "gtk_box_layout_set_spacing")
+ (return-type "none")
+ (parameters
+ '("guint" "spacing")
+ )
+)
+
+(define-method get_spacing
+ (of-object "GtkBoxLayout")
+ (c-name "gtk_box_layout_get_spacing")
+ (return-type "guint")
+)
+
+(define-method set_baseline_position
+ (of-object "GtkBoxLayout")
+ (c-name "gtk_box_layout_set_baseline_position")
+ (return-type "none")
+ (parameters
+ '("GtkBaselinePosition" "position")
+ )
+)
+
+(define-method get_baseline_position
+ (of-object "GtkBoxLayout")
+ (c-name "gtk_box_layout_get_baseline_position")
+ (return-type "GtkBaselinePosition")
+)
+
+
+
;; From gtkbuildable.h
(define-function gtk_buildable_get_type
@@ -7748,6 +7819,21 @@
+;; From gtkcustomlayout.h
+
+(define-function gtk_custom_layout_new
+ (c-name "gtk_custom_layout_new")
+ (is-constructor-of "GtkCustomLayout")
+ (return-type "GtkLayoutManager*")
+ (parameters
+ '("GtkCustomRequestModeFunc" "request_mode")
+ '("GtkCustomMeasureFunc" "measure")
+ '("GtkCustomAllocateFunc" "allocate")
+ )
+)
+
+
+
;; From gtkcustompaperunixdialog.h
(define-function gtk_custom_paper_unix_dialog_get_type
@@ -10438,6 +10524,42 @@
)
)
+(define-method get_child_position
+ (of-object "GtkFixed")
+ (c-name "gtk_fixed_get_child_position")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("gint*" "x")
+ '("gint*" "y")
+ )
+)
+
+
+
+;; From gtkfixedlayout.h
+
+(define-function gtk_fixed_layout_new
+ (c-name "gtk_fixed_layout_new")
+ (is-constructor-of "GtkFixedLayout")
+ (return-type "GtkLayoutManager*")
+)
+
+(define-method set_position
+ (of-object "GtkFixedLayoutChild")
+ (c-name "gtk_fixed_layout_child_set_position")
+ (return-type "none")
+ (parameters
+ '("GskTransform*" "position")
+ )
+)
+
+(define-method get_position
+ (of-object "GtkFixedLayoutChild")
+ (c-name "gtk_fixed_layout_child_get_position")
+ (return-type "GskTransform*")
+)
+
;; From gtkflattenlistmodel.h
@@ -13861,6 +13983,22 @@
+;; From gtklayoutchild.h
+
+(define-method get_layout_manager
+ (of-object "GtkLayoutChild")
+ (c-name "gtk_layout_child_get_layout_manager")
+ (return-type "GtkLayoutManager*")
+)
+
+(define-method get_child_widget
+ (of-object "GtkLayoutChild")
+ (c-name "gtk_layout_child_get_child_widget")
+ (return-type "GtkWidget*")
+)
+
+
+
;; From gtklayout.h
(define-function gtk_layout_get_type
@@ -13922,6 +14060,64 @@
+;; From gtklayoutmanager.h
+
+(define-method measure
+ (of-object "GtkLayoutManager")
+ (c-name "gtk_layout_manager_measure")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("GtkOrientation" "orientation")
+ '("int" "for_size")
+ '("int*" "minimum")
+ '("int*" "natural")
+ '("int*" "minimum_baseline")
+ '("int*" "natural_baseline")
+ )
+)
+
+(define-method allocate
+ (of-object "GtkLayoutManager")
+ (c-name "gtk_layout_manager_allocate")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("int" "width")
+ '("int" "height")
+ '("int" "baseline")
+ )
+)
+
+(define-method get_request_mode
+ (of-object "GtkLayoutManager")
+ (c-name "gtk_layout_manager_get_request_mode")
+ (return-type "GtkSizeRequestMode")
+)
+
+(define-method get_widget
+ (of-object "GtkLayoutManager")
+ (c-name "gtk_layout_manager_get_widget")
+ (return-type "GtkWidget*")
+)
+
+(define-method layout_changed
+ (of-object "GtkLayoutManager")
+ (c-name "gtk_layout_manager_layout_changed")
+ (return-type "none")
+)
+
+(define-method get_layout_child
+ (of-object "GtkLayoutManager")
+ (c-name "gtk_layout_manager_get_layout_child")
+ (return-type "GtkLayoutChild*")
+ (parameters
+ '("GtkWidget*" "child")
+ )
+)
+
+
+
;; From gtklevelbar.h
(define-function gtk_level_bar_get_type
@@ -16848,25 +17044,6 @@
)
)
-(define-method get_overlay_pass_through
- (of-object "GtkOverlay")
- (c-name "gtk_overlay_get_overlay_pass_through")
- (return-type "gboolean")
- (parameters
- '("GtkWidget*" "widget")
- )
-)
-
-(define-method set_overlay_pass_through
- (of-object "GtkOverlay")
- (c-name "gtk_overlay_set_overlay_pass_through")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("gboolean" "pass_through")
- )
-)
-
(define-method get_measure_overlay
(of-object "GtkOverlay")
(c-name "gtk_overlay_get_measure_overlay")
@@ -17908,12 +18085,22 @@
(return-type "GtkWidget*")
)
+(define-method add_submenu
+ (of-object "GtkPopoverMenu")
+ (c-name "gtk_popover_menu_add_submenu")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "submenu")
+ '("const-char*" "name")
+ )
+)
+
(define-method open_submenu
(of-object "GtkPopoverMenu")
(c-name "gtk_popover_menu_open_submenu")
(return-type "none")
(parameters
- '("const-gchar*" "name")
+ '("const-char*" "name")
)
)
@@ -23886,24 +24073,6 @@
)
)
-(define-method get_background_color
- (of-object "GtkStyleContext")
- (c-name "gtk_style_context_get_background_color")
- (return-type "none")
- (parameters
- '("GdkRGBA*" "color")
- )
-)
-
-(define-method get_border_color
- (of-object "GtkStyleContext")
- (c-name "gtk_style_context_get_border_color")
- (return-type "none")
- (parameters
- '("GdkRGBA*" "color")
- )
-)
-
(define-method get_border
(of-object "GtkStyleContext")
(c-name "gtk_style_context_get_border")
@@ -29999,6 +30168,21 @@
)
)
+(define-method set_layout_manager
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_set_layout_manager")
+ (return-type "none")
+ (parameters
+ '("GtkLayoutManager*" "layout_manager")
+ )
+)
+
+(define-method get_layout_manager
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_get_layout_manager")
+ (return-type "GtkLayoutManager*")
+)
+
(define-method add_accelerator
(of-object "GtkWidget")
(c-name "gtk_widget_add_accelerator")
@@ -31738,15 +31922,6 @@
(return-type "const-gchar*")
)
-(define-method set_role
- (of-object "GtkWindow")
- (c-name "gtk_window_set_role")
- (return-type "none")
- (parameters
- '("const-gchar*" "role")
- )
-)
-
(define-method set_startup_id
(of-object "GtkWindow")
(c-name "gtk_window_set_startup_id")
@@ -31756,12 +31931,6 @@
)
)
-(define-method get_role
- (of-object "GtkWindow")
- (c-name "gtk_window_get_role")
- (return-type "const-gchar*")
-)
-
(define-method add_accel_group
(of-object "GtkWindow")
(c-name "gtk_window_add_accel_group")
@@ -32026,21 +32195,6 @@
(return-type "gboolean")
)
-(define-method set_gravity
- (of-object "GtkWindow")
- (c-name "gtk_window_set_gravity")
- (return-type "none")
- (parameters
- '("GdkGravity" "gravity")
- )
-)
-
-(define-method get_gravity
- (of-object "GtkWindow")
- (c-name "gtk_window_get_gravity")
- (return-type "GdkGravity")
-)
-
(define-method set_display
(of-object "GtkWindow")
(c-name "gtk_window_set_display")
@@ -32322,8 +32476,8 @@
(parameters
'("GdkSurfaceEdge" "edge")
'("gint" "button")
- '("gint" "root_x")
- '("gint" "root_y")
+ '("gint" "x")
+ '("gint" "y")
'("guint32" "timestamp")
)
)
@@ -32334,8 +32488,8 @@
(return-type "none")
(parameters
'("gint" "button")
- '("gint" "root_x")
- '("gint" "root_y")
+ '("gint" "x")
+ '("gint" "y")
'("guint32" "timestamp")
)
)
@@ -32380,26 +32534,6 @@
)
)
-(define-method move
- (of-object "GtkWindow")
- (c-name "gtk_window_move")
- (return-type "none")
- (parameters
- '("gint" "x")
- '("gint" "y")
- )
-)
-
-(define-method get_position
- (of-object "GtkWindow")
- (c-name "gtk_window_get_position")
- (return-type "none")
- (parameters
- '("gint*" "root_x")
- '("gint*" "root_y")
- )
-)
-
(define-method get_group
(of-object "GtkWindow")
(c-name "gtk_window_get_group")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index e26ad7fe..d09d090a 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -785,6 +785,38 @@
(default-value "GTK_BASELINE_POSITION_CENTER")
)
+;; From GtkBoxLayout
+
+(define-property homogeneous
+ (of-object "GtkBoxLayout")
+ (prop-type "GParamBoolean")
+ (docs "Distribute space homogeneously")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
+(define-property spacing
+ (of-object "GtkBoxLayout")
+ (prop-type "GParamInt")
+ (docs "Spacing between widgets")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "0")
+)
+
+(define-property baseline-position
+ (of-object "GtkBoxLayout")
+ (prop-type "GParamEnum")
+ (docs "The position of the baseline aligned widgets if extra space is available")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "GTK_BASELINE_POSITION_CENTER")
+)
+
;; From GtkBuilder
(define-property translation-domain
@@ -5346,6 +5378,26 @@
(default-value "100")
)
+;; From GtkLayoutChild
+
+(define-property layout-manager
+ (of-object "GtkLayoutChild")
+ (prop-type "GParamObject")
+ (docs "The layout manager that created this object")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property child-widget
+ (of-object "GtkLayoutChild")
+ (prop-type "GParamObject")
+ (docs "The child widget that is associated to this object")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
;; From GtkLevelBar
(define-signal offset-changed
@@ -6784,6 +6836,46 @@
(default-value "FALSE")
)
+(define-property resize-child1
+ (of-object "GtkPaned")
+ (prop-type "GParamBoolean")
+ (docs "If TRUE, the first child expands and shrinks along with the paned widget")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "TRUE")
+)
+
+(define-property resize-child2
+ (of-object "GtkPaned")
+ (prop-type "GParamBoolean")
+ (docs "If TRUE, the second child expands and shrinks along with the paned widget")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "TRUE")
+)
+
+(define-property shrink-child1
+ (of-object "GtkPaned")
+ (prop-type "GParamBoolean")
+ (docs "If TRUE, the first child can be made smaller than its requisition")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "TRUE")
+)
+
+(define-property shrink-child2
+ (of-object "GtkPaned")
+ (prop-type "GParamBoolean")
+ (docs "If TRUE, the second child can be made smaller than its requisition")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "TRUE")
+)
+
;; From GtkPasswordEntry
(define-property placeholder-text
@@ -9554,6 +9646,26 @@
(default-value "FALSE")
)
+(define-property homogeneous
+ (of-object "GtkToolItem")
+ (prop-type "GParamBoolean")
+ (docs "Whether the item should be the same size as other homogeneous items")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
+(define-property expand-item
+ (of-object "GtkToolItem")
+ (prop-type "GParamBoolean")
+ (docs "Whether the item should receive extra space when the toolbar grows")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
;; From GtkToolButton
(define-signal clicked
@@ -12190,6 +12302,15 @@
(default-value "")
)
+(define-property layout-manager
+ (of-object "GtkWidget")
+ (prop-type "GParamObject")
+ (docs "The layout manager used to layout children of the widget")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkWidgetPaintable
(define-property widget
@@ -12256,16 +12377,6 @@
(default-value "")
)
-(define-property role
- (of-object "GtkWindow")
- (prop-type "GParamString")
- (docs "Unique identifier for the window to be used when restoring a session")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
(define-property resizable
(of-object "GtkWindow")
(prop-type "GParamBoolean")
@@ -12435,16 +12546,6 @@
(default-value "TRUE")
)
-(define-property gravity
- (of-object "GtkWindow")
- (prop-type "GParamEnum")
- (docs "The window gravity of the window")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "GDK_GRAVITY_NORTH_WEST")
-)
-
(define-property transient-for
(of-object "GtkWindow")
(prop-type "GParamObject")
@@ -12522,36 +12623,6 @@
(default-value "FALSE")
)
-(define-child-property pack-type
- (of-object "GtkActionBar")
- (prop-type "GParamEnum")
- (docs "A GtkPackType indicating whether the child is packed with reference to the start or end of the
parent")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "GTK_PACK_START")
-)
-
-(define-child-property x
- (of-object "GtkFixed")
- (prop-type "GParamInt")
- (docs "X position of child widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-child-property y
- (of-object "GtkFixed")
- (prop-type "GParamInt")
- (docs "Y position of child widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
(define-child-property left-attach
(of-object "GtkGrid")
(prop-type "GParamInt")
@@ -12592,16 +12663,6 @@
(default-value "1")
)
-(define-child-property pack-type
- (of-object "GtkHeaderBar")
- (prop-type "GParamEnum")
- (docs "A GtkPackType indicating whether the child is packed with reference to the start or end of the
parent")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "GTK_PACK_START")
-)
-
(define-child-property x
(of-object "GtkLayout")
(prop-type "GParamInt")
@@ -12622,73 +12683,3 @@
(default-value "0")
)
-(define-child-property measure
- (of-object "GtkOverlay")
- (prop-type "GParamBoolean")
- (docs "Include in size measurement")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-child-property clip-overlay
- (of-object "GtkOverlay")
- (prop-type "GParamBoolean")
- (docs "Clip the overlay child widget so as to fit the parent")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-child-property resize
- (of-object "GtkPaned")
- (prop-type "GParamBoolean")
- (docs "If TRUE, the child expands and shrinks along with the paned widget")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
-(define-child-property shrink
- (of-object "GtkPaned")
- (prop-type "GParamBoolean")
- (docs "If TRUE, the child can be made smaller than its requisition")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
-(define-child-property submenu
- (of-object "GtkPopoverMenu")
- (prop-type "GParamString")
- (docs "The name of the submenu")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
-(define-child-property expand
- (of-object "GtkToolbar")
- (prop-type "GParamBoolean")
- (docs "Whether the item should receive extra space when the toolbar grows")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-child-property homogeneous
- (of-object "GtkToolbar")
- (prop-type "GParamBoolean")
- (docs "Whether the item should be the same size as other homogeneous items")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
diff --git a/gtk/src/gtk_vfuncs.defs b/gtk/src/gtk_vfuncs.defs
index a9036ab8..263a8706 100644
--- a/gtk/src/gtk_vfuncs.defs
+++ b/gtk/src/gtk_vfuncs.defs
@@ -377,6 +377,50 @@
)
)
+; GtkLayoutManager
+
+(define-vfunc get_request_mode
+ (of-object "GtkLayoutManager")
+ (return-type "GtkSizeRequestMode")
+ (parameters
+ '("GtkWidget*" "widget")
+ )
+)
+
+(define-vfunc measure
+ (of-object "GtkLayoutManager")
+ (return-type "void")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("GtkOrientation" "orientation")
+ '("int" "for_size")
+ '("int*" "minimum")
+ '("int*" "natural")
+ '("int*" "minimum_baseline")
+ '("int*" "natural_baseline")
+ )
+)
+
+(define-vfunc allocate
+ (of-object "GtkLayoutManager")
+ (return-type "void")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("int" "width")
+ '("int" "height")
+ '("int" "baseline")
+ )
+)
+
+(define-vfunc create_layout_child
+ (of-object "GtkLayoutManager")
+ (return-type "GtkLayoutChild*")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("GtkWidget*" "for_child")
+ )
+)
+
; GtkMediaFile
(define-vfunc open
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index 18b408ca..b0a43b43 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -59,6 +59,7 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_ASSISTANT_PAGE )
<< get_defs( GTK_TYPE_BORDER )
<< get_defs( GTK_TYPE_BOX )
+ << get_defs( GTK_TYPE_BOX_LAYOUT )
<< get_defs( GTK_TYPE_BUILDER )
<< get_defs( GTK_TYPE_BUTTON )
<< get_defs( GTK_TYPE_CALENDAR )
@@ -131,6 +132,7 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_ICON_VIEW )
<< get_defs( GTK_TYPE_LABEL )
<< get_defs( GTK_TYPE_LAYOUT )
+ << get_defs( GTK_TYPE_LAYOUT_CHILD )
<< get_defs( GTK_TYPE_LEVEL_BAR)
<< get_defs( GTK_TYPE_LINK_BUTTON )
<< get_defs( GTK_TYPE_LIST_BOX )
@@ -234,15 +236,8 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_WINDOW )
;
- std::cout << get_child_properties( GTK_TYPE_ACTION_BAR )
- << get_child_properties( GTK_TYPE_FIXED )
- << get_child_properties( GTK_TYPE_GRID )
- << get_child_properties( GTK_TYPE_HEADER_BAR )
+ std::cout << get_child_properties( GTK_TYPE_GRID )
<< get_child_properties( GTK_TYPE_LAYOUT )
- << get_child_properties( GTK_TYPE_OVERLAY )
- << get_child_properties( GTK_TYPE_PANED )
- << get_child_properties( GTK_TYPE_POPOVER_MENU )
- << get_child_properties( GTK_TYPE_TOOLBAR )
;
return 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]