[gtkmm] Gtk: Regenerate docs.xml and .defs files
- From: Andreas Persson <andreasp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk: Regenerate docs.xml and .defs files
- Date: Sun, 4 Oct 2020 17:33:58 +0000 (UTC)
commit a9af2dc4d7b82fe680959e80375713f49840e2dd
Author: Andreas Persson <andreasp56 outlook com>
Date: Sun Oct 4 19:33:21 2020 +0200
Gtk: Regenerate docs.xml and .defs files
gtk/src/gtk_docs.xml | 673 +++++++++++++++++++++++++++--------------------
gtk/src/gtk_enums.defs | 4 +-
gtk/src/gtk_methods.defs | 90 ++++++-
gtk/src/gtk_signals.defs | 30 +--
4 files changed, 483 insertions(+), 314 deletions(-)
---
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index a725b8b2..1e0d98f0 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -2992,13 +2992,6 @@ as well, use the notify::color signal.
<return></return>
</signal>
-<property name="GtkColorButton:rgba">
-<description>
-The RGBA color.
-
-</description>
-</property>
-
<property name="GtkColorButton:show-editor">
<description>
Set this property to %TRUE to skip the palette
@@ -3018,15 +3011,6 @@ The title of the color selection dialog
</description>
</property>
-<property name="GtkColorButton:use-alpha">
-<description>
-If this property is set to %TRUE, the color swatch on the button is
-rendered against a checkerboard background to show its opacity and
-the opacity slider is displayed in the color selection dialog.
-
-</description>
-</property>
-
<signal name="GtkColorChooser::color-activated">
<description>
Emitted when a color is activated from the color chooser.
@@ -4006,13 +3990,6 @@ Priority used when loading
</description>
</property>
-<property name="GtkDirectoryList:item-type">
-<description>
-The #GType for elements of this object
-
-</description>
-</property>
-
<property name="GtkDirectoryList:loading">
<description>
%TRUE if files are being loaded
@@ -4877,6 +4854,15 @@ A list of tabstops to apply to the text of the entry.
<return></return>
</signal>
+<property name="GtkEntry:activate">
+<description>
+The ::activate signal is forwarded from the
+#GtkText::activated signal, which is a keybinding
+signal for all forms of the Enter key.
+
+</description>
+</property>
+
<property name="GtkEntry:attributes">
<description>
A list of Pango attributes to apply to the text of the entry.
@@ -8305,6 +8291,11 @@ first word of each sentence
<parameter_description> Suggest not offering Emoji support
</parameter_description>
</parameter>
+<parameter name="GTK_INPUT_HINT_PRIVATE">
+<parameter_description> Request that the input method should not
+update personalized data (like typing history)
+</parameter_description>
+</parameter>
</parameters>
</enum>
@@ -10130,6 +10121,15 @@ between two notebooks, whose tab rows would otherwise merge visually).
</description>
</property>
+<property name="GtkPasswordEntry:activate">
+<description>
+The ::activate signal is forwarded from the
+#GtkText::activated signal, which is a keybinding
+signal for all forms of the Enter key.
+
+</description>
+</property>
+
<property name="GtkPasswordEntry:extra-menu">
<description>
A menu model whose contents will be appended to
@@ -12122,6 +12122,15 @@ The default bindings for this signal is Escape.
<return></return>
</signal>
+<property name="GtkSearchEntry:activate">
+<description>
+The ::activate signal is forwarded from the
+#GtkText::activated signal, which is a keybinding
+signal for all forms of the Enter key.
+
+</description>
+</property>
+
<property name="GtkSelectionFilterModel:model">
<description>
The model being filtered
@@ -13877,7 +13886,7 @@ The default bindings for this signal are all forms of the Enter key.
</description>
<parameters>
<parameter name="self">
-<parameter_description> The self on which the signal is emitted
+<parameter_description> The widget on which the signal is emitted
</parameter_description>
</parameter>
</parameters>
@@ -16431,6 +16440,9 @@ hidden).
Whether the widget or any of its descendents can accept
the input focus.
+This property is meant to be set by widget implementations,
+typically in their instance init function.
+
</description>
</property>
@@ -16445,6 +16457,9 @@ A list of css classes applied to this widget.
<description>
The name of this widget in the CSS tree.
+This property is meant to be set by widget implementations,
+typically in their instance init function.
+
</description>
</property>
@@ -16507,6 +16522,9 @@ Whether to use the #GtkWidget:hexpand property. See gtk_widget_get_hexpand_set()
The #GtkLayoutManager instance to use to compute the preferred size
of the widget, and allocate its children.
+This property is meant to be set by widget implementations,
+typically in their instance init function.
+
</description>
</property>
@@ -16570,6 +16588,9 @@ Before 3.8 this was only available in GtkWindow
<description>
How content outside the widget's content area is treated.
+This property is meant to be set by widget implementations,
+typically in their instance init function.
+
</description>
</property>
@@ -22175,160 +22196,6 @@ number of pixels to place between children of @box.
<return></return>
</function>
-<function name="gtk_buildable_add_child">
-<description>
-Adds a child to @buildable. @type is an optional string
-describing how the child should be added.
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> a #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="builder">
-<parameter_description> a #GtkBuilder
-</parameter_description>
-</parameter>
-<parameter name="child">
-<parameter_description> child to add
-</parameter_description>
-</parameter>
-<parameter name="type">
-<parameter_description> kind of child or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_buildable_construct_child">
-<description>
-Constructs a child of @buildable with the name @name.
-
-#GtkBuilder calls this function if a “constructor” has been
-specified in the UI definition.
-
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> A #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="builder">
-<parameter_description> #GtkBuilder used to construct this object
-</parameter_description>
-</parameter>
-<parameter name="name">
-<parameter_description> name of child to construct
-</parameter_description>
-</parameter>
-</parameters>
-<return> the constructed child
-</return>
-</function>
-
-<function name="gtk_buildable_custom_finished">
-<description>
-This is similar to gtk_buildable_parser_finished() but is
-called once for each custom tag handled by the @buildable.
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> a #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="builder">
-<parameter_description> a #GtkBuilder
-</parameter_description>
-</parameter>
-<parameter name="child">
-<parameter_description> child object or %NULL for non-child tags
-</parameter_description>
-</parameter>
-<parameter name="tagname">
-<parameter_description> the name of the tag
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> user data created in custom_tag_start
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_buildable_custom_tag_end">
-<description>
-This is called at the end of each custom element handled by
-the buildable.
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> A #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="builder">
-<parameter_description> #GtkBuilder used to construct this object
-</parameter_description>
-</parameter>
-<parameter name="child">
-<parameter_description> child object or %NULL for non-child tags
-</parameter_description>
-</parameter>
-<parameter name="tagname">
-<parameter_description> name of tag
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> user data that will be passed in to parser functions
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_buildable_custom_tag_start">
-<description>
-This is called for each unknown element under <child>.
-
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> a #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="builder">
-<parameter_description> a #GtkBuilder used to construct this object
-</parameter_description>
-</parameter>
-<parameter name="child">
-<parameter_description> child object or %NULL for non-child tags
-</parameter_description>
-</parameter>
-<parameter name="tagname">
-<parameter_description> name of tag
-</parameter_description>
-</parameter>
-<parameter name="parser">
-<parameter_description> a #GMarkupParser to fill in
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> return location for user data that will be passed in
-to parser functions
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if an object has a custom implementation, %FALSE
-if it doesn't.
-</return>
-</function>
-
<function name="gtk_buildable_get_buildable_id">
<description>
Gets the ID of the @buildable object.
@@ -22349,30 +22216,6 @@ used to construct the @buildable.
</return>
</function>
-<function name="gtk_buildable_get_internal_child">
-<description>
-Get the internal child called @childname of the @buildable object.
-
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> a #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="builder">
-<parameter_description> a #GtkBuilder
-</parameter_description>
-</parameter>
-<parameter name="childname">
-<parameter_description> name of child
-</parameter_description>
-</parameter>
-</parameters>
-<return> the internal child of the buildable object
-</return>
-</function>
-
<function name="gtk_buildable_parse_context_get_element">
<description>
Retrieves the name of the currently open element.
@@ -22522,72 +22365,6 @@ has the same kind of API.
<return></return>
</function>
-<function name="gtk_buildable_parser_finished">
-<description>
-Called when the builder finishes the parsing of a
-[GtkBuilder UI definition][BUILDER-UI].
-Note that this will be called once for each time
-gtk_builder_add_from_file() or gtk_builder_add_from_string()
-is called on a builder.
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> a #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="builder">
-<parameter_description> a #GtkBuilder
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_buildable_set_buildable_id">
-<description>
-Sets the ID of the @buildable object.
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> a #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="id">
-<parameter_description> name to set
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_buildable_set_buildable_property">
-<description>
-Sets the property name @name to @value on the @buildable object.
-
-</description>
-<parameters>
-<parameter name="buildable">
-<parameter_description> a #GtkBuildable
-</parameter_description>
-</parameter>
-<parameter name="builder">
-<parameter_description> a #GtkBuilder
-</parameter_description>
-</parameter>
-<parameter name="name">
-<parameter_description> name of property
-</parameter_description>
-</parameter>
-<parameter name="value">
-<parameter_description> value of property
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_builder_add_from_file">
<description>
Parses a file containing a [GtkBuilder UI definition][BUILDER-UI]
@@ -42749,6 +42526,23 @@ See gtk_icon_theme_set_search_path().
<return></return>
</function>
+<function name="gtk_icon_theme_get_display">
+<description>
+Returns the display that the GtkIconTheme object was
+created for.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkIconTheme
+</parameter_description>
+</parameter>
+</parameters>
+<return> the display of @icon_theme
+</return>
+</function>
+
<function name="gtk_icon_theme_get_for_display">
<description>
Gets the icon theme object associated with @display; if this
@@ -43010,9 +42804,12 @@ looking for icons, similar to search paths.
The resources are considered as part of the hicolor icon theme
and must be located in subdirectories that are defined in the
-hicolor icon theme, such as `@path/16x16/actions/run.png`.
+hicolor icon theme, such as `@path/16x16/actions/run.png`
+or `@path/scalable/actions/run.svg`.
+
Icons that are directly placed in the resource path instead
-of a subdirectory are also considered as ultimate fallback.
+of a subdirectory are also considered as ultimate fallback,
+but they are treated like unthemed icons.
</description>
<parameters>
@@ -65757,6 +65554,52 @@ Appends an outset shadow node around the box given by @outline.
<return></return>
</function>
+<function name="gtk_snapshot_append_radial_gradient">
+<description>
+Appends a radial gradient node with the given stops to @snapshot.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="bounds">
+<parameter_description> the rectangle to render the readial gradient into
+</parameter_description>
+</parameter>
+<parameter name="center">
+<parameter_description> the center point for the radial gradient
+</parameter_description>
+</parameter>
+<parameter name="hradius">
+<parameter_description> the horizontal radius
+</parameter_description>
+</parameter>
+<parameter name="vradius">
+<parameter_description> the vertical radius
+</parameter_description>
+</parameter>
+<parameter name="start">
+<parameter_description> the start position (on the horizontal axis)
+</parameter_description>
+</parameter>
+<parameter name="end">
+<parameter_description> the end position (on the horizontal axis)
+</parameter_description>
+</parameter>
+<parameter name="stops">
+<parameter_description> a pointer to an array of #GskColorStop defining the gradient
+</parameter_description>
+</parameter>
+<parameter name="n_stops">
+<parameter_description> the number of elements in @stops
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_append_repeating_linear_gradient">
<description>
Appends a repeating linear gradient node with the given stops to @snapshot.
@@ -65791,6 +65634,52 @@ Appends a repeating linear gradient node with the given stops to @snapshot.
<return></return>
</function>
+<function name="gtk_snapshot_append_repeating_radial_gradient">
+<description>
+Appends a repeating radial gradient node with the given stops to @snapshot.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="bounds">
+<parameter_description> the rectangle to render the readial gradient into
+</parameter_description>
+</parameter>
+<parameter name="center">
+<parameter_description> the center point for the radial gradient
+</parameter_description>
+</parameter>
+<parameter name="hradius">
+<parameter_description> the horizontal radius
+</parameter_description>
+</parameter>
+<parameter name="vradius">
+<parameter_description> the vertical radius
+</parameter_description>
+</parameter>
+<parameter name="start">
+<parameter_description> the start position (on the horizontal axis)
+</parameter_description>
+</parameter>
+<parameter name="end">
+<parameter_description> the end position (on the horizontal axis)
+</parameter_description>
+</parameter>
+<parameter name="stops">
+<parameter_description> a pointer to an array of #GskColorStop defining the gradient
+</parameter_description>
+</parameter>
+<parameter name="n_stops">
+<parameter_description> the number of elements in @stops
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_append_texture">
<description>
Creates a new render node drawing the @texture into the given @bounds and appends it
@@ -65853,6 +65742,23 @@ or %NULL to use the bounds of the snapshot
</return>
</function>
+<function name="gtk_snapshot_gl_shader_pop_texture">
+<description>
+Removes the top element from the stack of render nodes and
+adds it to the nearest GskGLShaderNode below it. This must be called the
+same number of times as the number of textures is needed for the
+shader in gtk_snapshot_push_gl_shader().
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_new">
<description>
Creates a new #GtkSnapshot.
@@ -66051,6 +65957,58 @@ of a render node tree dump, for example in the GTK inspector.
<return></return>
</function>
+<function name="gtk_snapshot_push_gl_shader">
+<description>
+Push a #GskGLShaderNode with a specific #GskGLShader and a set of uniform values
+to use while rendering. Additionally this takes a list of @n_children other nodes
+which will be passed to the #GskGLShaderNode.
+
+The @take_args argument is a block of data to use for uniform
+arguments, as per types and offsets defined by the @shader. Normally this is
+generated by gsk_gl_shader_format_args() or #GskGLShaderArgBuilder.
+The snapshotter takes ownership of @take_args, so the caller should not free it
+after this.
+
+If the renderer doesn't support GL shaders, or if there is any problem when
+compiling the shader, then the node will draw pink. You should use
+gsk_gl_shader_compile() to ensure the @shader will work for the renderer
+before using it.
+
+If the shader requires textures (see gsk_gl_shader_get_n_textures()), then it is
+expected that you call gtk_snapshot_gl_shader_pop_texture() the number of times that are
+required. Each of these calls will generate a node that is added as a child to the gl shader
+node, which in turn will render these offscreen and pass as a texture to the shader.
+
+Once all textures (if any) are pop:ed, you must call the regular gtk_snapshot_pop().
+
+If you want to use pre-existing textures as input to the shader rather than
+rendering new ones, use gtk_snapshot_append_texture() to push a texture node. These
+will be used directly rather than being re-rendered.
+
+For details on how to write shaders, see #GskGLShader.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="shader">
+<parameter_description> The code to run
+</parameter_description>
+</parameter>
+<parameter name="bounds">
+<parameter_description> the rectangle to render into
+</parameter_description>
+</parameter>
+<parameter name="take_args">
+<parameter_description> Data block with arguments for the shader.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_push_opacity">
<description>
Modifies the opacity of an image.
@@ -66864,6 +66822,22 @@ Get the adjustment associated with a #GtkSpinButton
</return>
</function>
+<function name="gtk_spin_button_get_climb_rate">
+<description>
+Returns the acceleration rate for repeated changes.
+
+
+</description>
+<parameters>
+<parameter name="spin_button">
+<parameter_description> a #GtkSpinButton
+</parameter_description>
+</parameter>
+</parameters>
+<return> the acceleration rate
+</return>
+</function>
+
<function name="gtk_spin_button_get_digits">
<description>
Fetches the precision of @spin_button. See gtk_spin_button_set_digits().
@@ -67103,6 +67077,25 @@ Replaces the #GtkAdjustment associated with @spin_button.
<return></return>
</function>
+<function name="gtk_spin_button_set_climb_rate">
+<description>
+Sets the acceleration rate for repeated changes when you
+hold down a button or key.
+
+</description>
+<parameters>
+<parameter name="spin_button">
+<parameter_description> a #GtkSpinButton
+</parameter_description>
+</parameter>
+<parameter name="climb_rate">
+<parameter_description> the rate of acceleration, must be >= 0
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_spin_button_set_digits">
<description>
Set the precision to be displayed by @spin_button. Up to 20 digit precision
@@ -69508,7 +69501,8 @@ calling gtk_test_register_all_types().
<function name="gtk_test_register_all_types">
<description>
-Force registration of all core Gtk+ and Gdk object types.
+Force registration of all core GTK object types.
+
This allowes to refer to any of those object types via
g_type_from_name() after calling this function.
@@ -70305,10 +70299,11 @@ Obtains the location of @anchor within @buffer.
Initializes @iter to the start of the given line. If @line_number is greater
than the number of lines in the @buffer, the end iterator is returned.
+
</description>
<parameters>
<parameter name="buffer">
-<parameter_description> a #GtkTextBuffer
+<parameter_description> a #GtkTextBuffer
</parameter_description>
</parameter>
<parameter name="iter">
@@ -70320,7 +70315,8 @@ than the number of lines in the @buffer, the end iterator is returned.
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> whether the exact position has been found
+</return>
</function>
<function name="gtk_text_buffer_get_iter_at_line_index">
@@ -70333,14 +70329,15 @@ If @line_number is greater than the number of lines
in the @buffer, the end iterator is returned. And if @byte_index is off the
end of the line, the iterator at the end of the line is returned.
+
</description>
<parameters>
<parameter name="buffer">
-<parameter_description> a #GtkTextBuffer
+<parameter_description> a #GtkTextBuffer
</parameter_description>
</parameter>
<parameter name="iter">
-<parameter_description> iterator to initialize
+<parameter_description> iterator to initialize
</parameter_description>
</parameter>
<parameter name="line_number">
@@ -70352,7 +70349,8 @@ end of the line, the iterator at the end of the line is returned.
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> whether the exact position has been found
+</return>
</function>
<function name="gtk_text_buffer_get_iter_at_line_offset">
@@ -70366,6 +70364,7 @@ If @line_number is greater than the number of lines
in the @buffer, the end iterator is returned. And if @char_offset is off the
end of the line, the iterator at the end of the line is returned.
+
</description>
<parameters>
<parameter name="buffer">
@@ -70385,7 +70384,8 @@ end of the line, the iterator at the end of the line is returned.
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> whether the exact position has been found
+</return>
</function>
<function name="gtk_text_buffer_get_iter_at_mark">
@@ -70420,7 +70420,7 @@ the iterator one past the last valid character in the buffer.
</description>
<parameters>
<parameter name="buffer">
-<parameter_description> a #GtkTextBuffer
+<parameter_description> a #GtkTextBuffer
</parameter_description>
</parameter>
<parameter name="iter">
@@ -70566,7 +70566,9 @@ whether text is selected.
<function name="gtk_text_buffer_get_selection_content">
<description>
-Get a content provider for this buffer.
+Get a content provider for this buffer. It can be
+used to make the content of @buffer available in a
+#GdkClipboard, see gdk_clipboard_set_content().
</description>
@@ -71557,6 +71559,23 @@ this self.
</return>
</function>
+<function name="gtk_text_get_enable_emoji_completion">
+<description>
+Returns whether Emoji completion is enabled for this
+GtkText widget.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if Emoji completion is enabled
+</return>
+</function>
+
<function name="gtk_text_get_extra_menu">
<description>
Gets the menu model set with gtk_text_set_extra_menu().
@@ -71678,6 +71697,23 @@ not be freed, modified or stored. If no placeholder text has been set,
</return>
</function>
+<function name="gtk_text_get_propagate_text_width">
+<description>
+Returns whether the #GtkText will grow and shrink
+with the content.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if @self will propagate the text width
+</return>
+</function>
+
<function name="gtk_text_get_tabs">
<description>
Gets the tabstops that were set on the self using gtk_text_set_tabs(), if
@@ -71717,6 +71753,23 @@ in #GtkText, or 0 if there are none.
</return>
</function>
+<function name="gtk_text_get_truncate_multiline">
+<description>
+Returns whether the #GtkText will truncate multi-line text
+that is pasted into the widget
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if @self will truncate multi-line text
+</return>
+</function>
+
<function name="gtk_text_get_visibility">
<description>
Retrieves whether the text in @self is visible.
@@ -74441,6 +74494,26 @@ this widget.
<return></return>
</function>
+<function name="gtk_text_set_enable_emoji_completion">
+<description>
+Sets whether Emoji completion is enabled. If it is,
+typing ':', followed by a recognized keyword, will pop
+up a window with suggested Emojis matching the keyword.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="enable_emoji_completion">
+<parameter_description> %TRUE to enable Emoji completion
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_set_extra_menu">
<description>
Sets a menu model to add when constructing
@@ -74591,6 +74664,24 @@ contents of the self.
<return></return>
</function>
+<function name="gtk_text_set_propagate_text_width">
+<description>
+Sets whether the GtkText should grow and shrink with the content.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="propagate_text_width">
+<parameter_description> %TRUE to propagate the text width
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_set_tabs">
<description>
Sets a #PangoTabArray; the tabstops in the array are applied to the self
@@ -74610,6 +74701,25 @@ text.
<return></return>
</function>
+<function name="gtk_text_set_truncate_multiline">
+<description>
+Sets whether the GtkText should truncate multi-line text
+that is pasted into the widget.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="truncate_multiline">
+<parameter_description> %TRUE to truncate multi-line text
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_set_visibility">
<description>
Sets whether the contents of the self are visible or not.
@@ -88231,6 +88341,7 @@ The default value is %GTK_OVERFLOW_VISIBLE.
<description>
This function is useful only when implementing subclasses of
#GtkWidget.
+
Sets @parent as the parent widget 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
@@ -88678,8 +88789,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.
+It should be called by parent widgets to dissociate @widget
+from the parent, typically in dispose.
</description>
<parameters>
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index f50894f2..6f0e290e 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -1206,7 +1206,8 @@
;; GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7,
;; GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8,
;; GTK_INPUT_HINT_EMOJI = 1 << 9,
-;; GTK_INPUT_HINT_NO_EMOJI = 1 << 10
+;; GTK_INPUT_HINT_NO_EMOJI = 1 << 10,
+;; GTK_INPUT_HINT_PRIVATE = 1 << 11,
;; } GtkInputHints;
(define-flags-extended InputHints
@@ -1225,6 +1226,7 @@
'("vertical-writing" "GTK_INPUT_HINT_VERTICAL_WRITING" "1 << 8")
'("emoji" "GTK_INPUT_HINT_EMOJI" "1 << 9")
'("no-emoji" "GTK_INPUT_HINT_NO_EMOJI" "1 << 10")
+ '("private" "GTK_INPUT_HINT_PRIVATE" "1 << 11")
)
)
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 1bc136d7..76f85d14 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -1135,6 +1135,7 @@
'("vertical-writing" "GTK_INPUT_HINT_VERTICAL_WRITING")
'("emoji" "GTK_INPUT_HINT_EMOJI")
'("no-emoji" "GTK_INPUT_HINT_NO_EMOJI")
+ '("private" "GTK_INPUT_HINT_PRIVATE")
)
)
@@ -12666,6 +12667,12 @@
)
)
+(define-method get_display
+ (of-object "GtkIconTheme")
+ (c-name "gtk_icon_theme_get_display")
+ (return-type "GdkDisplay*")
+)
+
(define-method set_search_path
(of-object "GtkIconTheme")
(c-name "gtk_icon_theme_set_search_path")
@@ -22595,6 +22602,23 @@
)
)
+(define-method push_gl_shader
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_push_gl_shader")
+ (return-type "none")
+ (parameters
+ '("GskGLShader*" "shader")
+ '("const-graphene_rect_t*" "bounds")
+ '("GBytes*" "take_args")
+ )
+)
+
+(define-method gl_shader_pop_texture
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_gl_shader_pop_texture")
+ (return-type "none")
+)
+
(define-method pop
(of-object "GtkSnapshot")
(c-name "gtk_snapshot_pop")
@@ -23204,6 +23228,21 @@
(return-type "gboolean")
)
+(define-method set_climb_rate
+ (of-object "GtkSpinButton")
+ (c-name "gtk_spin_button_set_climb_rate")
+ (return-type "none")
+ (parameters
+ '("double" "climb_rate")
+ )
+)
+
+(define-method get_climb_rate
+ (of-object "GtkSpinButton")
+ (c-name "gtk_spin_button_get_climb_rate")
+ (return-type "double")
+)
+
(define-method update
(of-object "GtkSpinButton")
(c-name "gtk_spin_button_update")
@@ -24685,7 +24724,7 @@
(define-method get_iter_at_line_offset
(of-object "GtkTextBuffer")
(c-name "gtk_text_buffer_get_iter_at_line_offset")
- (return-type "none")
+ (return-type "gboolean")
(parameters
'("GtkTextIter*" "iter")
'("int" "line_number")
@@ -24696,7 +24735,7 @@
(define-method get_iter_at_line_index
(of-object "GtkTextBuffer")
(c-name "gtk_text_buffer_get_iter_at_line_index")
- (return-type "none")
+ (return-type "gboolean")
(parameters
'("GtkTextIter*" "iter")
'("int" "line_number")
@@ -24717,7 +24756,7 @@
(define-method get_iter_at_line
(of-object "GtkTextBuffer")
(c-name "gtk_text_buffer_get_iter_at_line")
- (return-type "none")
+ (return-type "gboolean")
(parameters
'("GtkTextIter*" "iter")
'("int" "line_number")
@@ -25196,6 +25235,51 @@
(return-type "GMenuModel*")
)
+(define-method set_enable_emoji_completion
+ (of-object "GtkText")
+ (c-name "gtk_text_set_enable_emoji_completion")
+ (return-type "none")
+ (parameters
+ '("gboolean" "enable_emoji_completion")
+ )
+)
+
+(define-method get_enable_emoji_completion
+ (of-object "GtkText")
+ (c-name "gtk_text_get_enable_emoji_completion")
+ (return-type "gboolean")
+)
+
+(define-method set_propagate_text_width
+ (of-object "GtkText")
+ (c-name "gtk_text_set_propagate_text_width")
+ (return-type "none")
+ (parameters
+ '("gboolean" "propagate_text_width")
+ )
+)
+
+(define-method get_propagate_text_width
+ (of-object "GtkText")
+ (c-name "gtk_text_get_propagate_text_width")
+ (return-type "gboolean")
+)
+
+(define-method set_truncate_multiline
+ (of-object "GtkText")
+ (c-name "gtk_text_set_truncate_multiline")
+ (return-type "none")
+ (parameters
+ '("gboolean" "truncate_multiline")
+ )
+)
+
+(define-method get_truncate_multiline
+ (of-object "GtkText")
+ (c-name "gtk_text_get_truncate_multiline")
+ (return-type "gboolean")
+)
+
;; From gtktextiter.h
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 007a03c8..92464539 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -2250,16 +2250,6 @@
(flags "Run First")
)
-(define-property use-alpha
- (of-object "GtkColorButton")
- (prop-type "GParamBoolean")
- (docs "Whether to give the color an alpha value")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
(define-property title
(of-object "GtkColorButton")
(prop-type "GParamString")
@@ -2270,15 +2260,6 @@
(default-value "Pick a Color")
)
-(define-property rgba
- (of-object "GtkColorButton")
- (prop-type "GParamBoxed")
- (docs "The selected RGBA color")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
(define-property show-editor
(of-object "GtkColorButton")
(prop-type "GParamBoolean")
@@ -2953,15 +2934,6 @@
(default-value "0")
)
-(define-property item-type
- (of-object "GtkDirectoryList")
- (prop-type "GParamGType")
- (docs "The type of elements of this object")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
(define-property loading
(of-object "GtkDirectoryList")
(prop-type "GParamBoolean")
@@ -8667,7 +8639,7 @@
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "TRUE")
+ (default-value "FALSE")
)
(define-property has-origin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]