[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, 4 Feb 2019 17:44:39 +0000 (UTC)
commit 6621b62eb0d0f994e48c95ea1d5002b9f3a21780
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Mon Feb 4 18:36:10 2019 +0100
Gdk, Gtk: Regenerate docs.xml and .defs files
gdk/src/gdk_docs.xml | 30 +--
gdk/src/gdk_methods.defs | 9 -
gtk/src/gtk_docs.xml | 531 +++++++++++++++++++----------------------------
gtk/src/gtk_methods.defs | 356 ++++++++++++++-----------------
gtk/src/gtk_signals.defs | 110 ----------
5 files changed, 375 insertions(+), 661 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 118e67d1..6298c3f3 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -8870,10 +8870,10 @@ Gets the frame timings for the current frame.
</parameter_description>
</parameter>
</parameters>
-<return> the #GdkFrameTimings for the frame currently
-being processed, or even no frame is being processed, for the
-previous frame. Before any frames have been processed, returns
-%NULL.
+<return> the #GdkFrameTimings for the
+frame currently being processed, or even no frame is being
+processed, for the previous frame. Before any frames have been
+processed, returns %NULL.
</return>
</function>
@@ -8994,8 +8994,8 @@ be received.
</parameter_description>
</parameter>
</parameters>
-<return> the #GdkFrameTimings object for the specified
-frame, or %NULL if it is not available. See
+<return> the #GdkFrameTimings object for
+the specified frame, or %NULL if it is not available. See
gdk_frame_clock_get_history_start().
</return>
</function>
@@ -9543,7 +9543,7 @@ Creates a new texture for an existing GL texture.
Note that the GL texture must not be modified until @destroy is called,
which will happen when the GdkTexture object is finalized, or due to
-an explicit call of gdk_texture_release_gl().
+an explicit call of gdk_gl_texture_release().
</description>
@@ -14920,7 +14920,7 @@ have full opacity)
- A RGBA color in the form “rgba(r,g,b,a)”
Where “r”, “g”, “b” and “a” are respectively the red, green, blue and
-alpha color values. In the last two cases, r g and b are either integers
+alpha color values. In the last two cases, “r”, “g”, and “b” are either integers
in the range 0 to 255 or percentage values in the range 0% to 100%, and
a is a floating point value in the range 0 to 1.
@@ -14943,18 +14943,18 @@ a is a floating point value in the range 0 to 1.
<function name="gdk_rgba_to_string">
<description>
Returns a textual specification of @rgba in the form
-`rgb (r, g, b)` or
-`rgba (r, g, b, a)`,
+`rgb(r,g,b)` or
+`rgba(r g,b,a)`,
where “r”, “g”, “b” and “a” represent the red, green,
-blue and alpha values respectively. r, g, and b are
-represented as integers in the range 0 to 255, and a
-is represented as floating point value in the range 0 to 1.
+blue and alpha values respectively. “r”, “g”, and “b” are
+represented as integers in the range 0 to 255, and “a”
+is represented as a floating point value in the range 0 to 1.
-These string forms are string forms those supported by
+These string forms are string forms that are supported by
the CSS3 colors module, and can be parsed by gdk_rgba_parse().
Note that this string representation may lose some
-precision, since r, g and b are represented as 8-bit
+precision, since “r”, “g” and “b” are represented as 8-bit
integers. If this is a concern, you should use a
different representation.
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index abe0c8e5..c5ee71f0 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -2784,15 +2784,6 @@
(return-type "gboolean")
)
-(define-method set_user_data
- (of-object "GdkEvent")
- (c-name "gdk_event_set_user_data")
- (return-type "none")
- (parameters
- '("GObject*" "user_data")
- )
-)
-
(define-method is_sent
(of-object "GdkEvent")
(c-name "gdk_event_is_sent")
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 51051bfb..f9058d5b 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -2593,17 +2593,6 @@ the model is empty.
</description>
</property>
-<property name="GtkComboBox:column-span-column">
-<description>
-If this is set to a non-negative value, it must be the index of a column
-of type %G_TYPE_INT in the model. The value in that column for each item
-will determine how many columns that item will span in the popup.
-Therefore, values in this column must be greater than zero, and the sum of
-an item’s column position + span should not exceed #GtkComboBox:wrap-width.
-
-</description>
-</property>
-
<property name="GtkComboBox:entry-text-column">
<description>
The column in the combo box's model to associate with strings from the entry
@@ -2660,24 +2649,6 @@ it allows you to connect to notify::popup-shown.
</description>
</property>
-<property name="GtkComboBox:row-span-column">
-<description>
-If this is set to a non-negative value, it must be the index of a column
-of type %G_TYPE_INT in the model. The value in that column for each item
-will determine how many rows that item will span in the popup. Therefore,
-values in this column must be greater than zero.
-
-</description>
-</property>
-
-<property name="GtkComboBox:wrap-width">
-<description>
-If wrap-width is set to a positive value, items in the popup will be laid
-out along multiple columns, starting a new row on reaching the wrap width.
-
-</description>
-</property>
-
<enum name="GtkCornerType">
<description>
Specifies which corner a child widget should be placed in when packed into
@@ -4066,6 +4037,53 @@ The widget receiving the #GdkEvents that the controller will handle.
</description>
</property>
+<signal name="GtkEventControllerKey::focus-in">
+<description>
+This signal is emitted whenever the #GtkEventController:widget controlled
+by the @controller is given the keyboard focus.
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkEventControllerKey::focus-out">
+<description>
+This signal is emitted whenever the #GtkEventController:widget controlled
+by the @controller loses the keyboard focus.
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkEventControllerKey::im-update">
+<description>
+This signal is emitted whenever the input method context filters away a
+keypress and prevents the @controller receiving it. See
+gtk_event_controller_key_set_im_context() and
+gtk_im_context_filter_keypress().
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
<signal name="GtkEventControllerKey::key-pressed">
<description>
This signal is emitted whenever a key is pressed.
@@ -4120,6 +4138,30 @@ This signal is emitted whenever a key is released.
<return></return>
</signal>
+<signal name="GtkEventControllerKey::modifiers">
+<description>
+This signal is emitted whenever the state of modifier keys and pointer
+buttons change.
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+<parameter name="keyval">
+<parameter_description> the released key.
+</parameter_description>
+</parameter>
+<parameter name="state">
+<parameter_description> the bitmask, representing the new state of modifier keys and
+pointer buttons. See #GdkModifierType.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
<signal name="GtkEventControllerLegacy::event">
<description>
The GTK+ main loop will emit this signal for each GDK event delivered
@@ -13704,7 +13746,7 @@ Application developers should handle this signal if they want
to display a context menu on the toolbar. The context-menu should
appear at the coordinates given by @x and @y. The mouse button
number is given by the @button parameter. If the menu was popped
-up using the keybaord, @button is -1.
+up using the keyboard, @button is -1.
</description>
@@ -20567,31 +20609,11 @@ Gets the value set by gtk_box_set_spacing().
</return>
</function>
-<function name="gtk_box_new">
+<function name="gtk_box_insert_child_after">
<description>
-Creates a new #GtkBox.
-
-
-</description>
-<parameters>
-<parameter name="orientation">
-<parameter_description> the box’s orientation.
-</parameter_description>
-</parameter>
-<parameter name="spacing">
-<parameter_description> the number of pixels to place by default between children.
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new #GtkBox.
-</return>
-</function>
-
-<function name="gtk_box_pack_end">
-<description>
-Adds @child to @box, packed with reference to the end of @box.
-The @child is packed after (away from end of) any other child
-packed with reference to the end of @box.
+Inserts @child in the position after @sibling in the list
+of @box children. If @sibling is %NULL, insert @child at
+the first position.
</description>
<parameters>
@@ -20600,67 +20622,42 @@ packed with reference to the end of @box.
</parameter_description>
</parameter>
<parameter name="child">
-<parameter_description> the #GtkWidget to be added to @box
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_box_pack_start">
-<description>
-Adds @child to @box, packed with reference to the start of @box.
-The @child is packed after any other child packed with reference
-to the start of @box.
-
-</description>
-<parameters>
-<parameter name="box">
-<parameter_description> a #GtkBox
+<parameter_description> the #GtkWidget to insert
</parameter_description>
</parameter>
-<parameter name="child">
-<parameter_description> the #GtkWidget to be added to @box
+<parameter name="sibling">
+<parameter_description> the sibling to move @child after, or %NULL
</parameter_description>
</parameter>
</parameters>
<return></return>
</function>
-<function name="gtk_box_query_child_packing">
+<function name="gtk_box_new">
<description>
-Obtains information about how @child is packed into @box.
+Creates a new #GtkBox.
+
</description>
<parameters>
-<parameter name="box">
-<parameter_description> a #GtkBox
-</parameter_description>
-</parameter>
-<parameter name="child">
-<parameter_description> the #GtkWidget of the child to query
+<parameter name="orientation">
+<parameter_description> the box’s orientation.
</parameter_description>
</parameter>
-<parameter name="pack_type">
-<parameter_description> pointer to return location for pack-type
-child property
+<parameter name="spacing">
+<parameter_description> the number of pixels to place by default between children.
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> a new #GtkBox.
+</return>
</function>
-<function name="gtk_box_reorder_child">
+<function name="gtk_box_reorder_child_after">
<description>
-Moves @child to a new @position in the list of @box children.
-The list contains widgets packed #GTK_PACK_START
-as well as widgets packed #GTK_PACK_END, in the order that these
-widgets were added to @box.
-
-A widget’s position in the @box children list determines where
-the widget is packed into @box. A child widget at some position
-in the list will be packed just after all other widgets of the
-same packing type that appear earlier in the list.
+Moves @child to the position after @sibling in the list
+of @box children. If @sibling is %NULL, move @child to
+the first position.
</description>
<parameters>
@@ -20669,13 +20666,11 @@ same packing type that appear earlier in the list.
</parameter_description>
</parameter>
<parameter name="child">
-<parameter_description> the #GtkWidget to move
+<parameter_description> the #GtkWidget to move, must be a child of @box
</parameter_description>
</parameter>
-<parameter name="position">
-<parameter_description> the new position for @child in the list of children
-of @box, starting from 0. If negative, indicates the end of
-the list
+<parameter name="sibling">
+<parameter_description> the sibling to move @child after, or %NULL
</parameter_description>
</parameter>
</parameters>
@@ -20705,28 +20700,6 @@ extra space available.
<return></return>
</function>
-<function name="gtk_box_set_child_packing">
-<description>
-Sets the way @child is packed into @box.
-
-</description>
-<parameters>
-<parameter name="box">
-<parameter_description> a #GtkBox
-</parameter_description>
-</parameter>
-<parameter name="child">
-<parameter_description> the #GtkWidget of the child to set
-</parameter_description>
-</parameter>
-<parameter name="pack_type">
-<parameter_description> the new value of the pack-type child property
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_box_set_homogeneous">
<description>
Sets the #GtkBox:homogeneous property of @box, controlling
@@ -26411,22 +26384,6 @@ the model has one item to be selected.
</return>
</function>
-<function name="gtk_combo_box_get_column_span_column">
-<description>
-Returns the column with column span information for @combo_box.
-
-
-</description>
-<parameters>
-<parameter name="combo_box">
-<parameter_description> A #GtkComboBox
-</parameter_description>
-</parameter>
-</parameters>
-<return> the column span column.
-</return>
-</function>
-
<function name="gtk_combo_box_get_entry_text_column">
<description>
Returns the column which @combo_box is using to get the strings
@@ -26547,40 +26504,6 @@ Returns the current row separator function.
</return>
</function>
-<function name="gtk_combo_box_get_row_span_column">
-<description>
-Returns the column with row span information for @combo_box.
-
-
-</description>
-<parameters>
-<parameter name="combo_box">
-<parameter_description> A #GtkComboBox
-</parameter_description>
-</parameter>
-</parameters>
-<return> the row span column.
-</return>
-</function>
-
-<function name="gtk_combo_box_get_wrap_width">
-<description>
-Returns the wrap width which is used to determine the number of columns
-for the popup menu. If the wrap width is larger than 1, the combo box
-is in table mode.
-
-
-</description>
-<parameters>
-<parameter name="combo_box">
-<parameter_description> A #GtkComboBox
-</parameter_description>
-</parameter>
-</parameters>
-<return> the wrap width.
-</return>
-</function>
-
<function name="gtk_combo_box_new">
<description>
Creates a new empty #GtkComboBox.
@@ -26780,26 +26703,6 @@ or only if there is at least one item to display (%GTK_SENSITIVITY_AUTO).
<return></return>
</function>
-<function name="gtk_combo_box_set_column_span_column">
-<description>
-Sets the column with column span information for @combo_box to be
-@column_span. The column span column contains integers which indicate
-how many columns an item should span.
-
-</description>
-<parameters>
-<parameter name="combo_box">
-<parameter_description> A #GtkComboBox
-</parameter_description>
-</parameter>
-<parameter name="column_span">
-<parameter_description> A column in the model passed during construction
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_combo_box_set_entry_text_column">
<description>
Sets the model column which @combo_box should use to get strings from
@@ -26914,46 +26817,6 @@ function is %NULL, no separators are drawn. This is the default value.
<return></return>
</function>
-<function name="gtk_combo_box_set_row_span_column">
-<description>
-Sets the column with row span information for @combo_box to be @row_span.
-The row span column contains integers which indicate how many rows
-an item should span.
-
-</description>
-<parameters>
-<parameter name="combo_box">
-<parameter_description> A #GtkComboBox.
-</parameter_description>
-</parameter>
-<parameter name="row_span">
-<parameter_description> A column in the model passed during construction.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_combo_box_set_wrap_width">
-<description>
-Sets the wrap width of @combo_box to be @width. The wrap width is basically
-the preferred number of columns when you want the popup to be layed out
-in a table.
-
-</description>
-<parameters>
-<parameter name="combo_box">
-<parameter_description> A #GtkComboBox
-</parameter_description>
-</parameter>
-<parameter name="width">
-<parameter_description> Preferred number of columns
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_combo_box_text_append">
<description>
Appends @text to the list of strings stored in @combo_box.
@@ -27187,12 +27050,12 @@ Removes all the text entries from the combo box.
<description>
Adds @widget to @container. Typically used for simple containers
such as #GtkWindow, #GtkFrame, or #GtkButton; for more complicated
-layout containers such as #GtkBox or #GtkGrid, this function will
+layout containers such #GtkGrid, this function will
pick default packing parameters that may not be correct. So
-consider functions such as gtk_box_pack_start() and
-gtk_grid_attach() as an alternative to gtk_container_add() in
-those cases. A widget may be added to only one container at a time;
-you can’t place the same widget inside two different containers.
+consider functions such as gtk_grid_attach() as an alternative
+to gtk_container_add() in those cases. A widget may be added to
+only one container at a time; you can’t place the same widget
+inside two different containers.
Note that some containers, such as #GtkScrolledWindow or #GtkListBox,
may add intermediate children between the added widget and the
@@ -27603,6 +27466,8 @@ should iterate over precisely those child widgets that were
added to the container by the application with explicit add()
calls.
+It is permissible to remove the child from the @callback handler.
+
Most applications should use gtk_container_foreach(),
rather than gtk_container_forall().
@@ -28450,7 +28315,7 @@ of a dialog.
Creates a new dialog box.
Widgets should not be packed into this #GtkWindow
-directly, but into the @vbox and @action_area, as described above.
+directly, but into the @content_area and @action_area, as described above.
</description>
@@ -31159,8 +31024,10 @@ Retrieves the text that will be displayed when @entry is empty and unfocused
</parameter_description>
</parameter>
</parameters>
-<return> a pointer to the placeholder text as a string. This string points to internally allocated
-storage in the widget and must not be freed, modified or stored.
+<return>a pointer to the placeholder text as a string.
+This string points to internally allocated storage in the widget and must
+not be freed, modified or stored. If no placeholder text has been set,
+%NULL will be returned.
</return>
</function>
@@ -31902,16 +31769,10 @@ Sets whether the text is overwritten when typing in the #GtkEntry.
<function name="gtk_entry_set_placeholder_text">
<description>
-Sets text to be displayed in @entry when it is empty and unfocused.
+Sets text to be displayed in @entry when it is empty.
This can be used to give a visual hint of the expected contents of
the #GtkEntry.
-Note that since the placeholder text gets removed when the entry
-received focus, using this feature is a bit problematic if the entry
-is given the initial focus in a window. Sometimes this can be
-worked around by delaying the initial focus setting until the
-first key event arrives.
-
</description>
<parameters>
<parameter name="entry">
@@ -32179,9 +32040,46 @@ controller action
</return>
</function>
+<function name="gtk_event_controller_key_forward">
+<description>
+Forwards the current event of this @controller to a @widget.
+
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> a #GtkEventControllerKey
+</parameter_description>
+</parameter>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+</parameters>
+<return> whether the @widget handled the event
+</return>
+</function>
+
+<function name="gtk_event_controller_key_get_group">
+<description>
+Gets the key group of the current event of this @controller.
+See gdk_event_get_key_group().
+
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> a #GtkEventControllerKey
+</parameter_description>
+</parameter>
+</parameters>
+<return> the key group
+</return>
+</function>
+
<function name="gtk_event_controller_key_get_im_context">
<description>
-Gets the IM context of a key controller.
+Gets the input method context of the key @controller.
</description>
@@ -32191,10 +32089,40 @@ Gets the IM context of a key controller.
</parameter_description>
</parameter>
</parameters>
-<return> the IM context
+<return> the #GtkIMContext
</return>
</function>
+<function name="gtk_event_controller_key_new">
+<description>
+Creates a new event controller that will handle key events.
+
+
+</description>
+<parameters>
+</parameters>
+<return> a new #GtkEventControllerKey
+</return>
+</function>
+
+<function name="gtk_event_controller_key_set_im_context">
+<description>
+Sets the input method context of the key @controller.
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> a #GtkEventControllerKey
+</parameter_description>
+</parameter>
+<parameter name="im_context">
+<parameter_description> a #GtkIMContext
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_event_controller_motion_new">
<description>
Creates a new event controller that will handle motion events.
@@ -37067,8 +36995,8 @@ mouse events will be handled too.
<function name="gtk_gesture_stylus_get_axes">
<description>
Returns the current values for the requested @axes. This function
-must be called from either the #GtkGestureStylus:down,
-#GtkGestureStylus:motion, #GtkGestureStylus:up or #GtkGestureStylus:proximity
+must be called from either the #GtkGestureStylus::down,
+#GtkGestureStylus::motion, #GtkGestureStylus::up or #GtkGestureStylus::proximity
signals.
@@ -37094,8 +37022,8 @@ signals.
<function name="gtk_gesture_stylus_get_axis">
<description>
Returns the current value for the requested @axis. This function
-must be called from either the #GtkGestureStylus:down,
-#GtkGestureStylus:motion, #GtkGestureStylus:up or #GtkGestureStylus:proximity
+must be called from either the #GtkGestureStylus::down,
+#GtkGestureStylus::motion, #GtkGestureStylus::up or #GtkGestureStylus::proximity
signals.
@@ -42562,8 +42490,8 @@ or for use in a #GtkWidget::query-tooltip handler.
</parameter_description>
</parameter>
</parameters>
-<return> the currently active URI. The string is owned by GTK+ and must
-not be freed or modified.
+<return> the currently active URI or %NULL if there is none.
+The string is owned by GTK+ and must not be freed or modified.
</return>
</function>
@@ -46058,6 +45986,10 @@ Sets @self into an error state. This will pause the stream
your GtkMediaStream.pause() implementation), abort pending seeks
and mark the stream as prepared.
+if the stream is already in an error state, this call will be ignored
+and the existing error will be retained.
+FIXME: Or do we want to set the new error?
+
To unset an error, the stream must be reset via a call to
gtk_media_stream_unprepared().
@@ -46600,46 +46532,6 @@ implementations to call this at the frequency they deem appropriate.
<return></return>
</function>
-<function name="gtk_menu_attach">
-<description>
-Adds a new #GtkMenuItem to a (table) menu. The number of “cells” that
-an item will occupy is specified by @left_attach, @right_attach,
-@top_attach and @bottom_attach. These each represent the leftmost,
-rightmost, uppermost and lower column and row numbers of the table.
-(Columns and rows are indexed from zero).
-
-Note that this function is not related to gtk_menu_detach().
-
-</description>
-<parameters>
-<parameter name="menu">
-<parameter_description> a #GtkMenu
-</parameter_description>
-</parameter>
-<parameter name="child">
-<parameter_description> a #GtkMenuItem
-</parameter_description>
-</parameter>
-<parameter name="left_attach">
-<parameter_description> The column number to attach the left side of the item to
-</parameter_description>
-</parameter>
-<parameter name="right_attach">
-<parameter_description> The column number to attach the right side of the item to
-</parameter_description>
-</parameter>
-<parameter name="top_attach">
-<parameter_description> The row number to attach the top of the item to
-</parameter_description>
-</parameter>
-<parameter name="bottom_attach">
-<parameter_description> The row number to attach the bottom of the item to
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_menu_attach_to_widget">
<description>
Attaches the menu to the widget and provides a callback function
@@ -74715,6 +74607,27 @@ Moves the @path to point to its parent node, if it has a parent.
</return>
</function>
+<function name="gtk_tree_rbtree_contains">
+<description>
+Checks if @potential_child is a child (direct or via intermediate
+trees) of @tree.
+
+
+</description>
+<parameters>
+<parameter name="tree">
+<parameter_description> a tree
+</parameter_description>
+</parameter>
+<parameter name="potential_child">
+<parameter_description> a potential child of @tree
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if @potentitial_child is a child of @tree.
+</return>
+</function>
+
<function name="gtk_tree_row_reference_copy">
<description>
Copies a #GtkTreeRowReference.
@@ -82414,34 +82327,6 @@ to reorder @widget in the child widget list of @parent.
<return></return>
</function>
-<function name="gtk_widget_intersect">
-<description>
-Computes the intersection of a @widget’s area and @area, storing
-the intersection in @intersection, and returns %TRUE if there was
-an intersection. @intersection may be %NULL if you’re only
-interested in whether there was an intersection.
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget
-</parameter_description>
-</parameter>
-<parameter name="area">
-<parameter_description> a rectangle
-</parameter_description>
-</parameter>
-<parameter name="intersection">
-<parameter_description> rectangle to store
-intersection of @widget and @area
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if there was an intersection
-</return>
-</function>
-
<function name="gtk_widget_is_ancestor">
<description>
Determines whether @widget is somewhere inside @ancestor, possibly with
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 318f5be9..16e3829c 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -4713,24 +4713,6 @@
)
)
-(define-method pack_start
- (of-object "GtkBox")
- (c-name "gtk_box_pack_start")
- (return-type "none")
- (parameters
- '("GtkWidget*" "child")
- )
-)
-
-(define-method pack_end
- (of-object "GtkBox")
- (c-name "gtk_box_pack_end")
- (return-type "none")
- (parameters
- '("GtkWidget*" "child")
- )
-)
-
(define-method set_homogeneous
(of-object "GtkBox")
(c-name "gtk_box_set_homogeneous")
@@ -4776,33 +4758,23 @@
(return-type "GtkBaselinePosition")
)
-(define-method reorder_child
+(define-method insert_child_after
(of-object "GtkBox")
- (c-name "gtk_box_reorder_child")
+ (c-name "gtk_box_insert_child_after")
(return-type "none")
(parameters
'("GtkWidget*" "child")
- '("gint" "position")
- )
-)
-
-(define-method query_child_packing
- (of-object "GtkBox")
- (c-name "gtk_box_query_child_packing")
- (return-type "none")
- (parameters
- '("GtkWidget*" "child")
- '("GtkPackType*" "pack_type")
+ '("GtkWidget*" "sibling")
)
)
-(define-method set_child_packing
+(define-method reorder_child_after
(of-object "GtkBox")
- (c-name "gtk_box_set_child_packing")
+ (c-name "gtk_box_reorder_child_after")
(return-type "none")
(parameters
'("GtkWidget*" "child")
- '("GtkPackType" "pack_type")
+ '("GtkWidget*" "sibling")
)
)
@@ -15746,19 +15718,6 @@
)
)
-(define-method attach
- (of-object "GtkMenu")
- (c-name "gtk_menu_attach")
- (return-type "none")
- (parameters
- '("GtkWidget*" "child")
- '("guint" "left_attach")
- '("guint" "right_attach")
- '("guint" "top_attach")
- '("guint" "bottom_attach")
- )
-)
-
(define-method set_monitor
(of-object "GtkMenu")
(c-name "gtk_menu_set_monitor")
@@ -26650,14 +26609,6 @@
)
)
-(define-function gtk_tooltip_trigger_tooltip_query
- (c-name "gtk_tooltip_trigger_tooltip_query")
- (return-type "none")
- (parameters
- '("GdkDisplay*" "display")
- )
-)
-
;; From gtktrashmonitor.h
@@ -29731,16 +29682,6 @@
(return-type "gboolean")
)
-(define-method intersect
- (of-object "GtkWidget")
- (c-name "gtk_widget_intersect")
- (return-type "gboolean")
- (parameters
- '("const-GdkRectangle*" "area")
- '("GdkRectangle*" "intersection")
- )
-)
-
(define-method freeze_child_notify
(of-object "GtkWidget")
(c-name "gtk_widget_freeze_child_notify")
@@ -32218,145 +32159,6 @@
-;; From gtk-text-input-client-protocol.h
-
-(define-function gtk_text_input_add_listener
- (c-name "gtk_text_input_add_listener")
- (return-type "int")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- '("const-struct-gtk_text_input_listener*" "listener")
- '("void*" "data")
- )
-)
-
-(define-function gtk_text_input_set_user_data
- (c-name "gtk_text_input_set_user_data")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- '("void*" "user_data")
- )
-)
-
-(define-function gtk_text_input_get_user_data
- (c-name "gtk_text_input_get_user_data")
- (return-type "void*")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- )
-)
-
-(define-function gtk_text_input_get_version
- (c-name "gtk_text_input_get_version")
- (return-type "uint32_t")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- )
-)
-
-(define-function gtk_text_input_destroy
- (c-name "gtk_text_input_destroy")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- )
-)
-
-(define-function gtk_text_input_enable
- (c-name "gtk_text_input_enable")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- '("uint32_t" "serial")
- '("uint32_t" "show_input_panel")
- )
-)
-
-(define-function gtk_text_input_disable
- (c-name "gtk_text_input_disable")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- )
-)
-
-(define-function gtk_text_input_set_surrounding_text
- (c-name "gtk_text_input_set_surrounding_text")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- '("const-char*" "text")
- '("int32_t" "cursor")
- '("int32_t" "anchor")
- )
-)
-
-(define-function gtk_text_input_set_content_type
- (c-name "gtk_text_input_set_content_type")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- '("uint32_t" "hint")
- '("uint32_t" "purpose")
- )
-)
-
-(define-function gtk_text_input_set_cursor_rectangle
- (c-name "gtk_text_input_set_cursor_rectangle")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- '("int32_t" "x")
- '("int32_t" "y")
- '("int32_t" "width")
- '("int32_t" "height")
- )
-)
-
-(define-function gtk_text_input_commit
- (c-name "gtk_text_input_commit")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input*" "gtk_text_input")
- )
-)
-
-(define-function gtk_text_input_manager_set_user_data
- (c-name "gtk_text_input_manager_set_user_data")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
- '("void*" "user_data")
- )
-)
-
-(define-function gtk_text_input_manager_get_user_data
- (c-name "gtk_text_input_manager_get_user_data")
- (return-type "void*")
- (parameters
- '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
- )
-)
-
-(define-function gtk_text_input_manager_get_version
- (c-name "gtk_text_input_manager_get_version")
- (return-type "uint32_t")
- (parameters
- '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
- )
-)
-
-(define-function gtk_text_input_manager_destroy
- (c-name "gtk_text_input_manager_destroy")
- (return-type "none")
- (parameters
- '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
- )
-)
-
-
-
;; From gtktypebuiltins.h
(define-function gtk_license_get_type
@@ -32869,3 +32671,149 @@
;; From gtkversion.h
+
+;; From text-input-unstable-v3-client-protocol.h
+
+(define-function zwp_text_input_v3_add_listener
+ (c-name "zwp_text_input_v3_add_listener")
+ (return-type "int")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ '("const-struct-zwp_text_input_v3_listener*" "listener")
+ '("void*" "data")
+ )
+)
+
+(define-function zwp_text_input_v3_set_user_data
+ (c-name "zwp_text_input_v3_set_user_data")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ '("void*" "user_data")
+ )
+)
+
+(define-function zwp_text_input_v3_get_user_data
+ (c-name "zwp_text_input_v3_get_user_data")
+ (return-type "void*")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ )
+)
+
+(define-function zwp_text_input_v3_get_version
+ (c-name "zwp_text_input_v3_get_version")
+ (return-type "uint32_t")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ )
+)
+
+(define-function zwp_text_input_v3_destroy
+ (c-name "zwp_text_input_v3_destroy")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ )
+)
+
+(define-function zwp_text_input_v3_enable
+ (c-name "zwp_text_input_v3_enable")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ )
+)
+
+(define-function zwp_text_input_v3_disable
+ (c-name "zwp_text_input_v3_disable")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ )
+)
+
+(define-function zwp_text_input_v3_set_surrounding_text
+ (c-name "zwp_text_input_v3_set_surrounding_text")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ '("const-char*" "text")
+ '("int32_t" "cursor")
+ '("int32_t" "anchor")
+ )
+)
+
+(define-function zwp_text_input_v3_set_text_change_cause
+ (c-name "zwp_text_input_v3_set_text_change_cause")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ '("uint32_t" "cause")
+ )
+)
+
+(define-function zwp_text_input_v3_set_content_type
+ (c-name "zwp_text_input_v3_set_content_type")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ '("uint32_t" "hint")
+ '("uint32_t" "purpose")
+ )
+)
+
+(define-function zwp_text_input_v3_set_cursor_rectangle
+ (c-name "zwp_text_input_v3_set_cursor_rectangle")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ '("int32_t" "x")
+ '("int32_t" "y")
+ '("int32_t" "width")
+ '("int32_t" "height")
+ )
+)
+
+(define-function zwp_text_input_v3_commit
+ (c-name "zwp_text_input_v3_commit")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_v3*" "zwp_text_input_v3")
+ )
+)
+
+(define-function zwp_text_input_manager_v3_set_user_data
+ (c-name "zwp_text_input_manager_v3_set_user_data")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_manager_v3*" "zwp_text_input_manager_v3")
+ '("void*" "user_data")
+ )
+)
+
+(define-function zwp_text_input_manager_v3_get_user_data
+ (c-name "zwp_text_input_manager_v3_get_user_data")
+ (return-type "void*")
+ (parameters
+ '("struct-zwp_text_input_manager_v3*" "zwp_text_input_manager_v3")
+ )
+)
+
+(define-function zwp_text_input_manager_v3_get_version
+ (c-name "zwp_text_input_manager_v3_get_version")
+ (return-type "uint32_t")
+ (parameters
+ '("struct-zwp_text_input_manager_v3*" "zwp_text_input_manager_v3")
+ )
+)
+
+(define-function zwp_text_input_manager_v3_destroy
+ (c-name "zwp_text_input_manager_v3_destroy")
+ (return-type "none")
+ (parameters
+ '("struct-zwp_text_input_manager_v3*" "zwp_text_input_manager_v3")
+ )
+)
+
+
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index ec120ba3..9c2f5bc6 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -2367,36 +2367,6 @@
(construct-only #f)
)
-(define-property wrap-width
- (of-object "GtkComboBox")
- (prop-type "GParamInt")
- (docs "Wrap width for laying out the items in a grid")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-property row-span-column
- (of-object "GtkComboBox")
- (prop-type "GParamInt")
- (docs "TreeModel column containing the row span values")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
-(define-property column-span-column
- (of-object "GtkComboBox")
- (prop-type "GParamInt")
- (docs "TreeModel column containing the column span values")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
(define-property active
(of-object "GtkComboBox")
(prop-type "GParamInt")
@@ -12310,16 +12280,6 @@
(default-value "GTK_PACK_START")
)
-(define-child-property position
- (of-object "GtkActionBar")
- (prop-type "GParamInt")
- (docs "The index of the child in the parent")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
(define-child-property page-type
(of-object "GtkAssistant")
(prop-type "GParamEnum")
@@ -12360,26 +12320,6 @@
(default-value "TRUE")
)
-(define-child-property pack-type
- (of-object "GtkBox")
- (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 position
- (of-object "GtkBox")
- (prop-type "GParamInt")
- (docs "The index of the child in the parent")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
(define-child-property secondary
(of-object "GtkButtonBox")
(prop-type "GParamBoolean")
@@ -12470,16 +12410,6 @@
(default-value "GTK_PACK_START")
)
-(define-child-property position
- (of-object "GtkHeaderBar")
- (prop-type "GParamInt")
- (docs "The index of the child in the parent")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
(define-child-property x
(of-object "GtkLayout")
(prop-type "GParamInt")
@@ -12500,46 +12430,6 @@
(default-value "0")
)
-(define-child-property left-attach
- (of-object "GtkMenu")
- (prop-type "GParamInt")
- (docs "The column number to attach the left side of the child to")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
-(define-child-property right-attach
- (of-object "GtkMenu")
- (prop-type "GParamInt")
- (docs "The column number to attach the right side of the child to")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
-(define-child-property top-attach
- (of-object "GtkMenu")
- (prop-type "GParamInt")
- (docs "The row number to attach the top of the child to")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
-(define-child-property bottom-attach
- (of-object "GtkMenu")
- (prop-type "GParamInt")
- (docs "The row number to attach the bottom of the child to")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
(define-child-property tab-label
(of-object "GtkNotebook")
(prop-type "GParamString")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]