[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: Thu, 3 Dec 2020 14:51:36 +0000 (UTC)
commit cfa6ad2481d5607da5a5a35c8c82d91e8a4d4e0c
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu Dec 3 15:37:53 2020 +0100
Gdk, Gtk: Regenerate docs.xml and .defs files
and update tools/extra_defs_gen/generate_defs_gtk.cc
gdk/src/gdk_docs.xml | 70 +--
gtk/src/gtk_docs.xml | 716 ++++++++++++++----------------
gtk/src/gtk_enums.defs | 75 +---
gtk/src/gtk_methods.defs | 198 +++------
gtk/src/gtk_signals.defs | 100 ++---
tools/extra_defs_gen/generate_defs_gtk.cc | 1 +
6 files changed, 448 insertions(+), 712 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index af47d090..0c9bcbb2 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -2329,14 +2329,14 @@ Determines a surface edge or corner.
<property name="GdkTexture:height">
<description>
-The height of the texture.
+The height of the texture, in pixels.
</description>
</property>
<property name="GdkTexture:width">
<description>
-The width of the texture.
+The width of the texture, in pixels.
</description>
</property>
@@ -4766,6 +4766,10 @@ the default cursor as fallback.
Returns the horizontal offset of the hotspot. The hotspot indicates the
pixel that will be directly above the cursor.
+Note that named cursors may have a nonzero hotspot, but this function
+will only return the hotspot position for cursors created with
+gdk_cursor_new_from_texture().
+
</description>
<parameters>
@@ -4783,6 +4787,10 @@ pixel that will be directly above the cursor.
Returns the vertical offset of the hotspot. The hotspot indicates the
pixel that will be directly above the cursor.
+Note that named cursors may have a nonzero hotspot, but this function
+will only return the hotspot position for cursors created with
+gdk_cursor_new_from_texture().
+
</description>
<parameters>
@@ -4798,7 +4806,7 @@ pixel that will be directly above the cursor.
<function name="gdk_cursor_get_name">
<description>
Returns the name of the cursor. If the cursor is not a named cursor, %NULL
-will be returned and the GdkCursor::texture property will be set.
+will be returned.
</description>
@@ -4816,7 +4824,7 @@ a named cursor
<function name="gdk_cursor_get_texture">
<description>
Returns the texture for the cursor. If the cursor is a named cursor, %NULL
-will be returned and the GdkCursor::name property will be set.
+will be returned.
</description>
@@ -4878,15 +4886,15 @@ platforms can be found in the CSS specification:
</description>
<parameters>
+<parameter name="name">
+<parameter_description> the name of the cursor
+</parameter_description>
+</parameter>
<parameter name="fallback">
<parameter_description> %NULL or the #GdkCursor to fall back to when
this one cannot be supported
</parameter_description>
</parameter>
-<parameter name="name">
-<parameter_description> the name of the cursor
-</parameter_description>
-</parameter>
</parameters>
<return> a new #GdkCursor, or %NULL if there is no
cursor with the given name
@@ -9011,7 +9019,7 @@ Extracts group and mode information from a pad event.
<function name="gdk_paintable_compute_concrete_size">
<description>
-Applies the sizing algorithm outlined in
+Applies the sizing algorithm outlined in
https://drafts.csswg.org/css-images-3/#default-sizing
to the given @paintable. See that link for more details.
@@ -9103,19 +9111,19 @@ See #GdkPaintableFlags for the flags and what they mean.
<function name="gdk_paintable_get_intrinsic_aspect_ratio">
<description>
Gets the preferred aspect ratio the @paintable would like to be displayed at.
-The aspect ration is the width divided by the height, so a value of 0.5 means
+The aspect ratio is the width divided by the height, so a value of 0.5 means
that the @paintable prefers to be displayed twice as high as it is wide.
Consumers of this interface can use this to preserve aspect ratio when displaying
-this paintable.
+the paintable.
This is a purely informational value and does not in any way limit the values
that may be passed to gdk_paintable_snapshot().
-Usually when a @paintable returns non-0 values from
+Usually when a @paintable returns nonzero values from
gdk_paintable_get_intrinsic_width() and gdk_paintable_get_intrinsic_height()
the aspect ratio should conform to those values, though that is not required.
-If the @paintable does not have a preferred aspect ratio, it returns 0.0.
+If the @paintable does not have a preferred aspect ratio, it returns 0.
Negative values are never returned.
@@ -9126,7 +9134,7 @@ Negative values are never returned.
</parameter_description>
</parameter>
</parameters>
-<return> the intrinsic aspect ratio of @paintable or 0.0 if none.
+<return> the intrinsic aspect ratio of @paintable or 0 if none.
</return>
</function>
@@ -9180,9 +9188,9 @@ values are never returned.
<function name="gdk_paintable_invalidate_contents">
<description>
-Called by implementations of #GdkPaintable to invalidate their contents.
+Called by implementations of #GdkPaintable to invalidate their contents.
Unless the contents are invalidated, implementations must guarantee that
-multiple calls to GdkPaintable::snapshot produce the same output.
+multiple calls of gdk_paintable_snapshot() produce the same output.
This function will emit the #GdkPaintable::invalidate-contents signal.
@@ -9201,9 +9209,9 @@ it must not call this function.
<function name="gdk_paintable_invalidate_size">
<description>
-Called by implementations of #GdkPaintable to invalidate their size.
-As long as the size is not invalidated, @paintable must return the same values
-for its width, height and intrinsic height.
+Called by implementations of #GdkPaintable to invalidate their size.
+As long as the size is not invalidated, @paintable must return the same
+values for its intrinsic width, height and aspect ratio.
This function will emit the #GdkPaintable::invalidate-size signal.
@@ -13514,7 +13522,7 @@ Get the anchor rectangle.
<function name="gdk_popup_layout_get_offset">
<description>
-Get the delta the anchor rectangle is offset with
+Retrieves the offset for the anchor rectangle.
</description>
<parameters>
@@ -13523,11 +13531,11 @@ Get the delta the anchor rectangle is offset with
</parameter_description>
</parameter>
<parameter name="dx">
-<parameter_description> a pointer to where to store the delta x coordinate
+<parameter_description> return location for the delta X coordinate
</parameter_description>
</parameter>
<parameter name="dy">
-<parameter_description> a pointer to where to store the delta y coordinate
+<parameter_description> return location for the delta Y coordinate
</parameter_description>
</parameter>
</parameters>
@@ -14908,7 +14916,7 @@ downloaded data of @texture
<function name="gdk_texture_get_height">
<description>
-Returns the height of the @texture.
+Returns the height of the @texture, in pixels.
</description>
@@ -14924,7 +14932,7 @@ Returns the height of the @texture.
<function name="gdk_texture_get_width">
<description>
-Returns the width of @texture.
+Returns the width of @texture, in pixels.
</description>
@@ -14940,7 +14948,7 @@ Returns the width of @texture.
<function name="gdk_texture_new_for_pixbuf">
<description>
-Creates a new texture object representing the GdkPixbuf.
+Creates a new texture object representing the #GdkPixbuf.
</description>
@@ -14973,8 +14981,12 @@ Creates a new texture object representing the surface.
<function name="gdk_texture_new_from_file">
<description>
-Creates a new texture by loading an image from a file. The file format is
-detected automatically. If %NULL is returned, then @error will be set.
+Creates a new texture by loading an image from a file.
+The file format is detected automatically, and can be any
+format that is supported by the gdk-pixbuf library, such as
+JPEG or PNG.
+
+If %NULL is returned, then @error will be set.
</description>
@@ -14995,7 +15007,9 @@ detected automatically. If %NULL is returned, then @error will be set.
<function name="gdk_texture_new_from_resource">
<description>
Creates a new texture by loading an image from a resource.
-The file format is detected automatically.
+The file format is detected automatically, and can be any
+format that is supported by the gdk-pixbuf library, such as
+JPEG or PNG.
It is a fatal error if @resource_path does not specify a valid
image resource and the program will abort if that happens.
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index fc84c67d..778acb17 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -431,7 +431,7 @@ grid, or treegrid. Value type: integer
</parameter>
<parameter name="GTK_ACCESSIBLE_RELATION_COL_INDEX_TEXT">
<parameter_description> Defines a human readable text
-alternative of @GTK_ACCESSIBLE_RELATION_COL_INDEX. Value type: string
+alternative of %GTK_ACCESSIBLE_RELATION_COL_INDEX. Value type: string
</parameter_description>
</parameter>
<parameter name="GTK_ACCESSIBLE_RELATION_COL_SPAN">
@@ -602,7 +602,8 @@ information or require a response.
</parameter_description>
</parameter>
<parameter name="GTK_ACCESSIBLE_ROLE_GROUP">
-<parameter_description> Unused
+<parameter_description> An element that groups multiple widgets. GTK uses
+this role for various containers, like #GtkBox, #GtkViewport, and #GtkHeaderBar.
</parameter_description>
</parameter>
<parameter name="GTK_ACCESSIBLE_ROLE_HEADING">
@@ -1051,12 +1052,12 @@ If you have for example a 16x16 icon inside a 32x32 space, the icon
could be scaled and stretched, it could be centered, or it could be
positioned to one side of the space.
-Note that in horizontal context @GTK_ALIGN_START and @GTK_ALIGN_END
+Note that in horizontal context %GTK_ALIGN_START and %GTK_ALIGN_END
are interpreted relative to text direction.
-@GTK_ALIGN_BASELINE support is optional for containers and widgets, and
+%GTK_ALIGN_BASELINE support is optional for containers and widgets, and
it is only supported for vertical alignment. When it's not supported by
-a child or a container it is treated as @GTK_ALIGN_FILL.
+a child or a container it is treated as %GTK_ALIGN_FILL.
</description>
<parameters>
@@ -1112,6 +1113,21 @@ for more information about content types.
</description>
</property>
+<signal name="GtkAppChooserButton::changed">
+<description>
+Emitted when the active application on the #GtkAppChooserButton
+changes.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
<signal name="GtkAppChooserButton::custom-item-activated">
<description>
Emitted when a custom item, previously added with
@@ -1471,6 +1487,20 @@ page in the flow (of type %GTK_ASSISTANT_PAGE_CONFIRM) is clicked.
<return></return>
</signal>
+<signal name="GtkAssistant::escape">
+<description>
+The action signal for the Escape binding.
+
+</description>
+<parameters>
+<parameter name="assistant">
+<parameter_description> the #GtkAssistant
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
<signal name="GtkAssistant::prepare">
<description>
The ::prepare signal is emitted when a new page is set as the
@@ -1649,7 +1679,7 @@ Describes how the border of a UI element should be rendered.
</parameter_description>
</parameter>
<parameter name="GTK_BORDER_STYLE_HIDDEN">
-<parameter_description> Same as @GTK_BORDER_STYLE_NONE
+<parameter_description> Same as %GTK_BORDER_STYLE_NONE
</parameter_description>
</parameter>
<parameter name="GTK_BORDER_STYLE_SOLID">
@@ -1745,7 +1775,7 @@ otherwise g_dgettext().
The list of flags that can be passed to gtk_builder_create_closure().
New values may be added in the future for new features, so external
implementations of GtkBuilderScopeInterface should test the flags for unknown
-values and raise a %@GTK_BUILDER_ERROR_INVALID_ATTRIBUTE error when they
+values and raise a %GTK_BUILDER_ERROR_INVALID_ATTRIBUTE error when they
encounter one.
</description>
@@ -2647,11 +2677,11 @@ The #GtkIconSize value that specifies the size of the rendered icon.
<property name="GtkCellRendererProgress:pulse">
<description>
Setting this to a non-negative value causes the cell renderer to
-enter "activity mode", where a block bounces back and forth to
+enter "activity mode", where a block bounces back and forth to
indicate that some progress is made, without specifying exactly how
much.
-Each increment of the property causes the block to move by a little
+Each increment of the property causes the block to move by a little
bit.
To indicate that the activity has not started yet, set the property
@@ -2663,8 +2693,8 @@ to zero. To indicate completion, set the property to %G_MAXINT.
<property name="GtkCellRendererProgress:text">
<description>
The "text" property determines the label which will be drawn
-over the progress bar. Setting this property to %NULL causes the default
-label to be displayed. Setting this property to an empty string causes
+over the progress bar. Setting this property to %NULL causes the default
+label to be displayed. Setting this property to an empty string causes
no label to be displayed.
</description>
@@ -3285,7 +3315,7 @@ for the current GtkComboBox model.
<signal name="GtkComboBox::move-active">
<description>
The ::move-active signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to move the active selection.
</description>
@@ -3305,7 +3335,7 @@ which gets emitted to move the active selection.
<signal name="GtkComboBox::popdown">
<description>
The ::popdown signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to popdown the combo box list.
The default bindings for this signal are Alt+Up and Escape.
@@ -3323,7 +3353,7 @@ The default bindings for this signal are Alt+Up and Escape.
<signal name="GtkComboBox::popup">
<description>
The ::popup signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to popup the combo box list.
The default binding for this signal is Alt+Down.
@@ -3867,7 +3897,7 @@ paragraph. Like C-k in Emacs (or its reverse).
<signal name="GtkDialog::close">
<description>
The ::close signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user uses a keybinding to close
the dialog.
@@ -5882,44 +5912,6 @@ existing folder.
</parameters>
</enum>
-<signal name="GtkFileChooserButton::file-set">
-<description>
-The ::file-set signal is emitted when the user selects a file.
-
-Note that this signal is only emitted when the user
-changes the file.
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<property name="GtkFileChooserButton:dialog">
-<description>
-Instance of the #GtkFileChooserDialog associated with the button.
-
-</description>
-</property>
-
-<property name="GtkFileChooserButton:title">
-<description>
-Title to put on the #GtkFileChooserDialog associated with the button.
-
-</description>
-</property>
-
-<property name="GtkFileChooserButton:width-chars">
-<description>
-The width of the entry and label inside the button, in characters.
-
-</description>
-</property>
-
<enum name="GtkFileChooserError">
<description>
These identify the various errors that can occur while calling
@@ -5966,7 +5958,7 @@ The text used for the label on the cancel button in the dialog, or
<signal name="GtkFileChooserWidget::desktop-folder">
<description>
-The ::desktop-folder signal is a [keybinding signal][GtkBindingSignal]
+The ::desktop-folder signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser show the user's Desktop
@@ -5986,7 +5978,7 @@ The default binding for this signal is `Alt + D`.
<signal name="GtkFileChooserWidget::down-folder">
<description>
-The ::down-folder signal is a [keybinding signal][GtkBindingSignal]
+The ::down-folder signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser go to a child of the current folder
@@ -6009,7 +6001,7 @@ The default binding for this signal is `Alt + Down`.
<signal name="GtkFileChooserWidget::home-folder">
<description>
-The ::home-folder signal is a [keybinding signal][GtkBindingSignal]
+The ::home-folder signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser show the user's home
@@ -6029,7 +6021,7 @@ The default binding for this signal is `Alt + Home`.
<signal name="GtkFileChooserWidget::location-popup">
<description>
-The ::location-popup signal is a [keybinding signal][GtkBindingSignal]
+The ::location-popup signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser show a "Location" prompt which
@@ -6057,7 +6049,7 @@ itself for access to home directories.
<signal name="GtkFileChooserWidget::location-popup-on-paste">
<description>
-The ::location-popup-on-paste signal is a [keybinding signal][GtkBindingSignal]
+The ::location-popup-on-paste signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser show a "Location" prompt when the user
@@ -6077,7 +6069,7 @@ The default binding for this signal is `Control + V`.
<signal name="GtkFileChooserWidget::location-toggle-popup">
<description>
-The ::location-toggle-popup signal is a [keybinding signal][GtkBindingSignal]
+The ::location-toggle-popup signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to toggle the visibility of a "Location" prompt which the user
@@ -6097,7 +6089,7 @@ The default binding for this signal is `Control + L`.
<signal name="GtkFileChooserWidget::places-shortcut">
<description>
-The ::places-shortcut signal is a [keybinding signal][GtkBindingSignal]
+The ::places-shortcut signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to move the focus to the places sidebar.
@@ -6116,7 +6108,7 @@ The default binding for this signal is `Alt + P`.
<signal name="GtkFileChooserWidget::quick-bookmark">
<description>
-The ::quick-bookmark signal is a [keybinding signal][GtkBindingSignal]
+The ::quick-bookmark signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser switch to the bookmark specified
@@ -6145,7 +6137,7 @@ bookmark at index 10.
<signal name="GtkFileChooserWidget::recent-shortcut">
<description>
-The ::recent-shortcut signal is a [keybinding signal][GtkBindingSignal]
+The ::recent-shortcut signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser show the Recent location.
@@ -6164,7 +6156,7 @@ The default binding for this signal is `Alt + R`.
<signal name="GtkFileChooserWidget::search-shortcut">
<description>
-The ::search-shortcut signal is a [keybinding signal][GtkBindingSignal]
+The ::search-shortcut signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser show the search entry.
@@ -6183,7 +6175,7 @@ The default binding for this signal is `Alt + S`.
<signal name="GtkFileChooserWidget::show-hidden">
<description>
-The ::show-hidden signal is a [keybinding signal][GtkBindingSignal]
+The ::show-hidden signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser display hidden files.
@@ -6202,7 +6194,7 @@ The default binding for this signal is `Control + H`.
<signal name="GtkFileChooserWidget::up-folder">
<description>
-The ::up-folder signal is a [keybinding signal][GtkBindingSignal]
+The ::up-folder signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
This is used to make the file chooser go to the parent of the current folder
@@ -6260,7 +6252,7 @@ Describes changes in a filter in more detail and allows objects
using the filter to optimize refiltering items.
If you are writing an implementation and are not sure which
-value to pass, @GTK_FILTER_CHANGE_DIFFERENT is always a correct
+value to pass, %GTK_FILTER_CHANGE_DIFFERENT is always a correct
choice.
</description>
@@ -6318,7 +6310,7 @@ Number of items not yet filtered
Describes the known strictness of a filter.
Note that for filters where the strictness is not known,
-%@GTK_FILTER_MATCH_SOME is always an acceptable value,
+%GTK_FILTER_MATCH_SOME is always an acceptable value,
even if a filter does match all or no items.
</description>
@@ -6351,7 +6343,7 @@ The model being flattened
<signal name="GtkFlowBox::activate-cursor-child">
<description>
The ::activate-cursor-child signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user activates the @box.
</description>
@@ -6386,7 +6378,7 @@ activated by the user.
<signal name="GtkFlowBox::move-cursor">
<description>
The ::move-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a cursor movement.
Applications should not connect to it, but may emit it with
@@ -6433,7 +6425,7 @@ There are too many key combinations to list them all here.
<signal name="GtkFlowBox::select-all">
<description>
The ::select-all signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to select all children of the box, if
the selection mode permits it.
@@ -6471,7 +6463,7 @@ selected children.
<signal name="GtkFlowBox::toggle-cursor-child">
<description>
The ::toggle-cursor-child signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which toggles the selection of the child that has the focus.
The default binding for this signal is Ctrl-Space.
@@ -6489,7 +6481,7 @@ The default binding for this signal is Ctrl-Space.
<signal name="GtkFlowBox::unselect-all">
<description>
The ::unselect-all signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to unselect all children of the box, if
the selection mode permits it.
@@ -6569,7 +6561,7 @@ a child widget in a #GtkFlowBox, either by clicking or
double-clicking, or by using the Space or Enter key.
While this signal is used as a
-[keybinding signal][GtkBindingSignal],
+[keybinding signal][GtkSignalAction],
it can be used by applications for their own purposes.
</description>
@@ -7753,7 +7745,7 @@ Error codes for GtkIconTheme operations.
<signal name="GtkIconView::activate-cursor-item">
<description>
-A [keybinding signal][GtkBindingSignal]
+A [keybinding signal][GtkSignalAction]
which gets emitted when the user activates the currently
focused item.
@@ -7800,7 +7792,7 @@ Space, Return or Enter is pressed.
<signal name="GtkIconView::move-cursor">
<description>
The ::move-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a cursor movement.
Applications should not connect to it, but may emit it with
@@ -7842,7 +7834,7 @@ the Shift modifier.
<signal name="GtkIconView::select-all">
<description>
-A [keybinding signal][GtkBindingSignal]
+A [keybinding signal][GtkSignalAction]
which gets emitted when the user selects all items.
Applications should not connect to it, but may emit it with
@@ -7863,7 +7855,7 @@ The default binding for this signal is Ctrl-a.
<signal name="GtkIconView::select-cursor-item">
<description>
-A [keybinding signal][GtkBindingSignal]
+A [keybinding signal][GtkSignalAction]
which gets emitted when the user selects the item that is currently
focused.
@@ -7900,7 +7892,7 @@ The ::selection-changed signal is emitted when the selection
<signal name="GtkIconView::toggle-cursor-item">
<description>
-A [keybinding signal][GtkBindingSignal]
+A [keybinding signal][GtkSignalAction]
which gets emitted when the user toggles whether the currently
focused item is selected or not. The exact effect of this
depend on the selection mode.
@@ -7923,7 +7915,7 @@ There is no default binding for this signal is Ctrl-Space.
<signal name="GtkIconView::unselect-all">
<description>
-A [keybinding signal][GtkBindingSignal]
+A [keybinding signal][GtkSignalAction]
which gets emitted when the user unselects all items.
Applications should not connect to it, but may emit it with
@@ -8184,7 +8176,7 @@ return %NULL values.
<signal name="GtkInfoBar::close">
<description>
The ::close signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user uses a keybinding to dismiss
the info bar.
@@ -8239,7 +8231,7 @@ or applications. Note that input methods may already tailor their
behaviour according to the #GtkInputPurpose of the entry.
Some common sense is expected when using these flags - mixing
-@GTK_INPUT_HINT_LOWERCASE with any of the uppercase hints makes no sense.
+%GTK_INPUT_HINT_LOWERCASE with any of the uppercase hints makes no sense.
This enumeration may be extended in the future; input methods should
ignore unknown values.
@@ -8318,8 +8310,8 @@ character set restriction that is expressed by the purpose. The
application is expected to validate the entry contents, even if
it specified a purpose.
-The difference between @GTK_INPUT_PURPOSE_DIGITS and
-@GTK_INPUT_PURPOSE_NUMBER is that the former accepts only digits
+The difference between %GTK_INPUT_PURPOSE_DIGITS and
+%GTK_INPUT_PURPOSE_NUMBER is that the former accepts only digits
while the latter also some punctuation (like commas or points, plus,
minus) and “e” or “E” as in 3.14E+000.
@@ -8361,11 +8353,11 @@ interpret unknown values as “free form”.
</parameter_description>
</parameter>
<parameter name="GTK_INPUT_PURPOSE_PASSWORD">
-<parameter_description> Like @GTK_INPUT_PURPOSE_FREE_FORM, but characters are hidden
+<parameter_description> Like %GTK_INPUT_PURPOSE_FREE_FORM, but characters are hidden
</parameter_description>
</parameter>
<parameter name="GTK_INPUT_PURPOSE_PIN">
-<parameter_description> Like @GTK_INPUT_PURPOSE_DIGITS, but characters are hidden
+<parameter_description> Like %GTK_INPUT_PURPOSE_DIGITS, but characters are hidden
</parameter_description>
</parameter>
<parameter name="GTK_INPUT_PURPOSE_TERMINAL">
@@ -8416,7 +8408,7 @@ The key modifiers for the trigger.
<signal name="GtkLabel::activate-current-link">
<description>
-A [keybinding signal][GtkBindingSignal]
+A [keybinding signal][GtkSignalAction]
which gets emitted when the user activates a link in the label.
Applications may also emit the signal with g_signal_emit_by_name()
@@ -8459,7 +8451,7 @@ which is to call gtk_show_uri().
<signal name="GtkLabel::copy-clipboard">
<description>
The ::copy-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to copy the selection to the clipboard.
The default binding for this signal is Ctrl-c.
@@ -8477,7 +8469,7 @@ The default binding for this signal is Ctrl-c.
<signal name="GtkLabel::move-cursor">
<description>
The ::move-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a cursor movement.
If the cursor is not visible in @entry, this signal causes
the viewport to be moved instead.
@@ -8906,7 +8898,7 @@ the #GtkListBox::selected-rows-changed signal instead.
<signal name="GtkListBox::select-all">
<description>
-The ::select-all signal is a [keybinding signal][GtkBindingSignal]
+The ::select-all signal is a [keybinding signal][GtkSignalAction]
which gets emitted to select all children of the box, if the selection
mode permits it.
@@ -8939,7 +8931,7 @@ set of selected rows changes.
<signal name="GtkListBox::unselect-all">
<description>
-The ::unselect-all signal is a [keybinding signal][GtkBindingSignal]
+The ::unselect-all signal is a [keybinding signal][GtkSignalAction]
which gets emitted to unselect all children of the box, if the selection
mode permits it.
@@ -9234,31 +9226,6 @@ The #GtkPopover that will be popped up when the button is clicked.
</description>
</property>
-<enum name="GtkMenuDirectionType">
-<description>
-An enumeration representing directional movements within a menu.
-
-</description>
-<parameters>
-<parameter name="GTK_MENU_DIR_PARENT">
-<parameter_description> To the parent menu shell
-</parameter_description>
-</parameter>
-<parameter name="GTK_MENU_DIR_CHILD">
-<parameter_description> To the submenu, if any, associated with the item
-</parameter_description>
-</parameter>
-<parameter name="GTK_MENU_DIR_NEXT">
-<parameter_description> To the next menu item
-</parameter_description>
-</parameter>
-<parameter name="GTK_MENU_DIR_PREV">
-<parameter_description> To the previous menu item
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
<property name="GtkMessageDialog:message-area">
<description>
The #GtkBox that corresponds to the message area of this dialog. See
@@ -9837,16 +9804,17 @@ measurement.
<enum name="GtkPackType">
<description>
-Represents the packing location #GtkBox children
+Represents the packing location of a children in its parent.
+See #GtkWindowControls for example.
</description>
<parameters>
<parameter name="GTK_PACK_START">
-<parameter_description> The child is packed into the start of the box
+<parameter_description> The child is packed into the start of the widget
</parameter_description>
</parameter>
<parameter name="GTK_PACK_END">
-<parameter_description> The child is packed into the end of the box
+<parameter_description> The child is packed into the end of the widget
</parameter_description>
</parameter>
</parameters>
@@ -9947,7 +9915,7 @@ Describes the panning direction of a #GtkGesturePan
<signal name="GtkPaned::accept-position">
<description>
The ::accept-position signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to accept the current position of the handle when
moving it using key bindings.
@@ -9966,7 +9934,7 @@ The default binding for this signal is Return or Space.
<signal name="GtkPaned::cancel-position">
<description>
The ::cancel-position signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to cancel moving the position of the handle using key
bindings. The position of the handle will be reset to the value prior to
moving it.
@@ -9986,7 +9954,7 @@ The default binding for this signal is Escape.
<signal name="GtkPaned::cycle-child-focus">
<description>
The ::cycle-child-focus signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to cycle the focus between the children of the paned.
The default binding is f6.
@@ -10008,7 +9976,7 @@ The default binding is f6.
<signal name="GtkPaned::cycle-handle-focus">
<description>
The ::cycle-handle-focus signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to cycle whether the paned should grab focus to allow
the user to change position of the handle by using key bindings.
@@ -10031,7 +9999,7 @@ The default binding for this signal is f8.
<signal name="GtkPaned::move-handle">
<description>
The ::move-handle signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to move the handle when the user is using key bindings
to move it.
@@ -10052,7 +10020,7 @@ to move it.
<signal name="GtkPaned::toggle-handle-focus">
<description>
The ::toggle-handle-focus is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to accept the current position of the handle and then
move focus to the next widget in the focus chain.
@@ -10232,25 +10200,36 @@ scrolled windows share a scrollbar.
</parameters>
</enum>
-<enum name="GtkPopoverConstraint">
+<signal name="GtkPopover::activate-default">
<description>
-Describes constraints to positioning of popovers. More values
-may be added to this enumeration in the future.
+The ::activate-default signal is a
+[keybinding signal][GtkSignalAction]
+which gets emitted when the user activates the default widget
+of @self.
</description>
<parameters>
-<parameter name="GTK_POPOVER_CONSTRAINT_NONE">
-<parameter_description> Don't constrain the popover position
-beyond what is imposed by the implementation
+<parameter name="self">
+<parameter_description> the #GtkPopover which received the signal
</parameter_description>
</parameter>
-<parameter name="GTK_POPOVER_CONSTRAINT_WINDOW">
-<parameter_description> Constrain the popover to the boundaries
-of the window that it is attached to
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkPopover::closed">
+<description>
+The ::closed signal is emitted when the popover is closed.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the #GtkPopover which received the signal
</parameter_description>
</parameter>
</parameters>
-</enum>
+<return></return>
+</signal>
<property name="GtkPopoverMenuBar:menu-model">
<description>
@@ -11606,7 +11585,7 @@ when the child of a #GtkRevealer widget is shown or hidden.
<signal name="GtkScaleButton::popdown">
<description>
The ::popdown signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to popdown the scale widget.
The default binding for this signal is Escape.
@@ -11624,7 +11603,7 @@ The default binding for this signal is Escape.
<signal name="GtkScaleButton::popup">
<description>
The ::popup signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to popup the scale widget.
The default bindings for this signal are Space, Enter and Return.
@@ -11900,7 +11879,7 @@ if intending to provide behavior on horizontal edges.
<signal name="GtkScrolledWindow::move-focus-out">
<description>
The ::move-focus-out signal is a
-[keybinding signal][GtkBindingSignal] which gets
+[keybinding signal][GtkSignalAction] which gets
emitted when focus is moved away from the scrolled window by a
keybinding. The #GtkWidget::move-focus signal is emitted with
@direction_type on this scrolled window’s toplevel parent in the
@@ -11925,7 +11904,7 @@ container hierarchy. The default bindings for this signal are
<signal name="GtkScrolledWindow::scroll-child">
<description>
The ::scroll-child signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when a keybinding that scrolls is pressed.
The horizontal or vertical adjustment is updated which triggers a
signal that the scrolled window’s child may listen to and scroll itself.
@@ -12038,7 +12017,7 @@ Whether to show the close button in the search bar.
<signal name="GtkSearchEntry::next-match">
<description>
-The ::next-match signal is a [keybinding signal][GtkBindingSignal]
+The ::next-match signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a move to the next match
for the current search string.
@@ -12059,7 +12038,7 @@ The default bindings for this signal is Ctrl-g.
<signal name="GtkSearchEntry::previous-match">
<description>
-The ::previous-match signal is a [keybinding signal][GtkBindingSignal]
+The ::previous-match signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a move to the previous match
for the current search string.
@@ -12110,7 +12089,7 @@ a search on the entry.
<signal name="GtkSearchEntry::stop-search">
<description>
-The ::stop-search signal is a [keybinding signal][GtkBindingSignal]
+The ::stop-search signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user stops a search via keyboard input.
Applications should connect to it, to implement hiding the search
@@ -12207,22 +12186,22 @@ such a signal.
<enum name="GtkSensitivityType">
<description>
-Determines how GTK handles the sensitivity of stepper arrows
-at the end of range widgets.
+Determines how GTK handles the sensitivity of various controls,
+such as combo box buttons.
</description>
<parameters>
<parameter name="GTK_SENSITIVITY_AUTO">
-<parameter_description> The arrow is made insensitive if the
-thumb is at the end
+<parameter_description> The control is made insensitive if no
+action can be triggered
</parameter_description>
</parameter>
<parameter name="GTK_SENSITIVITY_ON">
-<parameter_description> The arrow is always sensitive
+<parameter_description> The control is always sensitive
</parameter_description>
</parameter>
<parameter name="GTK_SENSITIVITY_OFF">
-<parameter_description> The arrow is always insensitive
+<parameter_description> The control is always insensitive
</parameter_description>
</parameter>
</parameters>
@@ -12884,7 +12863,7 @@ This is used internally by GTK, and must not be modified by applications.
<signal name="GtkShortcutsWindow::close">
<description>
The ::close signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user uses a keybinding to close
the window.
@@ -12899,7 +12878,7 @@ The default binding for this signal is the Escape key.
<signal name="GtkShortcutsWindow::search">
<description>
The ::search signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user uses a keybinding to start a search.
The default binding for this signal is Control-F.
@@ -13261,7 +13240,7 @@ different items will never cause this value to be returned.
<signal name="GtkSpinButton::change-value">
<description>
-The ::change-value signal is a [keybinding signal][GtkBindingSignal]
+The ::change-value signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a value change.
Applications should not connect to it, but may emit it with
@@ -13902,7 +13881,7 @@ The default bindings for this signal are all forms of the Enter key.
<signal name="GtkText::backspace">
<description>
The ::backspace signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
The default bindings for this signal are
@@ -13921,7 +13900,7 @@ Backspace and Shift-Backspace.
<signal name="GtkText::copy-clipboard">
<description>
The ::copy-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to copy the selection to the clipboard.
The default bindings for this signal are
@@ -13940,7 +13919,7 @@ Ctrl-c and Ctrl-Insert.
<signal name="GtkText::cut-clipboard">
<description>
The ::cut-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to cut the selection to the clipboard.
The default bindings for this signal are
@@ -13959,7 +13938,7 @@ Ctrl-x and Shift-Delete.
<signal name="GtkText::delete-from-cursor">
<description>
The ::delete-from-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a text deletion.
If the @type is %GTK_DELETE_CHARS, GTK deletes the selection
@@ -13991,7 +13970,7 @@ deleting a word.
<signal name="GtkText::insert-at-cursor">
<description>
The ::insert-at-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates the insertion of a
fixed string at the cursor.
@@ -14014,7 +13993,7 @@ This signal has no default bindings.
<signal name="GtkText::insert-emoji">
<description>
The ::insert-emoji signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to present the Emoji chooser for the @self.
The default bindings for this signal are Ctrl-. and Ctrl-;
@@ -14032,7 +14011,7 @@ The default bindings for this signal are Ctrl-. and Ctrl-;
<signal name="GtkText::move-cursor">
<description>
The ::move-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a cursor movement.
If the cursor is not visible in @self, this signal causes
the viewport to be moved instead.
@@ -14074,7 +14053,7 @@ There are too many key combinations to list them all here.
<signal name="GtkText::paste-clipboard">
<description>
The ::paste-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to paste the contents of the clipboard
into the text view.
@@ -14114,7 +14093,7 @@ connect to this signal.
<signal name="GtkText::toggle-overwrite">
<description>
The ::toggle-overwrite signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to toggle the overwrite mode of the self.
The default bindings for this signal is Insert.
@@ -14613,14 +14592,6 @@ applied action.
</description>
</property>
-<property name="GtkTextBuffer:copy-target-list">
-<description>
-The list of targets this buffer supports for clipboard copying
-and as DND source.
-
-</description>
-</property>
-
<property name="GtkTextBuffer:cursor-position">
<description>
The position of the insert mark (as offset from the beginning
@@ -14645,14 +14616,6 @@ Whether the buffer has some text currently selected.
</description>
</property>
-<property name="GtkTextBuffer:paste-target-list">
-<description>
-The list of targets this buffer supports for clipboard pasting
-and as DND destination.
-
-</description>
-</property>
-
<property name="GtkTextBuffer:text">
<description>
The text content of the buffer. Without child widgets and images,
@@ -14661,32 +14624,6 @@ see gtk_text_buffer_get_text() for more information.
</description>
</property>
-<enum name="GtkTextBufferTargetInfo">
-<description>
-These values are used as “info” for the targets contained in the
-lists returned by gtk_text_buffer_get_copy_target_list() and
-gtk_text_buffer_get_paste_target_list().
-
-The values counts down from `-1` to avoid clashes
-with application added drag destinations which usually start at 0.
-
-</description>
-<parameters>
-<parameter name="GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS">
-<parameter_description> Buffer contents
-</parameter_description>
-</parameter>
-<parameter name="GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT">
-<parameter_description> Rich text
-</parameter_description>
-</parameter>
-<parameter name="GTK_TEXT_BUFFER_TARGET_INFO_TEXT">
-<parameter_description> Text
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
<enum name="GtkTextDirection">
<description>
Reading directions for text.
@@ -14904,6 +14841,7 @@ If the #GtkTextTag:underline-rgba property has been set.
<signal name="GtkTextTagTable::tag-added">
<description>
+Emitted every time a new tag is added in the #GtkTextTagTable.
</description>
<parameters>
@@ -14921,6 +14859,7 @@ If the #GtkTextTag:underline-rgba property has been set.
<signal name="GtkTextTagTable::tag-changed">
<description>
+Emitted every time a tag in the #GtkTextTagTable changes.
</description>
<parameters>
@@ -14942,6 +14881,10 @@ If the #GtkTextTag:underline-rgba property has been set.
<signal name="GtkTextTagTable::tag-removed">
<description>
+Emitted every time a tag is removed from the #GtkTextTagTable.
+
+The @tag is still valid by the time the signal is emitted, but
+it is not associated with a tag table any more.
</description>
<parameters>
@@ -14960,7 +14903,7 @@ If the #GtkTextTag:underline-rgba property has been set.
<signal name="GtkTextView::backspace">
<description>
The ::backspace signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user asks for it.
The default bindings for this signal are
@@ -14979,7 +14922,7 @@ Backspace and Shift-Backspace.
<signal name="GtkTextView::copy-clipboard">
<description>
The ::copy-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to copy the selection to the clipboard.
The default bindings for this signal are
@@ -14998,7 +14941,7 @@ Ctrl-c and Ctrl-Insert.
<signal name="GtkTextView::cut-clipboard">
<description>
The ::cut-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to cut the selection to the clipboard.
The default bindings for this signal are
@@ -15017,7 +14960,7 @@ Ctrl-x and Shift-Delete.
<signal name="GtkTextView::delete-from-cursor">
<description>
The ::delete-from-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a text deletion.
If the @type is %GTK_DELETE_CHARS, GTK+ deletes the selection
@@ -15084,7 +15027,7 @@ event. %GDK_EVENT_PROPAGATE to propagate the event further.
<signal name="GtkTextView::insert-at-cursor">
<description>
The ::insert-at-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates the insertion of a
fixed string at the cursor.
@@ -15107,7 +15050,7 @@ This signal has no default bindings.
<signal name="GtkTextView::insert-emoji">
<description>
The ::insert-emoji signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to present the Emoji chooser for the @text_view.
The default bindings for this signal are Ctrl-. and Ctrl-;
@@ -15125,7 +15068,7 @@ The default bindings for this signal are Ctrl-. and Ctrl-;
<signal name="GtkTextView::move-cursor">
<description>
The ::move-cursor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates a cursor movement.
If the cursor is not visible in @text_view, this signal causes
the viewport to be moved instead.
@@ -15169,7 +15112,7 @@ There are too many key combinations to list them all here.
<signal name="GtkTextView::move-viewport">
<description>
The ::move-viewport signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which can be bound to key combinations to allow the user
to move the viewport, i.e. change what part of the text view
is visible in a containing scrolled window.
@@ -15197,7 +15140,7 @@ There are no default bindings for this signal.
<signal name="GtkTextView::paste-clipboard">
<description>
The ::paste-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to paste the contents of the clipboard
into the text view.
@@ -15240,7 +15183,7 @@ is actually editable.
<signal name="GtkTextView::select-all">
<description>
The ::select-all signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to select or unselect the complete
contents of the text view.
@@ -15264,7 +15207,7 @@ for selecting and Shift-Ctrl-a and Ctrl-\ for unselecting.
<signal name="GtkTextView::set-anchor">
<description>
The ::set-anchor signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user initiates setting the "anchor"
mark. The "anchor" mark gets placed at the same position as the
"insert" mark.
@@ -15284,7 +15227,7 @@ This signal has no default bindings.
<signal name="GtkTextView::toggle-cursor-visible">
<description>
The ::toggle-cursor-visible signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to toggle the #GtkTextView:cursor-visible
property.
@@ -15303,7 +15246,7 @@ The default binding for this signal is F7.
<signal name="GtkTextView::toggle-overwrite">
<description>
The ::toggle-overwrite signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted to toggle the overwrite mode of the text view.
The default bindings for this signal is Insert.
@@ -15794,7 +15737,7 @@ The position of the cursor (focused cell) has changed.
<signal name="GtkTreeView::move-cursor">
<description>
The #GtkTreeView::move-cursor signal is a [keybinding
-signal][GtkBindingSignal] which gets emitted when the user
+signal][GtkSignalAction] which gets emitted when the user
presses one of the cursor keys.
Applications should not connect to it, but may emit it with
@@ -16042,7 +15985,7 @@ clickable. Set to -1 to make the column unsortable.
<enum name="GtkTreeViewColumnSizing">
<description>
The sizing method the column uses to determine its width. Please note
-that @GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and
+that %GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and
can make columns appear choppy.
</description>
@@ -16679,7 +16622,7 @@ The observed widget or %NULL if none.
<signal name="GtkWindow::activate-default">
<description>
The ::activate-default signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user activates the default widget
of @window.
@@ -16696,7 +16639,7 @@ of @window.
<signal name="GtkWindow::activate-focus">
<description>
The ::activate-focus signal is a
-[keybinding signal][GtkBindingSignal]
+[keybinding signal][GtkSignalAction]
which gets emitted when the user activates the currently
focused widget of @window.
@@ -16729,7 +16672,7 @@ Return: %TRUE to stop other handlers from being invoked for the signal
<signal name="GtkWindow::enable-debugging">
<description>
-The ::enable-debugging signal is a [keybinding signal][GtkBindingSignal]
+The ::enable-debugging signal is a [keybinding signal][GtkSignalAction]
which gets emitted when the user enables or disables interactive
debugging. When @toggle is %TRUE, interactive debugging is toggled
on or off, when it is %FALSE, the debugger will be pointed at the
@@ -17823,6 +17766,48 @@ Retrieves the #GtkAccessibleRole for the given #GtkAccessible.
</return>
</function>
+<function name="gtk_accessible_property_init_value">
+<description>
+Initializes @value with the appropriate type for the @property.
+
+This function is mostly meant for language bindings, in conjunction
+with gtk_accessible_update_property_value().
+
+</description>
+<parameters>
+<parameter name="property">
+<parameter_description> a #GtkAccessibleProperty
+</parameter_description>
+</parameter>
+<parameter name="value">
+<parameter_description> an uninitialized #GValue
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_accessible_relation_init_value">
+<description>
+Initializes @value with the appropriate type for the @relation.
+
+This function is mostly meant for language bindings, in conjunction
+with gtk_accessible_update_relation_value().
+
+</description>
+<parameters>
+<parameter name="relation">
+<parameter_description> a #GtkAccessibleRelation
+</parameter_description>
+</parameter>
+<parameter name="value">
+<parameter_description> an uninitialized #GValue
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_accessible_reset_property">
<description>
Resets the accessible @property to its default value.
@@ -17877,6 +17862,27 @@ Resets the accessible @state to its default value.
<return></return>
</function>
+<function name="gtk_accessible_state_init_value">
+<description>
+Initializes @value with the appropriate type for the @state.
+
+This function is mostly meant for language bindings, in conjunction
+with gtk_accessible_update_relation_state().
+
+</description>
+<parameters>
+<parameter name="state">
+<parameter_description> a #GtkAccessibleState
+</parameter_description>
+</parameter>
+<parameter name="value">
+<parameter_description> an uninitialized #GValue
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_accessible_update_property">
<description>
Updates a list of accessible properties. See the #GtkAccessibleProperty
@@ -17949,6 +17955,18 @@ Updates a list of accessible relations.
This function should be called by #GtkWidget types whenever an accessible
relation change must be communicated to assistive technologies.
+If the #GtkAccessibleRelation requires a list of references, you should
+pass each reference individually, followed by %NULL, e.g.
+
+|[<!-- language="C" -->
+gtk_accessible_update_relation (accessible,
+GTK_ACCESSIBLE_RELATION_CONTROLS,
+ref1, NULL,
+GTK_ACCESSIBLE_LABELLED_BY,
+ref1, ref2, ref3, NULL,
+-1);
+]|
+
</description>
<parameters>
<parameter name="self">
@@ -26228,7 +26246,7 @@ in the model, thus rendering a different image in each row of the
<function name="gtk_cell_renderer_progress_new">
<description>
-Creates a new #GtkCellRendererProgress.
+Creates a new #GtkCellRendererProgress.
</description>
@@ -27183,7 +27201,9 @@ Sets the new baseline position of @self
<function name="gtk_center_layout_set_center_widget">
<description>
-Sets the new center widget of @self
+Sets the new center widget of @self.
+
+To remove the existing center widget, pass %NULL.
</description>
<parameters>
@@ -27201,7 +27221,9 @@ Sets the new center widget of @self
<function name="gtk_center_layout_set_end_widget">
<description>
-Sets the new end widget of @self
+Sets the new end widget of @self.
+
+To remove the existing center widget, pass %NULL.
</description>
<parameters>
@@ -27239,6 +27261,8 @@ Sets the orientation of @self.
<description>
Sets the new start widget of @self.
+To remove the existing start widget, pass %NULL.
+
</description>
<parameters>
<parameter name="self">
@@ -27493,7 +27517,7 @@ a mnemonic accelerator key. This behavior is similar to #GtkLabel:use-underline.
<description>
Checks that the GTK library in use is compatible with the
given version. Generally you would pass in the constants
-#GTK_MAJOR_VERSION, #GTK_MINOR_VERSION, #GTK_MICRO_VERSION
+%GTK_MAJOR_VERSION, %GTK_MINOR_VERSION, %GTK_MICRO_VERSION
as the three arguments to this function; that produces
a check that the library in use is compatible with
the version of GTK the application or module was compiled
@@ -28119,6 +28143,9 @@ Sets whether this column should be resizable by dragging.
<description>
Associates a sorter with the column.
+If @sorter is %NULL, the column will not let users change
+the sorting by clicking on its header.
+
This sorter can be made active by clicking on the column
header, or by calling gtk_column_view_sort_by_column().
@@ -31689,6 +31716,7 @@ should trigger the beginning of a drag-and-drop operation.
Creates a widget that can be used as a drag icon for the given
@value.
+Supported types include strings, #GdkRGBA and #GtkTextBuffer.
If GTK does not know how to create a widget for a given value,
it will return %NULL.
@@ -35786,7 +35814,7 @@ debugging.
<description>
Sets the event propagation limit on the event controller.
-If the limit is set to %@GTK_LIMIT_SAME_NATIVE, the controller
+If the limit is set to %GTK_LIMIT_SAME_NATIVE, the controller
won't handle events that are targeted at widgets on a different
surface, such as popovers.
@@ -36489,154 +36517,6 @@ otherwise.
</return>
</function>
-<function name="gtk_file_chooser_button_get_modal">
-<description>
-Gets whether the dialog is modal.
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkFileChooserButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the dialog is modal
-</return>
-</function>
-
-<function name="gtk_file_chooser_button_get_title">
-<description>
-Retrieves the title of the browse dialog used by @button. The returned value
-should not be modified or freed.
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> the button widget to examine.
-</parameter_description>
-</parameter>
-</parameters>
-<return> a pointer to the browse dialog’s title.
-</return>
-</function>
-
-<function name="gtk_file_chooser_button_get_width_chars">
-<description>
-Retrieves the width in characters of the @button widget’s entry and/or label.
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> the button widget to examine.
-</parameter_description>
-</parameter>
-</parameters>
-<return> an integer width (in characters) that the button will use to size itself.
-</return>
-</function>
-
-<function name="gtk_file_chooser_button_new">
-<description>
-Creates a new file-selecting button widget.
-
-
-</description>
-<parameters>
-<parameter name="title">
-<parameter_description> the title of the browse dialog.
-</parameter_description>
-</parameter>
-<parameter name="action">
-<parameter_description> the open mode for the widget.
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new button widget.
-</return>
-</function>
-
-<function name="gtk_file_chooser_button_new_with_dialog">
-<description>
-Creates a #GtkFileChooserButton widget which uses @dialog as its
-file-picking window.
-
-Note that @dialog must be a #GtkDialog (or subclass) which
-implements the #GtkFileChooser interface and must not have
-%GTK_DIALOG_DESTROY_WITH_PARENT set.
-
-Also note that the dialog needs to have its confirmative button
-added with response %GTK_RESPONSE_ACCEPT or %GTK_RESPONSE_OK in
-order for the button to take over the file selected in the dialog.
-
-
-</description>
-<parameters>
-<parameter name="dialog">
-<parameter_description> the widget to use as dialog
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new button widget.
-</return>
-</function>
-
-<function name="gtk_file_chooser_button_set_modal">
-<description>
-Sets whether the dialog should be modal.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkFileChooserButton
-</parameter_description>
-</parameter>
-<parameter name="modal">
-<parameter_description> %TRUE to make the dialog modal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_file_chooser_button_set_title">
-<description>
-Modifies the @title of the browse dialog used by @button.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> the button widget to modify.
-</parameter_description>
-</parameter>
-<parameter name="title">
-<parameter_description> the new browse dialog title.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_file_chooser_button_set_width_chars">
-<description>
-Sets the width (in characters) that @button will use to @n_chars.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> the button widget to examine.
-</parameter_description>
-</parameter>
-<parameter name="n_chars">
-<parameter_description> the new width, in characters.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_file_chooser_dialog_new">
<description>
Creates a new #GtkFileChooserDialog. This function is analogous to
@@ -40611,7 +40491,7 @@ Returns the major version number of the GTK library.
(e.g. in GTK version 3.1.5 this is 3.)
This function is in the library, so it represents the GTK library
-your code is running against. Contrast with the #GTK_MAJOR_VERSION
+your code is running against. Contrast with the %GTK_MAJOR_VERSION
macro, which represents the major version of the GTK headers you
have included when compiling your code.
@@ -40630,7 +40510,7 @@ Returns the micro version number of the GTK library.
This function is in the library, so it represents the GTK library
your code is are running against. Contrast with the
-#GTK_MICRO_VERSION macro, which represents the micro version of the
+%GTK_MICRO_VERSION macro, which represents the micro version of the
GTK headers you have included when compiling your code.
@@ -40648,7 +40528,7 @@ Returns the minor version number of the GTK library.
This function is in the library, so it represents the GTK library
your code is are running against. Contrast with the
-#GTK_MINOR_VERSION macro, which represents the minor version of the
+%GTK_MINOR_VERSION macro, which represents the minor version of the
GTK headers you have included when compiling your code.
@@ -46409,7 +46289,7 @@ Sets whether the label is in single line mode.
<function name="gtk_label_set_text">
<description>
Sets the text within the #GtkLabel widget. It overwrites any text that
-was there before.
+was there before.
This function will clear any previously set mnemonic accelerators, and
set the #GtkLabel:use-underline property to %FALSE as a side effect.
@@ -46438,7 +46318,7 @@ See also: gtk_label_set_markup()
Sets the label’s text from the string @str.
If characters in @str are preceded by an underscore, they are underlined
indicating that they represent a keyboard accelerator called a mnemonic.
-The mnemonic key can be used to activate another widget, chosen
+The mnemonic key can be used to activate another widget, chosen
automatically, or explicitly using gtk_label_set_mnemonic_widget().
</description>
@@ -65520,6 +65400,41 @@ You should try to avoid calling this function if @color is transparent.
<return></return>
</function>
+<function name="gtk_snapshot_append_conic_gradient">
+<description>
+Appends a conic 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 gradient into
+</parameter_description>
+</parameter>
+<parameter name="center">
+<parameter_description> the center point of the conic gradient
+</parameter_description>
+</parameter>
+<parameter name="rotation">
+<parameter_description> the clockwise rotation in degrees of the starting angle. 0 means the
+starting angle is the top.
+</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_inset_shadow">
<description>
Appends an inset shadow into the box given by @outline.
@@ -69405,7 +69320,7 @@ See #GtkSwitch::state-set for details.
<function name="gtk_test_accessible_assert_property">
<description>
Checks whether a #GtkAccessible implementation has its accessible
-property set to the expected @value, and raises an assertion if the
+property set to the expected value, and raises an assertion if the
condition is not satisfied.
</description>
@@ -69418,7 +69333,7 @@ condition is not satisfied.
<parameter_description> a #GtkAccessibleProperty
</parameter_description>
</parameter>
-<parameter name="value">
+<parameter name="Varargs">
<parameter_description> the value of @property
</parameter_description>
</parameter>
@@ -69429,7 +69344,7 @@ condition is not satisfied.
<function name="gtk_test_accessible_assert_relation">
<description>
Checks whether a #GtkAccessible implementation has its accessible
-relation set to the expected @value, and raises an assertion if the
+relation set to the expected value, and raises an assertion if the
condition is not satisfied.
</description>
@@ -69442,7 +69357,7 @@ condition is not satisfied.
<parameter_description> a #GtkAccessibleRelation
</parameter_description>
</parameter>
-<parameter name="value">
+<parameter name="Varargs">
<parameter_description> the expected value of @relation
</parameter_description>
</parameter>
@@ -69472,7 +69387,7 @@ and raises an assertion if the condition is failed.
<function name="gtk_test_accessible_assert_state">
<description>
Checks whether a #GtkAccessible implementation has its accessible
-state set to the expected @value, and raises an assertion if the
+state set to the expected value, and raises an assertion if the
condition is not satisfied.
</description>
@@ -69485,7 +69400,7 @@ condition is not satisfied.
<parameter_description> a #GtkAccessibleRelation
</parameter_description>
</parameter>
-<parameter name="value">
+<parameter name="Varargs">
<parameter_description> the expected value of @state
</parameter_description>
</parameter>
@@ -71811,7 +71726,7 @@ Retrieves the text that will be displayed when @self is empty and unfocused
</parameter_description>
</parameter>
</parameters>
-<return>a pointer to the placeholder text as a string.
+<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.
@@ -75445,7 +75360,8 @@ buffer may override this setting for some ranges of text.
<function name="gtk_text_view_get_extra_menu">
<description>
-Gets the menu model set with gtk_text_view_set_extra_menu().
+Gets the menu model set with gtk_text_view_set_extra_menu()
+or %NULL if none has been set.
</description>
@@ -76357,7 +76273,8 @@ attribute of tags.
<function name="gtk_text_view_set_extra_menu">
<description>
Sets a menu model to add when constructing
-the context menu for @text_view.
+the context menu for @text_view. You can pass
+%NULL to remove a previously set extra menu.
</description>
<parameters>
@@ -77172,8 +77089,11 @@ Gets the child widget displayed by @self.
<description>
Forwards the item set on the #GtkTreeListRow that @self is managing.
-This call is essentially equivalent to calling
-`gtk_tree_list_row_get_item (gtk_tree_expander_get_list_row (@self))`.
+This call is essentially equivalent to calling:
+
+|[<!-- language="C" -->
+gtk_tree_list_row_get_item (gtk_tree_expander_get_list_row (@self));
+]|
</description>
@@ -79266,7 +79186,8 @@ Generates a string representation of the path.
This string is a “:” separated list of numbers.
For example, “4:10:0:3” would be an acceptable
-return value for this string.
+return value for this string. If the path has
+depth 0, %NULL is returned.
</description>
@@ -82489,7 +82410,8 @@ otherwise.
<function name="gtk_tree_view_get_expander_column">
<description>
-Returns the column that is the current expander column.
+Returns the column that is the current expander column,
+or %NULL if none has been set.
This column has the expander arrow drawn next to it.
@@ -85392,7 +85314,8 @@ differently by assistive technologies.
Sets the name to be used for CSS matching of widgets.
If this function is not called for a given class, the name
-of the parent class is used.
+set on the parent class is used. By default, GtkWidget uses
+the name "widget".
</description>
<parameters>
@@ -89210,10 +89133,11 @@ such as a title bar via gtk_window_set_decorated().
<function name="gtk_window_get_default_icon_name">
<description>
Returns the fallback icon name for windows that has been set
-with gtk_window_set_default_icon_name(). The returned
-string is owned by GTK and should not be modified. It
-is only valid until the next call to
-gtk_window_set_default_icon_name().
+with gtk_window_set_default_icon_name(), or %NULL if that function
+has not been called.
+
+The returned string is owned by GTK and should not be modified.
+It is only valid until the next call to gtk_window_set_default_icon_name().
</description>
@@ -90400,7 +90324,9 @@ according to a user’s exact configuration. The title should help a
user distinguish this window from other windows they may have
open. A good title might include the application name and current
document filename, for example.
+document filename, for example.
+Passing %NULL does the same as setting the title to an empty string.
</description>
<parameters>
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index 6f0e290e..c093b623 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -149,7 +149,7 @@
;; From gtkbuilderscope.h
;; Original typedef:
-;; typedef enum {
+;; typedef enum { /*< prefix=GTK_BUILDER_CLOSURE >*/
;; GTK_BUILDER_CLOSURE_SWAPPED = (1 << 0)
;; } GtkBuilderClosureFlags;
@@ -568,26 +568,6 @@
)
)
-;; Original typedef:
-;; typedef enum
-;; {
-;; GTK_MENU_DIR_PARENT,
-;; GTK_MENU_DIR_CHILD,
-;; GTK_MENU_DIR_NEXT,
-;; GTK_MENU_DIR_PREV
-;; } GtkMenuDirectionType;
-
-(define-enum-extended MenuDirectionType
- (in-module "Gtk")
- (c-name "GtkMenuDirectionType")
- (values
- '("parent" "GTK_MENU_DIR_PARENT" "0")
- '("child" "GTK_MENU_DIR_CHILD" "1")
- '("next" "GTK_MENU_DIR_NEXT" "2")
- '("prev" "GTK_MENU_DIR_PREV" "3")
- )
-)
-
;; Original typedef:
;; typedef enum
;; {
@@ -1322,39 +1302,6 @@
)
)
-;; Original typedef:
-;; typedef enum
-;; {
-;; GTK_POPOVER_CONSTRAINT_NONE,
-;; GTK_POPOVER_CONSTRAINT_WINDOW
-;; } GtkPopoverConstraint;
-
-(define-enum-extended PopoverConstraint
- (in-module "Gtk")
- (c-name "GtkPopoverConstraint")
- (values
- '("none" "GTK_POPOVER_CONSTRAINT_NONE" "0")
- '("window" "GTK_POPOVER_CONSTRAINT_WINDOW" "1")
- )
-)
-
-;; Original typedef:
-;; typedef enum {
-;; GTK_PLACES_OPEN_NORMAL = 1 << 0,
-;; GTK_PLACES_OPEN_NEW_TAB = 1 << 1,
-;; GTK_PLACES_OPEN_NEW_WINDOW = 1 << 2
-;; } GtkPlacesOpenFlags;
-
-(define-flags-extended PlacesOpenFlags
- (in-module "Gtk")
- (c-name "GtkPlacesOpenFlags")
- (values
- '("normal" "GTK_PLACES_OPEN_NORMAL" "1 << 0")
- '("new-tab" "GTK_PLACES_OPEN_NEW_TAB" "1 << 1")
- '("new-window" "GTK_PLACES_OPEN_NEW_WINDOW" "1 << 2")
- )
-)
-
;; Original typedef:
;; typedef enum {
;; GTK_PICK_DEFAULT = 0,
@@ -2685,26 +2632,6 @@
)
)
-;; From gtktextbuffer.h
-
-;; Original typedef:
-;; typedef enum
-;; {
-;; GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = - 1,
-;; GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT = - 2,
-;; GTK_TEXT_BUFFER_TARGET_INFO_TEXT = - 3
-;; } GtkTextBufferTargetInfo;
-
-(define-enum-extended TextBufferTargetInfo
- (in-module "Gtk")
- (c-name "GtkTextBufferTargetInfo")
- (values
- '("buffer-contents" "GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS" "-1")
- '("rich-text" "GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT" "-2")
- '("text" "GTK_TEXT_BUFFER_TARGET_INFO_TEXT" "-3")
- )
-)
-
;; From gtktextiter.h
;; Original typedef:
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 10e62c06..e8a7569b 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -277,6 +277,13 @@
(gtype-id "GTK_TYPE_TEXT_VIEW")
)
+(define-object ScaleButton
+ (in-module "Gtk")
+ (parent "GtkWidget")
+ (c-name "GtkScaleButton")
+ (gtype-id "GTK_TYPE_SCALE_BUTTON")
+)
+
(define-object Range
(in-module "Gtk")
(parent "GtkWidget")
@@ -382,13 +389,6 @@
(gtype-id "GTK_TYPE_TOGGLE_BUTTON")
)
-(define-object ScaleButton
- (in-module "Gtk")
- (parent "GtkButton")
- (c-name "GtkScaleButton")
- (gtype-id "GTK_TYPE_SCALE_BUTTON")
-)
-
(define-object Box
(in-module "Gtk")
(parent "GtkWidget")
@@ -748,18 +748,6 @@
)
)
-(define-enum MenuDirectionType
- (in-module "Gtk")
- (c-name "GtkMenuDirectionType")
- (gtype-id "GTK_TYPE_MENU_DIRECTION_TYPE")
- (values
- '("parent" "GTK_MENU_DIR_PARENT")
- '("child" "GTK_MENU_DIR_CHILD")
- '("next" "GTK_MENU_DIR_NEXT")
- '("prev" "GTK_MENU_DIR_PREV")
- )
-)
-
(define-enum MessageType
(in-module "Gtk")
(c-name "GtkMessageType")
@@ -1195,27 +1183,6 @@
)
)
-(define-enum PopoverConstraint
- (in-module "Gtk")
- (c-name "GtkPopoverConstraint")
- (gtype-id "GTK_TYPE_POPOVER_CONSTRAINT")
- (values
- '("none" "GTK_POPOVER_CONSTRAINT_NONE")
- '("window" "GTK_POPOVER_CONSTRAINT_WINDOW")
- )
-)
-
-(define-flags PlacesOpenFlags
- (in-module "Gtk")
- (c-name "GtkPlacesOpenFlags")
- (gtype-id "GTK_TYPE_PLACES_OPEN_FLAGS")
- (values
- '("normal" "GTK_PLACES_OPEN_NORMAL")
- '("new-tab" "GTK_PLACES_OPEN_NEW_TAB")
- '("new-window" "GTK_PLACES_OPEN_NEW_WINDOW")
- )
-)
-
(define-flags PickFlags
(in-module "Gtk")
(c-name "GtkPickFlags")
@@ -1971,17 +1938,6 @@
)
)
-(define-enum TextBufferTargetInfo
- (in-module "Gtk")
- (c-name "GtkTextBufferTargetInfo")
- (gtype-id "GTK_TYPE_TEXT_BUFFER_TARGET_INFO")
- (values
- '("buffer-contents" "GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS")
- '("rich-text" "GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT")
- '("text" "GTK_TEXT_BUFFER_TARGET_INFO_TEXT")
- )
-)
-
(define-flags TextSearchFlags
(in-module "Gtk")
(c-name "GtkTextSearchFlags")
@@ -2538,6 +2494,33 @@
)
)
+(define-method init_value
+ (of-object "GtkAccessibleState")
+ (c-name "gtk_accessible_state_init_value")
+ (return-type "none")
+ (parameters
+ '("GValue*" "value")
+ )
+)
+
+(define-method init_value
+ (of-object "GtkAccessibleProperty")
+ (c-name "gtk_accessible_property_init_value")
+ (return-type "none")
+ (parameters
+ '("GValue*" "value")
+ )
+)
+
+(define-method init_value
+ (of-object "GtkAccessibleRelation")
+ (c-name "gtk_accessible_relation_init_value")
+ (return-type "none")
+ (parameters
+ '("GValue*" "value")
+ )
+)
+
;; From gtkactionable.h
@@ -10142,78 +10125,6 @@
-;; From gtkfilechooserbutton.h
-
-(define-function gtk_file_chooser_button_get_type
- (c-name "gtk_file_chooser_button_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_file_chooser_button_new
- (c-name "gtk_file_chooser_button_new")
- (is-constructor-of "GtkFileChooserButton")
- (return-type "GtkWidget*")
- (parameters
- '("const-char*" "title")
- '("GtkFileChooserAction" "action")
- )
-)
-
-(define-function gtk_file_chooser_button_new_with_dialog
- (c-name "gtk_file_chooser_button_new_with_dialog")
- (return-type "GtkWidget*")
- (parameters
- '("GtkWidget*" "dialog")
- )
-)
-
-(define-method get_title
- (of-object "GtkFileChooserButton")
- (c-name "gtk_file_chooser_button_get_title")
- (return-type "const-char*")
-)
-
-(define-method set_title
- (of-object "GtkFileChooserButton")
- (c-name "gtk_file_chooser_button_set_title")
- (return-type "none")
- (parameters
- '("const-char*" "title")
- )
-)
-
-(define-method get_width_chars
- (of-object "GtkFileChooserButton")
- (c-name "gtk_file_chooser_button_get_width_chars")
- (return-type "int")
-)
-
-(define-method set_width_chars
- (of-object "GtkFileChooserButton")
- (c-name "gtk_file_chooser_button_set_width_chars")
- (return-type "none")
- (parameters
- '("int" "n_chars")
- )
-)
-
-(define-method get_modal
- (of-object "GtkFileChooserButton")
- (c-name "gtk_file_chooser_button_get_modal")
- (return-type "gboolean")
-)
-
-(define-method set_modal
- (of-object "GtkFileChooserButton")
- (c-name "gtk_file_chooser_button_set_modal")
- (return-type "none")
- (parameters
- '("gboolean" "modal")
- )
-)
-
-
-
;; From gtkfilechooserdialog.h
(define-function gtk_file_chooser_dialog_get_type
@@ -13341,8 +13252,8 @@
(c-name "gtk_icon_view_get_tooltip_context")
(return-type "gboolean")
(parameters
- '("int*" "x")
- '("int*" "y")
+ '("int" "x")
+ '("int" "y")
'("gboolean" "keyboard_tip")
'("GtkTreeModel**" "model")
'("GtkTreePath**" "path")
@@ -22878,6 +22789,19 @@
)
)
+(define-method append_conic_gradient
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_append_conic_gradient")
+ (return-type "none")
+ (parameters
+ '("const-graphene_rect_t*" "bounds")
+ '("const-graphene_point_t*" "center")
+ '("float" "rotation")
+ '("const-GskColorStop*" "stops")
+ '("gsize" "n_stops")
+ )
+)
+
(define-method append_border
(of-object "GtkSnapshot")
(c-name "gtk_snapshot_append_border")
@@ -29669,8 +29593,8 @@
(c-name "gtk_tree_view_get_tooltip_context")
(return-type "gboolean")
(parameters
- '("int*" "x")
- '("int*" "y")
+ '("int" "x")
+ '("int" "y")
'("gboolean" "keyboard_tip")
'("GtkTreeModel**" "model")
'("GtkTreePath**" "path")
@@ -32124,11 +32048,6 @@
(return-type "GType")
)
-(define-function gtk_menu_direction_type_get_type
- (c-name "gtk_menu_direction_type_get_type")
- (return-type "GType")
-)
-
(define-function gtk_message_type_get_type
(c-name "gtk_message_type_get_type")
(return-type "GType")
@@ -32294,16 +32213,6 @@
(return-type "GType")
)
-(define-function gtk_popover_constraint_get_type
- (c-name "gtk_popover_constraint_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_places_open_flags_get_type
- (c-name "gtk_places_open_flags_get_type")
- (return-type "GType")
-)
-
(define-function gtk_pick_flags_get_type
(c-name "gtk_pick_flags_get_type")
(return-type "GType")
@@ -32529,11 +32438,6 @@
(return-type "GType")
)
-(define-function gtk_text_buffer_target_info_get_type
- (c-name "gtk_text_buffer_target_info_get_type")
- (return-type "GType")
-)
-
(define-function gtk_text_search_flags_get_type
(c-name "gtk_text_search_flags_get_type")
(return-type "GType")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index ded02fa9..9570ac6f 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -4418,53 +4418,6 @@
(construct-only #f)
)
-;; From GtkFileChooserButton
-
-(define-signal file-set
- (of-object "GtkFileChooserButton")
- (return-type "void")
- (flags "Run First")
-)
-
-(define-property dialog
- (of-object "GtkFileChooserButton")
- (prop-type "GParamObject")
- (docs "The file chooser dialog to use.")
- (readable #f)
- (writable #t)
- (construct-only #t)
-)
-
-(define-property title
- (of-object "GtkFileChooserButton")
- (prop-type "GParamString")
- (docs "The title of the file chooser dialog.")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "Select a File")
-)
-
-(define-property width-chars
- (of-object "GtkFileChooserButton")
- (prop-type "GParamInt")
- (docs "The desired width of the button widget, in characters.")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
-(define-property modal
- (of-object "GtkFileChooserButton")
- (prop-type "GParamBoolean")
- (docs "Whether to make the dialog modal")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
;; From GtkFileChooserDialog
;; From GtkFileChooserNative
@@ -7794,11 +7747,11 @@
(define-property cascade-popdown
(of-object "GtkPopover")
(prop-type "GParamBoolean")
- (docs "Wether the popover pops down after a child popover")
+ (docs "Whether the popover pops down after a child popover")
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "TRUE")
+ (default-value "FALSE")
)
;; From GtkPopoverMenu
@@ -11007,24 +10960,6 @@
(default-value "0")
)
-(define-property copy-target-list
- (of-object "GtkTextBuffer")
- (prop-type "GParamBoxed")
- (docs "The list of targets this buffer supports for clipboard copying and DND source")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
-(define-property paste-target-list
- (of-object "GtkTextBuffer")
- (prop-type "GParamBoxed")
- (docs "The list of targets this buffer supports for clipboard pasting and DND destination")
- (readable #t)
- (writable #f)
- (construct-only #f)
-)
-
(define-property can-undo
(of-object "GtkTextBuffer")
(prop-type "GParamBoolean")
@@ -12267,6 +12202,35 @@
;; From GtkTooltip
+;; From GtkTreeExpander
+
+(define-property child
+ (of-object "GtkTreeExpander")
+ (prop-type "GParamObject")
+ (docs "The child widget with the actual contents")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+(define-property item
+ (of-object "GtkTreeExpander")
+ (prop-type "GParamObject")
+ (docs "The item held by this expander's row")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+(define-property list-row
+ (of-object "GtkTreeExpander")
+ (prop-type "GParamObject")
+ (docs "The list row to track for expander state")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkTreeModel
(define-signal row-changed
@@ -13218,7 +13182,7 @@
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "FALSE")
+ (default-value "TRUE")
)
(define-property focus-on-click
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index a5ef1620..c03a396c 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -244,6 +244,7 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_TEXT_VIEW )
<< get_defs( GTK_TYPE_TOGGLE_BUTTON )
<< get_defs( GTK_TYPE_TOOLTIP )
+ << get_defs( GTK_TYPE_TREE_EXPANDER )
<< get_defs( GTK_TYPE_TREE_MODEL )
<< get_defs( GTK_TYPE_TREE_LIST_MODEL )
<< get_defs( GTK_TYPE_TREE_LIST_ROW )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]