[gtkmm] Revert "Gtk: Regenerate .defs and docs.xml files, update gtk_vfuncs.defs"



commit d78c420ae5b01ee3b027119423c4b162a6d17ff7
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Apr 27 12:20:32 2017 +0200

    Revert "Gtk: Regenerate .defs and docs.xml files, update gtk_vfuncs.defs"
    
    This reverts commit 880dad6f476b9e32de2027f6e0ef84b5e0ab3d96.
    
    Because I would rather have these in smaller commits,
    which lets me apply some other commits.

 gtk/src/gtk_docs.xml     |  352 +++++++++++++++++++++++++++++++++++++--------
 gtk/src/gtk_methods.defs |  155 +++++++++++++-------
 gtk/src/gtk_signals.defs |   38 +++++-
 gtk/src/gtk_vfuncs.defs  |    1 +
 4 files changed, 427 insertions(+), 119 deletions(-)
---
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index ca2fb6f..7f649b5 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -3,7 +3,7 @@
 <description>
 The signal which gets emitted to activate a URI.
 Applications may connect to it to override the default behaviour,
-which is to call gtk_show_uri_on_window().
+which is to call gtk_show_uri().
 
 Since: 2.24
 
@@ -1057,6 +1057,31 @@ Describes how the border of a UI element should be rendered.
 </parameters>
 </enum>
 
+<property name="GtkBox:expand">
+<description>
+Whether the child should receive extra space when the parent grows.
+
+Note that the #GtkWidget:halign, #GtkWidget:valign, #GtkWidget:hexpand
+and #GtkWidget:vexpand properties are the preferred way to influence
+child size allocation in containers.
+
+In contrast to #GtkWidget:hexpand, the expand child property does
+not cause the box to expand itself.
+
+</description>
+</property>
+
+<property name="GtkBox:fill">
+<description>
+Whether the child should receive extra space when the parent grows.
+
+Note that the #GtkWidget:halign, #GtkWidget:valign, #GtkWidget:hexpand
+and #GtkWidget:vexpand properties are the preferred way to influence
+child size allocation in containers.
+
+</description>
+</property>
+
 <property name="GtkBuilder:translation-domain">
 <description>
 The translation domain used when translating property values that
@@ -7126,7 +7151,7 @@ Since: 2.18
 <description>
 The signal which gets emitted to activate a URI.
 Applications may connect to it to override the default behaviour,
-which is to call gtk_show_uri_on_window().
+which is to call gtk_show_uri().
 
 Since: 2.18
 
@@ -7229,6 +7254,18 @@ to this signal and append your menuitems to the @menu.
 <return></return>
 </signal>
 
+<property name="GtkLabel:angle">
+<description>
+The angle that the baseline of the label makes with the horizontal,
+in degrees, measured counterclockwise. An angle of 90 reads from
+from bottom to top, an angle of 270, from top to bottom. Ignored
+if the label is selectable.
+
+Since: 2.6
+
+</description>
+</property>
+
 <property name="GtkLabel:ellipsize">
 <description>
 The preferred place to ellipsize the string, if the label does
@@ -7541,7 +7578,7 @@ developer
 The ::activate-link signal is emitted each time the #GtkLinkButton
 has been clicked.
 
-The default handler will call gtk_show_uri_on_window() with the URI stored inside
+The default handler will call gtk_show_uri() with the URI stored inside
 the #GtkLinkButton:uri property.
 
 To override the default behavior, you can connect to the ::activate-link
@@ -10767,6 +10804,9 @@ the GtkRange::change-value signal is responsible for clamping the
 value to the desired number of decimal digits; the default GTK+
 handler clamps the value based on #GtkRange:round-digits.
 
+It is not possible to use delayed update policies in an overridden
+#GtkRange::change-value handler.
+
 Since: 2.6
 
 </description>
@@ -11295,9 +11335,6 @@ Signal which allows you to change how the scale value is displayed.
 Connect a signal handler which returns an allocated string representing 
 @value. That string will then be used to display the scale's value.
 
-If no user-provided handlers are installed, the value will be displayed on
-its own, rounded according to the value of the #GtkScale:digits property.
-
 Here's an example signal handler which displays a value 1.0 as
 with &quot;--&gt;1.0&lt;--&quot;.
 |[&lt;!-- language=&quot;C&quot; --&gt;
@@ -16592,9 +16629,6 @@ automatically for all new windows.
 
 <signal name="GtkWidget::mnemonic-activate">
 <description>
-The default handler for this signal activates @widget if @group_cycling
-is %FALSE, or just makes @widget grab focus if @group_cycling is %TRUE.
-
 
 </description>
 <parameters>
@@ -16602,8 +16636,8 @@ is %FALSE, or just makes @widget grab focus if @group_cycling is %TRUE.
 <parameter_description> the object which received the signal.
 </parameter_description>
 </parameter>
-<parameter name="group_cycling">
-<parameter_description> %TRUE if there are other widgets with the same mnemonic
+<parameter name="arg1">
+<parameter_description>
 </parameter_description>
 </parameter>
 </parameters>
@@ -22632,6 +22666,25 @@ Since: 3.10
 </return>
 </function>
 
+<function name="gtk_box_get_center_widget">
+<description>
+Retrieves the center widget of the box.
+
+Since: 3.12
+
+</description>
+<parameters>
+<parameter name="box">
+<parameter_description> a #GtkBox
+</parameter_description>
+</parameter>
+</parameters>
+<return> the center widget
+or %NULL in case no center widget is set.
+
+</return>
+</function>
+
 <function name="gtk_box_get_homogeneous">
 <description>
 Returns whether the box is homogeneous (all children are the
@@ -22703,6 +22756,20 @@ packed with reference to the end of @box.
 <parameter_description> the #GtkWidget to be added to @box
 </parameter_description>
 </parameter>
+<parameter name="expand">
+<parameter_description> %TRUE if the new child is to be given extra space allocated
+to @box. The extra space will be divided evenly between all children
+of @box that use this option
+</parameter_description>
+</parameter>
+<parameter name="fill">
+<parameter_description> %TRUE if space given to @child by the @expand option is
+actually allocated to @child, rather than just padding it.  This
+parameter has no effect if @expand is set to %FALSE.  A child is
+always allocated the full height of a horizontal #GtkBox and the full width
+of a vertical #GtkBox.  This option affects the other dimension
+</parameter_description>
+</parameter>
 </parameters>
 <return></return>
 </function>
@@ -22723,6 +22790,20 @@ to the start of @box.
 <parameter_description> the #GtkWidget to be added to @box
 </parameter_description>
 </parameter>
+<parameter name="expand">
+<parameter_description> %TRUE if the new child is to be given extra space allocated
+to @box. The extra space will be divided evenly between all children
+that use this option
+</parameter_description>
+</parameter>
+<parameter name="fill">
+<parameter_description> %TRUE if space given to @child by the @expand option is
+actually allocated to @child, rather than just padding it.  This
+parameter has no effect if @expand is set to %FALSE.  A child is
+always allocated the full height of a horizontal #GtkBox and the full width
+of a vertical #GtkBox. This option affects the other dimension
+</parameter_description>
+</parameter>
 </parameters>
 <return></return>
 </function>
@@ -22741,6 +22822,16 @@ Obtains information about how @child is packed into @box.
 <parameter_description> the #GtkWidget of the child to query
 </parameter_description>
 </parameter>
+<parameter name="expand">
+<parameter_description> pointer to return location for expand child
+property
+</parameter_description>
+</parameter>
+<parameter name="fill">
+<parameter_description> pointer to return location for fill child
+property
+</parameter_description>
+</parameter>
 <parameter name="pack_type">
 <parameter_description> pointer to return location for pack-type
 child property
@@ -22807,6 +22898,29 @@ Since: 3.10
 <return></return>
 </function>
 
+<function name="gtk_box_set_center_widget">
+<description>
+Sets a center widget; that is a child widget that will be
+centered with respect to the full width of the box, even
+if the children at either side take up different amounts
+of space.
+
+Since: 3.12
+
+</description>
+<parameters>
+<parameter name="box">
+<parameter_description> a #GtkBox
+</parameter_description>
+</parameter>
+<parameter name="widget">
+<parameter_description> the widget to center
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_box_set_child_packing">
 <description>
 Sets the way @child is packed into @box.
@@ -22821,6 +22935,14 @@ Sets the way @child is packed into @box.
 <parameter_description> the #GtkWidget of the child to set
 </parameter_description>
 </parameter>
+<parameter name="expand">
+<parameter_description> the new value of the expand child property
+</parameter_description>
+</parameter>
+<parameter name="fill">
+<parameter_description> the new value of the fill child property
+</parameter_description>
+</parameter>
 <parameter name="pack_type">
 <parameter_description> the new value of the pack-type child property
 </parameter_description>
@@ -24219,7 +24341,7 @@ Since: 3.10
 </description>
 <parameters>
 <parameter name="icon_name">
-<parameter_description> an icon name or %NULL
+<parameter_description> an icon name
 </parameter_description>
 </parameter>
 <parameter name="size">
@@ -31017,6 +31139,28 @@ has been set explicitly.
 </return>
 </function>
 
+<function name="gtk_container_get_focus_child">
+<description>
+Returns the current focus child widget inside @container. This is not the
+currently focused widget. That can be obtained by calling
+gtk_window_get_focus().
+
+Since: 2.14
+
+</description>
+<parameters>
+<parameter name="container">
+<parameter_description> a #GtkContainer
+</parameter_description>
+</parameter>
+</parameters>
+<return> The child widget which will receive the
+focus inside @container when the @container is focused,
+or %NULL if none is set.
+
+</return>
+</function>
+
 <function name="gtk_container_get_focus_hadjustment">
 <description>
 Retrieves the horizontal focus adjustment for the container. See
@@ -32530,7 +32674,7 @@ A convenient way to sensitize/desensitize dialog buttons.
 
 <function name="gtk_disable_setlocale">
 <description>
-Prevents gtk_init(), gtk_init_check() and
+Prevents gtk_init(), gtk_init_check(), gtk_init_with_args() and
 gtk_parse_args() from automatically
 calling `setlocale (LC_ALL, &quot;&quot;)`. You would
 want to use this function if you wanted to set the locale for
@@ -40693,8 +40837,8 @@ If @label is %NULL, the label is omitted.
 
 <function name="gtk_frame_set_label">
 <description>
-Removes the current #GtkFrame:label-widget. If @label is not %NULL, creates a
-new #GtkLabel with that text and adds it as the #GtkFrame:label-widget.
+Sets the text of the label. If @label is %NULL,
+the current label is removed.
 
 </description>
 <parameters>
@@ -40740,8 +40884,9 @@ will be completely above or below the frame.
 
 <function name="gtk_frame_set_label_widget">
 <description>
-Sets the #GtkFrame:label-widget for the frame. This is the widget that
-will appear embedded in the top edge of the frame as a title.
+Sets the label widget for the frame. This is the widget that
+will appear embedded in the top edge of the frame as a
+title.
 
 </description>
 <parameters>
@@ -40759,10 +40904,7 @@ will appear embedded in the top edge of the frame as a title.
 
 <function name="gtk_frame_set_shadow_type">
 <description>
-Sets the #GtkFrame:shadow-type for @frame, i.e. whether it is drawn without
-(GTK_SHADOW_NONE) or with (other values) a visible border. Values other than
-GTK_SHADOW_NONE are treated identically by #GtkFrame. The chosen type is
-applied by removing or adding the .flat class to the main CSS node, frame.
+Sets the shadow type for @frame.
 
 </description>
 <parameters>
@@ -41133,11 +41275,11 @@ Since: 3.14
 </parameter_description>
 </parameter>
 <parameter name="sequence">
-<parameter_description> a #GdkEventSequence or %NULL
+<parameter_description> a #GdkEventSequence
 </parameter_description>
 </parameter>
 </parameters>
-<return> %TRUE if @gesture is handling @sequence, %FALSE otherwise
+<return> %TRUE if @gesture is handling @sequence
 
 </return>
 </function>
@@ -46824,7 +46966,7 @@ Since: 2.6
 </description>
 <parameters>
 <parameter name="icon_name">
-<parameter_description> an icon name or %NULL
+<parameter_description> an icon name
 </parameter_description>
 </parameter>
 <parameter name="size">
@@ -46988,7 +47130,7 @@ Since: 2.6
 </parameter_description>
 </parameter>
 <parameter name="icon_name">
-<parameter_description> an icon name or %NULL
+<parameter_description> an icon name
 </parameter_description>
 </parameter>
 <parameter name="size">
@@ -47048,7 +47190,7 @@ Since: 3.10
 </parameter_description>
 </parameter>
 <parameter name="surface">
-<parameter_description> a cairo_surface_t or %NULL
+<parameter_description> a cairo_surface_t
 </parameter_description>
 </parameter>
 </parameters>
@@ -47559,6 +47701,25 @@ Destroys a key hash created with gtk_key_hash_new()
 <return></return>
 </function>
 
+<function name="gtk_label_get_angle">
+<description>
+Gets the angle of rotation for the label. See
+gtk_label_set_angle().
+
+Since: 2.6
+
+</description>
+<parameters>
+<parameter name="label">
+<parameter_description> a #GtkLabel
+</parameter_description>
+</parameter>
+</parameters>
+<return> the angle of rotation for the label
+
+</return>
+</function>
+
 <function name="gtk_label_get_attributes">
 <description>
 Gets the attribute list that was set on the label using
@@ -48106,6 +48267,30 @@ this function has no effect. If @start_offset or
 <return></return>
 </function>
 
+<function name="gtk_label_set_angle">
+<description>
+Sets the angle of rotation for the label. An angle of 90 reads from
+from bottom to top, an angle of 270, from top to bottom. The angle
+setting for the label is ignored if the label is selectable,
+wrapped, or ellipsized.
+
+Since: 2.6
+
+</description>
+<parameters>
+<parameter name="label">
+<parameter_description> a #GtkLabel
+</parameter_description>
+</parameter>
+<parameter name="angle">
+<parameter_description> the angle that the baseline of the label makes with
+the horizontal, in degrees, measured counterclockwise
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_label_set_attributes">
 <description>
 Sets a #PangoAttrList; the attributes in the list are applied to the
@@ -66381,10 +66566,9 @@ Since: 3.0
 
 <function name="gtk_scale_set_digits">
 <description>
-Sets the number of decimal places that are displayed in the value. Also
-causes the value of the adjustment to be rounded to this number of digits
-whenever it is changed, so the retrieved value matches the displayed one, if
-#GtkScale:draw-value is TRUE at the time of the change.
+Sets the number of decimal places to which the value is rounded when it is
+changed. This also sets the number of digits shown in the displayed value
+when using the default handler for the #GtkScale::format-value signal.
 
 Note that rounding to a small number of digits can interfere with
 the smooth autoscrolling that is built into #GtkScale. As an alternative,
@@ -66398,8 +66582,7 @@ value yourself.
 </parameter_description>
 </parameter>
 <parameter name="digits">
-<parameter_description> the number of decimal places to display,
-e.g. use 1 to display 1.0, 2 to display 1.00, etc
+<parameter_description> the number of decimal places to which the value will be rounded
 </parameter_description>
 </parameter>
 </parameters>
@@ -68484,13 +68667,18 @@ Since: 2.6
 
 <function name="gtk_show_uri">
 <description>
-A convenience function for launching the default application
-to show the uri. Like gtk_show_uri_on_window(), but takes a screen
-as transient parent instead of a window.
+This is a convenience function for launching the default application
+to show the uri. The uri must be of a form understood by GIO (i.e. you
+need to install gvfs to get support for uri schemes such as http://
+or ftp://, as only local files are handled by GIO itself).
+Typical examples are
+- `file:///home/gnome/pict.jpg`
+- `http://www.gnome.org`
+- `mailto:me gnome org`
 
-Note that this function is deprecated as it does not pass the necessary
-information for helpers to parent their dialog properly, when run from
-sandboxed applications for example.
+Ideally the timestamp is taken from the event triggering
+the gtk_show_uri() call. If timestamp is not known you can take
+%GDK_CURRENT_TIME.
 
 Since: 2.14
 
@@ -68521,21 +68709,9 @@ or %NULL for the default screen
 
 <function name="gtk_show_uri_on_window">
 <description>
-This is a convenience function for launching the default application
-to show the uri. The uri must be of a form understood by GIO (i.e. you
-need to install gvfs to get support for uri schemes such as http://
-or ftp://, as only local files are handled by GIO itself).
-Typical examples are
-- `file:///home/gnome/pict.jpg`
-- `http://www.gnome.org`
-- `mailto:me gnome org`
-
-Ideally the timestamp is taken from the event triggering
-the gtk_show_uri() call. If timestamp is not known you can take
-%GDK_CURRENT_TIME.
-
-This is the recommended call to be used as it passes information
-necessary for sandbox helpers to parent their dialogs properly.
+A convenience function for launching the default application
+to show the uri. Like gtk_show_uri(), but takes a window
+as transient parent instead of a screen.
 
 Since: 3.22
 
@@ -90677,6 +90853,31 @@ if there’s no ancestor.
 <description>
 Gets the value of the #GtkWidget:valign property.
 
+For backwards compatibility reasons this method will never return
+%GTK_ALIGN_BASELINE, but instead it will convert it to
+%GTK_ALIGN_FILL. If your widget want to support baseline aligned
+children it must use gtk_widget_get_valign_with_baseline(), or
+`g_object_get (widget, &quot;valign&quot;, &amp;value, NULL)`, which will
+also report the true value.
+
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+</parameters>
+<return> the vertical alignment of @widget, ignoring baseline alignment
+</return>
+</function>
+
+<function name="gtk_widget_get_valign_with_baseline">
+<description>
+Gets the value of the #GtkWidget:valign property, including
+%GTK_ALIGN_BASELINE.
+
+Since: 3.10
 
 </description>
 <parameters>
@@ -90686,6 +90887,7 @@ Gets the value of the #GtkWidget:valign property.
 </parameter>
 </parameters>
 <return> the vertical alignment of @widget
+
 </return>
 </function>
 
@@ -91080,8 +91282,7 @@ interested in whether there was an intersection.
 </parameter_description>
 </parameter>
 <parameter name="intersection">
-<parameter_description> rectangle to store
-intersection of @widget and @area
+<parameter_description> rectangle to store intersection of @widget and @area
 </parameter_description>
 </parameter>
 </parameters>
@@ -91400,6 +91601,10 @@ position for the natural size, or %NULL
 <description>
 Emits the #GtkWidget::mnemonic-activate signal.
 
+The default handler for this signal activates the @widget if
+@group_cycling is %FALSE, and just grabs the focus if @group_cycling
+is %TRUE.
+
 
 </description>
 <parameters>
@@ -91408,7 +91613,7 @@ Emits the #GtkWidget::mnemonic-activate signal.
 </parameter_description>
 </parameter>
 <parameter name="group_cycling">
-<parameter_description> %TRUE if there are other widgets with the same mnemonic
+<parameter_description>  %TRUE if there are other widgets with the same mnemonic
 </parameter_description>
 </parameter>
 </parameters>
@@ -93227,11 +93432,11 @@ Since: 3.8
 <function name="gtk_widget_set_parent">
 <description>
 This function is useful only when implementing subclasses of
-#GtkWidget.
-Sets @parent as the parent widget of @widget, and takes care of
+#GtkContainer.
+Sets the container as the parent of @widget, and takes care of
 some details such as updating the state and style of the child
-to reflect its new location and resizing the parent. The opposite
-function is gtk_widget_unparent().
+to reflect its new location. The opposite function is
+gtk_widget_unparent().
 
 </description>
 <parameters>
@@ -93240,7 +93445,7 @@ function is gtk_widget_unparent().
 </parameter_description>
 </parameter>
 <parameter name="parent">
-<parameter_description> parent widget
+<parameter_description> parent container
 </parameter_description>
 </parameter>
 </parameters>
@@ -93984,8 +94189,8 @@ a widget to be unmapped if it’s currently mapped.
 <function name="gtk_widget_unparent">
 <description>
 This function is only for use in widget implementations.
-Should be called by parent widgets to dissociate @widget
-from the parent.
+Should be called by implementations of the remove method
+on #GtkContainer, to dissociate a child from the container.
 
 </description>
 <parameters>
@@ -95214,6 +95419,26 @@ Since 2.22
 </return>
 </function>
 
+<function name="gtk_window_has_toplevel_focus">
+<description>
+Returns whether the input focus is within this GtkWindow.
+For real toplevel windows, this is identical to gtk_window_is_active(),
+but for embedded windows, like #GtkPlug, the results will differ.
+
+Since: 2.4
+
+</description>
+<parameters>
+<parameter name="window">
+<parameter_description> a #GtkWindow
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the input focus is within this GtkWindow
+
+</return>
+</function>
+
 <function name="gtk_window_iconify">
 <description>
 Asks to iconify (i.e. minimize) the specified @window. Note that
@@ -95248,6 +95473,7 @@ Returns whether the window is part of the current active toplevel.
 The return value is %TRUE if the window is active toplevel itself.
 You might use this function if you wanted to draw a widget
 differently in an active window from a widget in an inactive window.
+See gtk_window_has_toplevel_focus()
 
 Since: 2.4
 
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 4c260ca..7ea06c5 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -462,13 +462,6 @@
   (gtype-id "GTK_TYPE_SEPARATOR")
 )
 
-(define-object RecentChooserWidget
-  (in-module "Gtk")
-  (parent "GtkWidget")
-  (c-name "GtkRecentChooserWidget")
-  (gtype-id "GTK_TYPE_RECENT_CHOOSER_WIDGET")
-)
-
 (define-object Range
   (in-module "Gtk")
   (parent "GtkWidget")
@@ -539,13 +532,6 @@
   (gtype-id "GTK_TYPE_GL_AREA")
 )
 
-(define-object FontChooserWidget
-  (in-module "Gtk")
-  (parent "GtkWidget")
-  (c-name "GtkFontChooserWidget")
-  (gtype-id "GTK_TYPE_FONT_CHOOSER_WIDGET")
-)
-
 (define-object FontButton
   (in-module "Gtk")
   (parent "GtkWidget")
@@ -553,13 +539,6 @@
   (gtype-id "GTK_TYPE_FONT_BUTTON")
 )
 
-(define-object FileChooserWidget
-  (in-module "Gtk")
-  (parent "GtkWidget")
-  (c-name "GtkFileChooserWidget")
-  (gtype-id "GTK_TYPE_FILE_CHOOSER_WIDGET")
-)
-
 (define-object FileChooserButton
   (in-module "Gtk")
   (parent "GtkWidget")
@@ -987,6 +966,13 @@
   (gtype-id "GTK_TYPE_LINK_BUTTON")
 )
 
+(define-object ColorButton
+  (in-module "Gtk")
+  (parent "GtkButton")
+  (c-name "GtkColorButton")
+  (gtype-id "GTK_TYPE_COLOR_BUTTON")
+)
+
 (define-object ComboBox
   (in-module "Gtk")
   (parent "GtkBin")
@@ -1029,6 +1015,13 @@
   (gtype-id "GTK_TYPE_STACK_SWITCHER")
 )
 
+(define-object RecentChooserWidget
+  (in-module "Gtk")
+  (parent "GtkBox")
+  (c-name "GtkRecentChooserWidget")
+  (gtype-id "GTK_TYPE_RECENT_CHOOSER_WIDGET")
+)
+
 (define-object PrinterOptionWidget
   (in-module "Gtk")
   (parent "GtkBox")
@@ -1043,6 +1036,27 @@
   (gtype-id "GTK_TYPE_INFO_BAR")
 )
 
+(define-object FontChooserWidget
+  (in-module "Gtk")
+  (parent "GtkBox")
+  (c-name "GtkFontChooserWidget")
+  (gtype-id "GTK_TYPE_FONT_CHOOSER_WIDGET")
+)
+
+(define-object FileChooserWidget
+  (in-module "Gtk")
+  (parent "GtkBox")
+  (c-name "GtkFileChooserWidget")
+  (gtype-id "GTK_TYPE_FILE_CHOOSER_WIDGET")
+)
+
+(define-object AppChooserWidget
+  (in-module "Gtk")
+  (parent "GtkBox")
+  (c-name "GtkAppChooserWidget")
+  (gtype-id "GTK_TYPE_APP_CHOOSER_WIDGET")
+)
+
 (define-object ButtonBox
   (in-module "Gtk")
   (parent "GtkBox")
@@ -1057,13 +1071,6 @@
   (gtype-id "GTK_TYPE_COLOR_CHOOSER_WIDGET")
 )
 
-(define-object ColorButton
-  (in-module "Gtk")
-  (parent "GtkWidget")
-  (c-name "GtkColorButton")
-  (gtype-id "GTK_TYPE_COLOR_BUTTON")
-)
-
 (define-object CellView
   (in-module "Gtk")
   (parent "GtkWidget")
@@ -1078,13 +1085,6 @@
   (gtype-id "GTK_TYPE_CALENDAR")
 )
 
-(define-object AppChooserWidget
-  (in-module "Gtk")
-  (parent "GtkWidget")
-  (c-name "GtkAppChooserWidget")
-  (gtype-id "GTK_TYPE_APP_CHOOSER_WIDGET")
-)
-
 (define-object Window
   (in-module "Gtk")
   (parent "GtkBin")
@@ -4920,6 +4920,8 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "child")
+    '("gboolean" "expand")
+    '("gboolean" "fill")
   )
 )
 
@@ -4929,6 +4931,8 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "child")
+    '("gboolean" "expand")
+    '("gboolean" "fill")
   )
 )
 
@@ -4993,6 +4997,8 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "child")
+    '("gboolean*" "expand")
+    '("gboolean*" "fill")
     '("GtkPackType*" "pack_type")
   )
 )
@@ -5003,10 +5009,27 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "child")
+    '("gboolean" "expand")
+    '("gboolean" "fill")
     '("GtkPackType" "pack_type")
   )
 )
 
+(define-method set_center_widget
+  (of-object "GtkBox")
+  (c-name "gtk_box_set_center_widget")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "widget")
+  )
+)
+
+(define-method get_center_widget
+  (of-object "GtkBox")
+  (c-name "gtk_box_get_center_widget")
+  (return-type "GtkWidget*")
+)
+
 
 
 ;; From gtkbuildable.h
@@ -7973,6 +7996,21 @@
   (return-type "none")
 )
 
+(define-method set_focus_child
+  (of-object "GtkContainer")
+  (c-name "gtk_container_set_focus_child")
+  (return-type "none")
+  (parameters
+    '("GtkWidget*" "child")
+  )
+)
+
+(define-method get_focus_child
+  (of-object "GtkContainer")
+  (c-name "gtk_container_get_focus_child")
+  (return-type "GtkWidget*")
+)
+
 (define-method set_focus_vadjustment
   (of-object "GtkContainer")
   (c-name "gtk_container_set_focus_vadjustment")
@@ -14254,6 +14292,21 @@
   (return-type "gboolean")
 )
 
+(define-method set_angle
+  (of-object "GtkLabel")
+  (c-name "gtk_label_set_angle")
+  (return-type "none")
+  (parameters
+    '("gdouble" "angle")
+  )
+)
+
+(define-method get_angle
+  (of-object "GtkLabel")
+  (c-name "gtk_label_get_angle")
+  (return-type "gdouble")
+)
+
 (define-method select_region
   (of-object "GtkLabel")
   (c-name "gtk_label_select_region")
@@ -32309,6 +32362,12 @@
   (return-type "GtkAlign")
 )
 
+(define-method get_valign_with_baseline
+  (of-object "GtkWidget")
+  (c-name "gtk_widget_get_valign_with_baseline")
+  (return-type "GtkAlign")
+)
+
 (define-method set_valign
   (of-object "GtkWidget")
   (c-name "gtk_widget_set_valign")
@@ -32862,26 +32921,6 @@
   (return-type "GtkWidget*")
 )
 
-(define-method insert_after
-  (of-object "GtkWidget")
-  (c-name "gtk_widget_insert_after")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "parent")
-    '("GtkWidget*" "previous_sibling")
-  )
-)
-
-(define-method insert_before
-  (of-object "GtkWidget")
-  (c-name "gtk_widget_insert_before")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "parent")
-    '("GtkWidget*" "next_sibling")
-  )
-)
-
 (define-method set_focus_child
   (of-object "GtkWidget")
   (c-name "gtk_widget_set_focus_child")
@@ -33596,6 +33635,12 @@
   (return-type "gboolean")
 )
 
+(define-method has_toplevel_focus
+  (of-object "GtkWindow")
+  (c-name "gtk_window_has_toplevel_focus")
+  (return-type "gboolean")
+)
+
 (define-method set_decorated
   (of-object "GtkWindow")
   (c-name "gtk_window_set_decorated")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 8e8caa8..a477544 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -4798,6 +4798,15 @@
   (construct-only #f)
 )
 
+(define-property angle
+  (of-object "GtkLabel")
+  (prop-type "GParamDouble")
+  (docs "Angle at which the label is rotated")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property max-width-chars
   (of-object "GtkLabel")
   (prop-type "GParamInt")
@@ -7077,7 +7086,7 @@
 (define-property digits
   (of-object "GtkScale")
   (prop-type "GParamInt")
-  (docs "The number of decimal places that are displayed in the value")
+  (docs "The number of decimal places to which the value is rounded")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -11662,6 +11671,15 @@
   (construct-only #f)
 )
 
+(define-property has-toplevel-focus
+  (of-object "GtkWindow")
+  (prop-type "GParamBoolean")
+  (docs "Whether the input focus is within this GtkWindow")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
 (define-property startup-id
   (of-object "GtkWindow")
   (prop-type "GParamString")
@@ -11752,6 +11770,24 @@
   (construct-only #f)
 )
 
+(define-child-property expand
+  (of-object "GtkBox")
+  (prop-type "GParamBoolean")
+  (docs "Whether the child should receive extra space when the parent grows")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+(define-child-property fill
+  (of-object "GtkBox")
+  (prop-type "GParamBoolean")
+  (docs "Whether extra space given to the child should be allocated to the child or used as padding")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-child-property pack-type
   (of-object "GtkBox")
   (prop-type "GParamEnum")
diff --git a/gtk/src/gtk_vfuncs.defs b/gtk/src/gtk_vfuncs.defs
index b0a62aa..0675213 100644
--- a/gtk/src/gtk_vfuncs.defs
+++ b/gtk/src/gtk_vfuncs.defs
@@ -285,6 +285,7 @@
   (of-object "GtkContainer")
   (return-type "none")
   (parameters
+     '("gboolean" "include_internals")
      '("GtkCallback" "callback")
      '("gpointer" "callback_data")
    )


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