[gtkmm] Gtk: Regenerate docs.xml and .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk: Regenerate docs.xml and .defs files
- Date: Fri, 22 Feb 2019 14:32:46 +0000 (UTC)
commit 77f20b97826ddd270a58e651ee88f4d1ea3d4e7a
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Fri Feb 22 15:18:45 2019 +0100
Gtk: Regenerate docs.xml and .defs files
and update [gdk|gtk]_extra_objects.defs, gtk_docs_override.xml,
gtk_vfuncs.defs and generate_defs_gtk.cc.
gdk/src/gdk_extra_objects.defs | 6 +
gtk/src/gtk_docs.xml | 2750 +++++++++++++++++++++--------
gtk/src/gtk_docs_override.xml | 41 +
gtk/src/gtk_enums.defs | 65 +-
gtk/src/gtk_extra_objects.defs | 6 +
gtk/src/gtk_methods.defs | 921 ++++++++--
gtk/src/gtk_signals.defs | 665 ++++---
gtk/src/gtk_vfuncs.defs | 44 +-
tools/extra_defs_gen/generate_defs_gtk.cc | 4 +-
9 files changed, 3196 insertions(+), 1306 deletions(-)
---
diff --git a/gdk/src/gdk_extra_objects.defs b/gdk/src/gdk_extra_objects.defs
index 495ee588..c0316b26 100644
--- a/gdk/src/gdk_extra_objects.defs
+++ b/gdk/src/gdk_extra_objects.defs
@@ -104,6 +104,12 @@
(gtype-id "GDK_TYPE_GL_CONTEXT")
)
+(define-object GLTexture
+ (in-module "Gdk")
+ (c-name "GdkGLTexture")
+ (gtype-id "GDK_TYPE_GL_TEXTURE")
+)
+
(define-object Monitor
(in-module "Gdk")
(parent "GObject")
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index ea007ab7..42900b0a 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -609,6 +609,24 @@ among the other applications.
</description>
</property>
+<signal name="GtkApplication::query-end">
+<description>
+Emitted when the session manager is about to end the session, only
+if #GtkApplication::register-session is %TRUE. Applications can
+connect to this signal and call gtk_application_inhibit() with
+%GTK_APPLICATION_INHIBIT_LOGOUT to delay the end of the session
+until state has been saved.
+
+</description>
+<parameters>
+<parameter name="application">
+<parameter_description> the #GtkApplication which emitted the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
<signal name="GtkApplication::window-added">
<description>
Emitted when a #GtkWindow is added to @application through
@@ -2733,11 +2751,6 @@ might return %NULL.
is a GTK extension to CSS.
</parameter_description>
</parameter>
-<parameter name="GTK_CSS_SECTION_BINDING_SET">
-<parameter_description> The section defines a binding set. This
-is a GTK extension to CSS.
-</parameter_description>
-</parameter>
<parameter name="GTK_CSS_SECTION_RULESET">
<parameter_description> The section defines a CSS ruleset.
</parameter_description>
@@ -3070,11 +3083,11 @@ it from being inserted entirely.
<parameter_description> the object which received the signal
</parameter_description>
</parameter>
-<parameter name="new_text">
+<parameter name="text">
<parameter_description> the new text to insert
</parameter_description>
</parameter>
-<parameter name="new_text_length">
+<parameter name="length">
<parameter_description> the length of the new text, in bytes,
or -1 if new_text is nul-terminated
</parameter_description>
@@ -3090,112 +3103,6 @@ should point after the newly inserted text.
<return></return>
</signal>
-<signal name="GtkEntry::activate">
-<description>
-The ::activate signal is emitted when the user hits
-the Enter key.
-
-The default bindings for this signal are all forms of the Enter key.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> The entry on which the signal is emitted
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::backspace">
-<description>
-The ::backspace signal is a
-[keybinding signal][GtkBindingSignal]
-which gets emitted when the user asks for it.
-
-The default bindings for this signal are
-Backspace and Shift-Backspace.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::copy-clipboard">
-<description>
-The ::copy-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
-which gets emitted to copy the selection to the clipboard.
-
-The default bindings for this signal are
-Ctrl-c and Ctrl-Insert.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::cut-clipboard">
-<description>
-The ::cut-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
-which gets emitted to cut the selection to the clipboard.
-
-The default bindings for this signal are
-Ctrl-x and Shift-Delete.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::delete-from-cursor">
-<description>
-The ::delete-from-cursor signal is a
-[keybinding signal][GtkBindingSignal]
-which gets emitted when the user initiates a text deletion.
-
-If the @type is %GTK_DELETE_CHARS, GTK+ deletes the selection
-if there is one, otherwise it deletes the requested number
-of characters.
-
-The default bindings for this signal are
-Delete for deleting a character and Ctrl-Delete for
-deleting a word.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-<parameter name="type">
-<parameter_description> the granularity of the deletion, as a #GtkDeleteType
-</parameter_description>
-</parameter>
-<parameter name="count">
-<parameter_description> the number of @type units to delete
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<signal name="GtkEntry::icon-press">
<description>
The ::icon-press signal is emitted when an activatable icon
@@ -3234,158 +3141,6 @@ mouse click over an activatable icon.
<return></return>
</signal>
-<signal name="GtkEntry::insert-at-cursor">
-<description>
-The ::insert-at-cursor signal is a
-[keybinding signal][GtkBindingSignal]
-which gets emitted when the user initiates the insertion of a
-fixed string at the cursor.
-
-This signal has no default bindings.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-<parameter name="string">
-<parameter_description> the string to insert
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::insert-emoji">
-<description>
-The ::insert-emoji signal is a
-[keybinding signal][GtkBindingSignal]
-which gets emitted to present the Emoji chooser for the @entry.
-
-The default bindings for this signal are Ctrl-. and Ctrl-;
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::move-cursor">
-<description>
-The ::move-cursor signal is a
-[keybinding signal][GtkBindingSignal]
-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.
-
-Applications should not connect to it, but may emit it with
-g_signal_emit_by_name() if they need to control the cursor
-programmatically.
-
-The default bindings for this signal come in two variants,
-the variant with the Shift modifier extends the selection,
-the variant without the Shift modifer does not.
-There are too many key combinations to list them all here.
-- Arrow keys move by individual characters/lines
-- Ctrl-arrow key combinations move by words/paragraphs
-- Home/End keys move to the ends of the buffer
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-<parameter name="step">
-<parameter_description> the granularity of the move, as a #GtkMovementStep
-</parameter_description>
-</parameter>
-<parameter name="count">
-<parameter_description> the number of @step units to move
-</parameter_description>
-</parameter>
-<parameter name="extend_selection">
-<parameter_description> %TRUE if the move should extend the selection
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::paste-clipboard">
-<description>
-The ::paste-clipboard signal is a
-[keybinding signal][GtkBindingSignal]
-which gets emitted to paste the contents of the clipboard
-into the text view.
-
-The default bindings for this signal are
-Ctrl-v and Shift-Insert.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::populate-popup">
-<description>
-The ::populate-popup signal gets emitted before showing the
-context menu of the entry.
-
-If you need to add items to the context menu, connect
-to this signal and append your items to the @widget, which
-will be a #GtkMenu in this case.
-
-If #GtkEntry:populate-all is %TRUE, this signal will
-also be emitted to populate touch popups. In this case,
-@widget will be a different container, e.g. a #GtkToolbar.
-The signal handler should not make assumptions about the
-type of @widget.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> The entry on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="widget">
-<parameter_description> the container that is being populated
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkEntry::preedit-changed">
-<description>
-If an input method is used, the typed text will not immediately
-be committed to the buffer. So if you are interested in the text,
-connect to this signal.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-<parameter name="preedit">
-<parameter_description> the current preedit string
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<signal name="GtkEntry::show-emoji-icon">
<description>
When this is %TRUE, the entry will show an emoji icon in the secondary
@@ -3407,24 +3162,6 @@ A list of tabstops to apply to the text of the entry.
<return></return>
</signal>
-<signal name="GtkEntry::toggle-overwrite">
-<description>
-The ::toggle-overwrite signal is a
-[keybinding signal][GtkBindingSignal]
-which gets emitted to toggle the overwrite mode of the entry.
-
-The default bindings for this signal is Insert.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> the object which received the signal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<property name="GtkEntry:attributes">
<description>
A list of Pango attributes to apply to the text of the entry.
@@ -3437,17 +3174,6 @@ The #PangoAttribute's @start_index and @end_index must refer to the
</description>
</property>
-<property name="GtkEntry:caps-lock-warning">
-<description>
-Whether password entries will show a warning when Caps Lock is on.
-
-Note that the warning is shown using a secondary icon, and thus
-does not work if you are using the secondary icon position for some
-other purpose.
-
-</description>
-</property>
-
<property name="GtkEntry:completion">
<description>
The auxiliary completion object to use with the entry.
@@ -3496,15 +3222,6 @@ Whether the invisible char has been set for the #GtkEntry.
</description>
</property>
-<property name="GtkEntry:max-width-chars">
-<description>
-The desired maximum width of the entry, in characters.
-If this property is set to -1, the width will be calculated
-automatically.
-
-</description>
-</property>
-
<property name="GtkEntry:overwrite-mode">
<description>
If text is overwritten when typing in the #GtkEntry.
@@ -3705,14 +3422,6 @@ When %TRUE, pasted multi-line text is truncated to the first line.
</description>
</property>
-<property name="GtkEntry:xalign">
-<description>
-The horizontal alignment, from 0 (left) to 1 (right).
-Reversed for RTL layouts.
-
-</description>
-</property>
-
<signal name="GtkEntryBuffer::deleted-text">
<description>
This signal is emitted after text is deleted from the buffer.
@@ -8602,13 +8311,6 @@ location for the allocation
</return>
</signal>
-<property name="GtkOverlay:blur">
-<description>
-Blur the content behind this child with a Gaussian blur of this radius.
-
-</description>
-</property>
-
<property name="GtkOverlay:clip-overlay">
<description>
Clip the overlay child widget so as to fit the parent
@@ -8616,13 +8318,6 @@ Clip the overlay child widget so as to fit the parent
</description>
</property>
-<property name="GtkOverlay:index">
-<description>
-The index of the overlay in the parent, -1 for the main child.
-
-</description>
-</property>
-
<property name="GtkOverlay:measure">
<description>
Include this child in determining the child request.
@@ -8632,13 +8327,6 @@ The main child will always be measured.
</description>
</property>
-<property name="GtkOverlay:pass-through">
-<description>
-Pass through input, does not affect main child.
-
-</description>
-</property>
-
<enum name="GtkPackDirection">
<description>
Determines how widgets should be packed inside menubars
@@ -12389,6 +12077,375 @@ See #GtkSwitch::state-set for details.
</description>
</property>
+<signal name="GtkText::activate">
+<description>
+The ::activate signal is emitted when the user hits
+the Enter key.
+
+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>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::backspace">
+<description>
+The ::backspace signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted when the user asks for it.
+
+The default bindings for this signal are
+Backspace and Shift-Backspace.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::copy-clipboard">
+<description>
+The ::copy-clipboard signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted to copy the selection to the clipboard.
+
+The default bindings for this signal are
+Ctrl-c and Ctrl-Insert.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::cut-clipboard">
+<description>
+The ::cut-clipboard signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted to cut the selection to the clipboard.
+
+The default bindings for this signal are
+Ctrl-x and Shift-Delete.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::delete-from-cursor">
+<description>
+The ::delete-from-cursor signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted when the user initiates a text deletion.
+
+If the @type is %GTK_DELETE_CHARS, GTK deletes the selection
+if there is one, otherwise it deletes the requested number
+of characters.
+
+The default bindings for this signal are
+Delete for deleting a character and Ctrl-Delete for
+deleting a word.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+<parameter name="type">
+<parameter_description> the granularity of the deletion, as a #GtkDeleteType
+</parameter_description>
+</parameter>
+<parameter name="count">
+<parameter_description> the number of @type units to delete
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::insert-at-cursor">
+<description>
+The ::insert-at-cursor signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted when the user initiates the insertion of a
+fixed string at the cursor.
+
+This signal has no default bindings.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+<parameter name="string">
+<parameter_description> the string to insert
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::insert-emoji">
+<description>
+The ::insert-emoji signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted to present the Emoji chooser for the @self.
+
+The default bindings for this signal are Ctrl-. and Ctrl-;
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::move-cursor">
+<description>
+The ::move-cursor signal is a
+[keybinding signal][GtkBindingSignal]
+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.
+
+Applications should not connect to it, but may emit it with
+g_signal_emit_by_name() if they need to control the cursor
+programmatically.
+
+The default bindings for this signal come in two variants,
+the variant with the Shift modifier extends the selection,
+the variant without the Shift modifer does not.
+There are too many key combinations to list them all here.
+- Arrow keys move by individual characters/lines
+- Ctrl-arrow key combinations move by words/paragraphs
+- Home/End keys move to the ends of the buffer
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+<parameter name="step">
+<parameter_description> the granularity of the move, as a #GtkMovementStep
+</parameter_description>
+</parameter>
+<parameter name="count">
+<parameter_description> the number of @step units to move
+</parameter_description>
+</parameter>
+<parameter name="extend">
+<parameter_description> %TRUE if the move should extend the selection
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::paste-clipboard">
+<description>
+The ::paste-clipboard signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted to paste the contents of the clipboard
+into the text view.
+
+The default bindings for this signal are
+Ctrl-v and Shift-Insert.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::populate-popup">
+<description>
+The ::populate-popup signal gets emitted before showing the
+context menu of the self.
+
+If you need to add items to the context menu, connect
+to this signal and append your items to the @widget, which
+will be a #GtkMenu in this case.
+
+If #GtkText:populate-all is %TRUE, this signal will
+also be emitted to populate touch popups. In this case,
+@widget will be a different container, e.g. a #GtkToolbar.
+The signal handler should not make assumptions about the
+type of @widget.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> The self on which the signal is emitted
+</parameter_description>
+</parameter>
+<parameter name="widget">
+<parameter_description> the container that is being populated
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::preedit-changed">
+<description>
+If an input method is used, the typed text will not immediately
+be committed to the buffer. So if you are interested in the text,
+connect to this signal.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+<parameter name="preedit">
+<parameter_description> the current preedit string
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::tabs">
+<description>
+A list of tabstops to apply to the text of the self.
+
+</description>
+<parameters>
+</parameters>
+<return></return>
+</signal>
+
+<signal name="GtkText::toggle-overwrite">
+<description>
+The ::toggle-overwrite signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted to toggle the overwrite mode of the self.
+
+The default bindings for this signal is Insert.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<property name="GtkText:attributes">
+<description>
+A list of Pango attributes to apply to the text of the self.
+
+This is mainly useful to change the size or weight of the text.
+
+The #PangoAttribute's @start_index and @end_index must refer to the
+#GtkEntryBuffer text, i.e. without the preedit string.
+
+</description>
+</property>
+
+<property name="GtkText:im-module">
+<description>
+Which IM (input method) module should be used for this self.
+See #GtkIMContext.
+
+Setting this to a non-%NULL value overrides the
+system-wide IM module setting. See the GtkSettings
+#GtkSettings:gtk-im-module property.
+
+</description>
+</property>
+
+<property name="GtkText:input-hints">
+<description>
+Additional hints (beyond #GtkText:input-purpose) that
+allow input methods to fine-tune their behaviour.
+
+</description>
+</property>
+
+<property name="GtkText:input-purpose">
+<description>
+The purpose of this text field.
+
+This property can be used by on-screen keyboards and other input
+methods to adjust their behaviour.
+
+Note that setting the purpose to %GTK_INPUT_PURPOSE_PASSWORD or
+%GTK_INPUT_PURPOSE_PIN is independent from setting
+#GtkText:visibility.
+
+</description>
+</property>
+
+<property name="GtkText:invisible-char-set">
+<description>
+Whether the invisible char has been set for the #GtkText.
+
+</description>
+</property>
+
+<property name="GtkText:overwrite-mode">
+<description>
+If text is overwritten when typing in the #GtkText.
+
+</description>
+</property>
+
+<property name="GtkText:placeholder-text">
+<description>
+The text that will be displayed in the #GtkText when it is empty
+and unfocused.
+
+</description>
+</property>
+
+<property name="GtkText:populate-all">
+<description>
+If :populate-all is %TRUE, the #GtkText::populate-popup
+signal is also emitted for touch popups.
+
+</description>
+</property>
+
+<property name="GtkText:truncate-multiline">
+<description>
+When %TRUE, pasted multi-line text is truncated to the first line.
+
+</description>
+</property>
+
<signal name="GtkTextBuffer::apply-tag">
<description>
The ::apply-tag signal is emitted to apply a tag to a
@@ -15522,6 +15579,14 @@ How content outside the widget's content area is treated.
</description>
</property>
+<property name="GtkWidget:root">
+<description>
+The #GtkRoot widget of the widget tree containing this widget or %NULL if
+the widget is not contained in a root widget.
+
+</description>
+</property>
+
<property name="GtkWidget:scale-factor">
<description>
The scale factor of the widget. See gtk_widget_get_scale_factor() for
@@ -19887,9 +19952,9 @@ Gets whether @page is complete.
</return>
</function>
-<function name="gtk_assistant_get_page_has_padding">
+<function name="gtk_assistant_get_page_title">
<description>
-Gets whether page has padding.
+Gets the title for @page.
</description>
@@ -19903,13 +19968,13 @@ Gets whether page has padding.
</parameter_description>
</parameter>
</parameters>
-<return> %TRUE if @page has padding
+<return> the title for @page
</return>
</function>
-<function name="gtk_assistant_get_page_title">
+<function name="gtk_assistant_get_page_type">
<description>
-Gets the title for @page.
+Gets the page type of @page.
</description>
@@ -19923,13 +19988,13 @@ Gets the title for @page.
</parameter_description>
</parameter>
</parameters>
-<return> the title for @page
+<return> the page type of @page
</return>
</function>
-<function name="gtk_assistant_get_page_type">
+<function name="gtk_assistant_get_pages">
<description>
-Gets the page type of @page.
+Gets a list model of the assistant pages.
</description>
@@ -19938,12 +20003,8 @@ Gets the page type of @page.
<parameter_description> a #GtkAssistant
</parameter_description>
</parameter>
-<parameter name="page">
-<parameter_description> a page of @assistant
-</parameter_description>
-</parameter>
</parameters>
-<return> the page type of @page
+<return> A list model of the pages.
</return>
</function>
@@ -20180,29 +20241,6 @@ to be able to continue the task.
<return></return>
</function>
-<function name="gtk_assistant_set_page_has_padding">
-<description>
-Sets whether the assistant is adding padding around
-the page.
-
-</description>
-<parameters>
-<parameter name="assistant">
-<parameter_description> a #GtkAssistant
-</parameter_description>
-</parameter>
-<parameter name="page">
-<parameter_description> a page of @assistant
-</parameter_description>
-</parameter>
-<parameter name="has_padding">
-<parameter_description> whether this page has padding
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_assistant_set_page_title">
<description>
Sets a title for @page.
@@ -29371,10 +29409,10 @@ the drawing area's contents
<return></return>
</function>
-<function name="gtk_editable_copy_clipboard">
+<function name="gtk_editable_delete_selection">
<description>
-Copies the contents of the currently selected content in the editable and
-puts it on the clipboard.
+Deletes the currently selected text of the editable.
+This call doesn’t do anything if there is no selected text.
</description>
<parameters>
@@ -29386,10 +29424,14 @@ puts it on the clipboard.
<return></return>
</function>
-<function name="gtk_editable_cut_clipboard">
+<function name="gtk_editable_delete_text">
<description>
-Removes the contents of the currently selected content in the editable and
-puts it on the clipboard.
+Deletes a sequence of characters. The characters that are deleted are
+those characters at positions from @start_pos up to, but not including
+@end_pos. If @end_pos is negative, then the characters deleted
+are those from @start_pos to the end of the text.
+
+Note that the positions are specified in characters, not bytes.
</description>
<parameters>
@@ -29397,14 +29439,24 @@ puts it on the clipboard.
<parameter_description> a #GtkEditable
</parameter_description>
</parameter>
+<parameter name="start_pos">
+<parameter_description> start position
+</parameter_description>
+</parameter>
+<parameter name="end_pos">
+<parameter_description> end position
+</parameter_description>
+</parameter>
</parameters>
<return></return>
</function>
-<function name="gtk_editable_delete_selection">
+<function name="gtk_editable_finish_delegate">
<description>
-Deletes the currently selected text of the editable.
-This call doesn’t do anything if there is no selected text.
+Undoes the setup done by gtk_editable_init_delegate().
+
+This is a helper function that should be called from dispose,
+before removing the delegate object.
</description>
<parameters>
@@ -29416,14 +29468,10 @@ This call doesn’t do anything if there is no selected text.
<return></return>
</function>
-<function name="gtk_editable_delete_text">
+<function name="gtk_editable_get_alignment">
<description>
-Deletes a sequence of characters. The characters that are deleted are
-those characters at positions from @start_pos up to, but not including
-@end_pos. If @end_pos is negative, then the characters deleted
-are those from @start_pos to the end of the text.
+Gets the value set by gtk_editable_set_alignment().
-Note that the positions are specified in characters, not bytes.
</description>
<parameters>
@@ -29431,16 +29479,9 @@ Note that the positions are specified in characters, not bytes.
<parameter_description> a #GtkEditable
</parameter_description>
</parameter>
-<parameter name="start_pos">
-<parameter_description> start position
-</parameter_description>
-</parameter>
-<parameter name="end_pos">
-<parameter_description> end position
-</parameter_description>
-</parameter>
</parameters>
-<return></return>
+<return> the alignment
+</return>
</function>
<function name="gtk_editable_get_chars">
@@ -29476,8 +29517,8 @@ implementation and should be freed by the caller.
<function name="gtk_editable_get_editable">
<description>
-Retrieves whether @editable is editable. See
-gtk_editable_set_editable().
+Retrieves whether @editable is editable.
+See gtk_editable_set_editable().
</description>
@@ -29491,6 +29532,23 @@ gtk_editable_set_editable().
</return>
</function>
+<function name="gtk_editable_get_max_width_chars">
+<description>
+Retrieves the desired maximum width of @editable, in characters.
+See gtk_editable_set_max_width_chars().
+
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+</parameters>
+<return> the maximum width of the entry, in characters
+</return>
+</function>
+
<function name="gtk_editable_get_position">
<description>
Retrieves the current position of the cursor relative to the start
@@ -29510,11 +29568,44 @@ Note that this position is in characters, not in bytes.
</return>
</function>
+<function name="gtk_editable_get_property">
+<description>
+Gets a property of the #GtkEditable delegate for @object.
+
+This is helper function that should be called in get_property,
+before handling your own properties.
+
+
+</description>
+<parameters>
+<parameter name="object">
+<parameter_description> a #GObject
+</parameter_description>
+</parameter>
+<parameter name="prop_id">
+<parameter_description> a property ID
+</parameter_description>
+</parameter>
+<parameter name="value">
+<parameter_description> value to set
+</parameter_description>
+</parameter>
+<parameter name="pspec">
+<parameter_description> the #GParamSpec for the property
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the property was found
+</return>
+</function>
+
<function name="gtk_editable_get_selection_bounds">
<description>
-Retrieves the selection bound of the editable. start_pos will be filled
-with the start of the selection and @end_pos with end. If no text was
-selected both will be identical and %FALSE will be returned.
+Retrieves the selection bound of the editable.
+
+@start_pos will be filled with the start of the selection and
+@end_pos with end. If no text was selected both will be identical
+and %FALSE will be returned.
Note that positions are specified in characters, not bytes.
@@ -29534,13 +29625,65 @@ Note that positions are specified in characters, not bytes.
</parameter_description>
</parameter>
</parameters>
-<return> %TRUE if an area is selected, %FALSE otherwise
+<return> %TRUE if there is a non-empty selection, %FALSE otherwise
+</return>
+</function>
+
+<function name="gtk_editable_get_text">
+<description>
+Retrieves the contents of @editable. The returned string is
+owned by GTK and must not be modified or freed.
+
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+</parameters>
+<return> a pointer to the contents of the editable.
</return>
</function>
+<function name="gtk_editable_get_width_chars">
+<description>
+Gets the value set by gtk_editable_set_width_chars().
+
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+</parameters>
+<return> number of chars to request space for, or negative if unset
+</return>
+</function>
+
+<function name="gtk_editable_init_delegate">
+<description>
+Sets up a delegate for #GtkEditable, assuming that the
+get_delegate vfunc in the #GtkEditable interface has been
+set up for the @editable's type.
+
+This is a helper function that should be called in instance init,
+after creating the delegate object.
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_editable_insert_text">
<description>
-Inserts @new_text_length bytes of @new_text into the contents of the
+Inserts @length bytes of @text into the contents of the
widget, at position @position.
Note that the position is in characters, not in bytes.
@@ -29552,11 +29695,11 @@ The function updates @position to point after the newly inserted text.
<parameter_description> a #GtkEditable
</parameter_description>
</parameter>
-<parameter name="new_text">
+<parameter name="text">
<parameter_description> the text to append
</parameter_description>
</parameter>
-<parameter name="new_text_length">
+<parameter name="length">
<parameter_description> the length of the text in bytes, or -1
</parameter_description>
</parameter>
@@ -29568,28 +29711,44 @@ The function updates @position to point after the newly inserted text.
<return></return>
</function>
-<function name="gtk_editable_paste_clipboard">
+<function name="gtk_editable_install_properties">
<description>
-Pastes the content of the clipboard to the current position of the
-cursor in the editable.
+Installs the GtkEditable properties for @class.
+
+This is a helper function that should be called in class_init,
+after installing your own properties.
+
+To handle the properties in your set_property and get_property
+functions, you can either use gtk_editable_delegate_set_property()
+and gtk_editable_delegate_get_property() (if you are using a delegate),
+or remember the @first_prop offset and add it to the values in the
+#GtkEditableProperties enumeration to get the property IDs for these
+properties.
+
</description>
<parameters>
-<parameter name="editable">
-<parameter_description> a #GtkEditable
+<parameter name="object_class">
+<parameter_description> a #GObjectClass
+</parameter_description>
+</parameter>
+<parameter name="first_prop">
+<parameter_description> property ID to use for the first property
</parameter_description>
</parameter>
</parameters>
-<return></return>
+<return> the number of properties that were installed
+</return>
</function>
<function name="gtk_editable_select_region">
<description>
-Selects a region of text. The characters that are selected are
-those characters at positions from @start_pos up to, but not
-including @end_pos. If @end_pos is negative, then the
-characters selected are those characters from @start_pos to
-the end of the text.
+Selects a region of text.
+
+The characters that are selected are those characters at positions
+from @start_pos up to, but not including @end_pos. If @end_pos is
+negative, then the characters selected are those characters from
+@start_pos to the end of the text.
Note that positions are specified in characters, not bytes.
@@ -29611,10 +29770,32 @@ Note that positions are specified in characters, not bytes.
<return></return>
</function>
+<function name="gtk_editable_set_alignment">
+<description>
+Sets the alignment for the contents of the editable.
+
+This controls the horizontal positioning of the contents when
+the displayed text is shorter than the width of the editable.
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+<parameter name="xalign">
+<parameter_description> The horizontal alignment, from 0 (left) to 1 (right).
+Reversed for RTL layouts
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_editable_set_editable">
<description>
-Determines if the user can edit the text in the editable
-widget or not.
+Determines if the user can edit the text
+in the editable widget or not.
</description>
<parameters>
@@ -29631,6 +29812,24 @@ in the widget
<return></return>
</function>
+<function name="gtk_editable_set_max_width_chars">
+<description>
+Sets the desired maximum width in characters of @editable.
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+<parameter name="n_chars">
+<parameter_description> the new desired maximum width, in characters
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_editable_set_position">
<description>
Sets the cursor position in the editable to the given value.
@@ -29655,6 +29854,75 @@ of the editable. Note that @position is in characters, not in bytes.
<return></return>
</function>
+<function name="gtk_editable_set_property">
+<description>
+Sets a property on the #GtkEditable delegate for @object.
+
+This is a helper function that should be called in set_property,
+before handling your own properties.
+
+
+</description>
+<parameters>
+<parameter name="object">
+<parameter_description> a #GObject
+</parameter_description>
+</parameter>
+<parameter name="prop_id">
+<parameter_description> a property ID
+</parameter_description>
+</parameter>
+<parameter name="value">
+<parameter_description> value to set
+</parameter_description>
+</parameter>
+<parameter name="pspec">
+<parameter_description> the #GParamSpec for the property
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the property was found
+</return>
+</function>
+
+<function name="gtk_editable_set_text">
+<description>
+Sets the text in the editable to the given value,
+replacing the current contents.
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_editable_set_width_chars">
+<description>
+Changes the size request of the editable to be about the
+right size for @n_chars characters.
+
+Note that it changes the size request, the size can still
+be affected by how you pack the widget into containers.
+If @n_chars is -1, the size reverts to the default size.
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+<parameter name="n_chars">
+<parameter_description> width in chars
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_entry_buffer_delete_text">
<description>
Deletes a sequence of characters from the buffer. @n_chars characters are
@@ -30826,71 +31094,6 @@ show invisible text at all.
</return>
</function>
-<function name="gtk_entry_get_layout">
-<description>
-Gets the #PangoLayout used to display the entry.
-The layout is useful to e.g. convert text positions to
-pixel positions, in combination with gtk_entry_get_layout_offsets().
-The returned layout is owned by the entry and must not be
-modified or freed by the caller.
-
-Keep in mind that the layout text may contain a preedit string, so
-gtk_entry_layout_index_to_text_index() and
-gtk_entry_text_index_to_layout_index() are needed to convert byte
-indices in the layout to byte indices in the entry contents.
-
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-</parameters>
-<return> the #PangoLayout for this entry
-</return>
-</function>
-
-<function name="gtk_entry_get_layout_offsets">
-<description>
-Obtains the position of the #PangoLayout used to render text
-in the entry, in widget coordinates. Useful if you want to line
-up the text in an entry with some other text, e.g. when using the
-entry to implement editable cells in a sheet widget.
-
-Also useful to convert mouse events into coordinates inside the
-#PangoLayout, e.g. to take some action if some part of the entry text
-is clicked.
-
-Note that as the user scrolls around in the entry the offsets will
-change; you’ll need to connect to the “notify::scroll-offset”
-signal to track this. Remember when using the #PangoLayout
-functions you need to convert to and from pixels using
-PANGO_PIXELS() or #PANGO_SCALE.
-
-Keep in mind that the layout text may contain a preedit string, so
-gtk_entry_layout_index_to_text_index() and
-gtk_entry_text_index_to_layout_index() are needed to convert byte
-indices in the layout to byte indices in the entry contents.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> location to store X offset of layout, or %NULL
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> location to store Y offset of layout, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_entry_get_max_length">
<description>
Retrieves the maximum allowed length of the text in
@@ -31112,57 +31315,6 @@ such as search-as-you-type entries.
<return></return>
</function>
-<function name="gtk_entry_im_context_filter_keypress">
-<description>
-Allow the #GtkEntry input method to internally handle key press
-and release events. If this function returns %TRUE, then no further
-processing should be done for this key event. See
-gtk_im_context_filter_keypress().
-
-Note that you are expected to call this function from your handler
-when overriding key event handling. This is needed in the case when
-you need to insert your own key handling between the input method
-and the default key event handling of the #GtkEntry.
-See gtk_text_view_reset_im_context() for an example of use.
-
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-<parameter name="event">
-<parameter_description> the key event
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the input method handled the key event.
-</return>
-</function>
-
-<function name="gtk_entry_layout_index_to_text_index">
-<description>
-Converts from a position in the entry’s #PangoLayout (returned by
-gtk_entry_get_layout()) to a position in the entry contents
-(returned by gtk_entry_get_text()).
-
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-<parameter name="layout_index">
-<parameter_description> byte index into the entry layout text
-</parameter_description>
-</parameter>
-</parameters>
-<return> byte index into the entry contents
-</return>
-</function>
-
<function name="gtk_entry_new">
<description>
Creates a new entry.
@@ -31852,29 +32004,6 @@ size reverts to the default entry size.
<return></return>
</function>
-<function name="gtk_entry_text_index_to_layout_index">
-<description>
-Converts from a position in the entry contents (returned
-by gtk_entry_get_text()) to a position in the
-entry’s #PangoLayout (returned by gtk_entry_get_layout(),
-with text retrieved via pango_layout_get_text()).
-
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-<parameter name="text_index">
-<parameter_description> byte index into the entry contents
-</parameter_description>
-</parameter>
-</parameters>
-<return> byte index into the entry layout text
-</return>
-</function>
-
<function name="gtk_entry_unset_invisible_char">
<description>
Unsets the invisible char previously set with
@@ -34865,7 +34994,7 @@ with the given index exists.
<function name="gtk_flow_box_get_child_at_pos">
<description>
Gets the child in the (@x, @y) position. Both @x and @y are
-assumed to be relative to the allocation of @box.
+assumed to be relative to the origin of @box.
</description>
@@ -42293,22 +42422,6 @@ initialized, %FALSE otherwise
</return>
</function>
-<function name="gtk_invisible_get_display">
-<description>
-Returns the #GdkDisplay object associated with @invisible
-
-
-</description>
-<parameters>
-<parameter name="invisible">
-<parameter_description> a #GtkInvisible.
-</parameter_description>
-</parameter>
-</parameters>
-<return> the associated #GdkDisplay.
-</return>
-</function>
-
<function name="gtk_invisible_new">
<description>
Creates a new #GtkInvisible.
@@ -49833,27 +49946,6 @@ child property for @widget.
</return>
</function>
-<function name="gtk_overlay_get_overlay_pass_through">
-<description>
-Convenience function to get the value of the #GtkOverlay:pass-through
-child property for @widget.
-
-
-</description>
-<parameters>
-<parameter name="overlay">
-<parameter_description> a #GtkOverlay
-</parameter_description>
-</parameter>
-<parameter name="widget">
-<parameter_description> an overlay child of #GtkOverlay
-</parameter_description>
-</parameter>
-</parameters>
-<return> whether the widget is a pass through child.
-</return>
-</function>
-
<function name="gtk_overlay_new">
<description>
Creates a new #GtkOverlay.
@@ -49866,36 +49958,6 @@ Creates a new #GtkOverlay.
</return>
</function>
-<function name="gtk_overlay_reorder_overlay">
-<description>
-Moves @child to a new @index in the list of @overlay children.
-The list contains overlays in the order that these were
-added to @overlay.
-
-A widget’s index in the @overlay children list determines which order
-the children are drawn if they overlap. The first child is drawn at
-the bottom. It also affects the focus order.
-
-</description>
-<parameters>
-<parameter name="overlay">
-<parameter_description> a #GtkOverlay
-</parameter_description>
-</parameter>
-<parameter name="child">
-<parameter_description> the overlaid #GtkWidget to move
-</parameter_description>
-</parameter>
-<parameter name="position">
-<parameter_description> the new index for @child in the list of overlay children
-of @overlay, starting from 0. If negative, indicates the end of
-the list
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_overlay_set_clip_overlay">
<description>
Convenience function to set the value of the #GtkOverlay:clip-overlay
@@ -49945,29 +50007,6 @@ be drawn outside of @overlay's allocation if they are too large.
<return></return>
</function>
-<function name="gtk_overlay_set_overlay_pass_through">
-<description>
-Convenience function to set the value of the #GtkOverlay:pass-through
-child property for @widget.
-
-</description>
-<parameters>
-<parameter name="overlay">
-<parameter_description> a #GtkOverlay
-</parameter_description>
-</parameter>
-<parameter name="widget">
-<parameter_description> an overlay child of #GtkOverlay
-</parameter_description>
-</parameter>
-<parameter name="pass_through">
-<parameter_description> whether the child should pass the input through
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_pad_controller_new">
<description>
Creates a new #GtkPadController that will associate events from @pad to
@@ -51442,6 +51481,18 @@ This function adds the paper size from @size to @key_file.
<return></return>
</function>
+<function name="gtk_password_entry_new">
+<description>
+Creates a #GtkPasswordEntry.
+
+
+</description>
+<parameters>
+</parameters>
+<return> a new #GtkPasswordEntry
+</return>
+</function>
+
<function name="gtk_picture_get_alternative_text">
<description>
Gets the alternative textual description of the picture or returns %NULL if
@@ -60503,7 +60554,7 @@ search bar (as in our main example).
</parameter_description>
</parameter>
<parameter name="entry">
-<parameter_description> a #GtkEntry
+<parameter_description> a #GtkEditable
</parameter_description>
</parameter>
</parameters>
@@ -61249,9 +61300,17 @@ Checks if the given item is selected.
<description>
This function allows to query the selection status of multiple elements at once.
It is passed a position and returns a range of elements of uniform selection status.
-The returned range is guaranteed to include the passed-in position.
-The selection status is returned from this function.
+If @position is greater than the number of items in @model, @n_items is set to 0.
+Otherwise the returned range is guaranteed to include the passed-in position, so
+@n_items will be >= 1.
+
+Positions directly adjacent to the returned range may have the same selection
+status as the returned range.
+
+This is an optimization function to make iterating over a model faster when few
+items are selected. However, it is valid behavior for implementations to use a
+naive implementation that only ever returns a single element.
</description>
<parameters>
@@ -61260,16 +61319,23 @@ The selection status is returned from this function.
</parameter_description>
</parameter>
<parameter name="position">
-<parameter_description> specifies the position on input, and the first element of the range on output
+<parameter_description> the position inside the range
+</parameter_description>
+</parameter>
+<parameter name="start_range">
+<parameter_description> returns the position of the first element of the range
</parameter_description>
</parameter>
<parameter name="n_items">
<parameter_description> returns the size of the range
</parameter_description>
</parameter>
+<parameter name="selected">
+<parameter_description> returns whether items in @range are selected
+</parameter_description>
+</parameter>
</parameters>
-<return> %TRUE if the elements in the returned range are selected, %FALSE otherwise
-</return>
+<return></return>
</function>
<function name="gtk_separator_menu_item_new">
@@ -61977,6 +62043,35 @@ the model sliced from doesn't have enough items.
<return></return>
</function>
+<function name="gtk_snapshot_append_border">
+<description>
+Appends a stroked border rectangle inside the given @outline. The
+4 sides of the border can have different widths and colors.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="outline">
+<parameter_description> a #GskRoundedRect describing the outline of the border
+</parameter_description>
+</parameter>
+<parameter name="border_width">
+<parameter_description> the stroke width of the border on
+the top, right, bottom and left side respectively.
+</parameter_description>
+</parameter>
+<parameter name="border_color">
+<parameter_description> the color used on the top, right,
+bottom and left side.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_append_cairo">
<description>
Creates a new render node and appends it to the current render
@@ -62024,6 +62119,44 @@ You should try to avoid calling this function if @color is transparent.
<return></return>
</function>
+<function name="gtk_snapshot_append_inset_shadow">
+<description>
+Appends an inset shadow into the box given by @outline.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="outline">
+<parameter_description> outline of the region surrounded by shadow
+</parameter_description>
+</parameter>
+<parameter name="color">
+<parameter_description> color of the shadow
+</parameter_description>
+</parameter>
+<parameter name="dx">
+<parameter_description> horizontal offset of shadow
+</parameter_description>
+</parameter>
+<parameter name="dy">
+<parameter_description> vertical offset of shadow
+</parameter_description>
+</parameter>
+<parameter name="spread">
+<parameter_description> how far the shadow spreads towards the inside
+</parameter_description>
+</parameter>
+<parameter name="blur_radius">
+<parameter_description> how much blur to apply to the shadow
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_append_layout">
<description>
Creates render nodes for rendering @layout in the given foregound @color
@@ -62103,6 +62236,44 @@ initial node.
<return></return>
</function>
+<function name="gtk_snapshot_append_outset_shadow">
+<description>
+Appends an outset shadow node around the box given by @outline.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="outline">
+<parameter_description> outline of the region surrounded by shadow
+</parameter_description>
+</parameter>
+<parameter name="color">
+<parameter_description> color of the shadow
+</parameter_description>
+</parameter>
+<parameter name="dx">
+<parameter_description> horizontal offset of shadow
+</parameter_description>
+</parameter>
+<parameter name="dy">
+<parameter_description> vertical offset of shadow
+</parameter_description>
+</parameter>
+<parameter name="spread">
+<parameter_description> how far the shadow spreads towards the outside
+</parameter_description>
+</parameter>
+<parameter name="blur_radius">
+<parameter_description> how much blur to apply to the shadow
+</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.
@@ -62199,37 +62370,6 @@ or %NULL to use the bounds of the snapshot
</return>
</function>
-<function name="gtk_snapshot_get_offset">
-<description>
-Queries the offset managed by @snapshot. This offset is the
-accumulated sum of calls to gtk_snapshot_offset().
-
-Use this offset to determine how to offset nodes that you
-manually add to the snapshot using
-gtk_snapshot_append().
-
-Note that other functions that add nodes for you, such as
-gtk_snapshot_append_cairo() will add this offset for
-you.
-
-</description>
-<parameters>
-<parameter name="snapshot">
-<parameter_description> a #GtkSnapshot
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> return location for x offset
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> return location for y offset
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_snapshot_new">
<description>
Creates a new #GtkSnapshot.
@@ -62242,28 +62382,6 @@ Creates a new #GtkSnapshot.
</return>
</function>
-<function name="gtk_snapshot_offset">
-<description>
-Appends a translation by (@x, @y) to the current transformation.
-
-</description>
-<parameters>
-<parameter name="snapshot">
-<parameter_description> a #GtkSnapshot
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> horizontal translation
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> vertical translation
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_snapshot_pop">
<description>
Removes the top element from the stack of render nodes,
@@ -62506,6 +62624,96 @@ without changing the current node.
<return></return>
</function>
+<function name="gtk_snapshot_restore">
+<description>
+Restores @snapshot to the state saved by a preceding call to
+gtk_snapshot_save() and removes that state from the stack of
+saved states.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_save">
+<description>
+Makes a copy of the current state of @snapshot and saves it
+on an internal stack of saved states for @snapshot. When
+gtk_snapshot_restore() is called, @snapshot will be restored to
+the saved state. Multiple calls to gtk_snapshot_save() and
+gtk_snapshot_restore() can be nested; each call to
+gtk_snapshot_restore() restores the state from the matching paired
+gtk_snapshot_save().
+
+It is necessary to clear all saved states with corresponding calls
+to gtk_snapshot_restore().
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_scale">
+<description>
+Scales @@snapshot's coordinate system in 2-dimensional space by
+the given factors.
+
+Use gtk_snapshot_scale_3d() to scale in all 3 dimensions.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="factor_x">
+<parameter_description> scaling factor on the X axis
+</parameter_description>
+</parameter>
+<parameter name="factor_y">
+<parameter_description> scaling factor on the Y axis
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_scale_3d">
+<description>
+Scales @@snapshot's coordinate system by the given factors.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="factor_x">
+<parameter_description> scaling factor on the X axis
+</parameter_description>
+</parameter>
+<parameter name="factor_y">
+<parameter_description> scaling factor on the Y axis
+</parameter_description>
+</parameter>
+<parameter name="factor_z">
+<parameter_description> scaling factor on the Z axis
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_to_node">
<description>
Returns the render node that was constructed
@@ -62551,6 +62759,121 @@ or %NULL to use the bounds of the snapshot
</return>
</function>
+<function name="gtk_snapshot_transform">
+<description>
+Transforms @snapshot's coordinate system with the given @transform.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="tranform">
+<parameter_description> the transform to apply
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_transform_matrix">
+<description>
+Transforms @snapshot's coordinate system with the given @matrix.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="matrix">
+<parameter_description> the matrix to multiply the transform with
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_transform_rotate">
+<description>
+Rotates @@snapshot's coordinate system by @angle degrees in 2D space -
+or in 3D speak, rotates around the z axis.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="angle">
+<parameter_description> the rotation angle, in degrees (clockwise)
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_transform_rotate_3d">
+<description>
+Rotates @snapshot's coordinate system by @angle degrees around @axis.
+
+For a rotation in 2D space, use gtk_transform_rotate().
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="angle">
+<parameter_description> the rotation angle, in degrees (clockwise)
+</parameter_description>
+</parameter>
+<parameter name="axis">
+<parameter_description> The rotation axis
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_transform_translate">
+<description>
+Translates @snapshot's coordinate system by @point in 2-dimensional space.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="point">
+<parameter_description> the point to translate the snapshot by
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_snapshot_transform_translate_3d">
+<description>
+Translates @snapshot's coordinate system by @point.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="point">
+<parameter_description> the point to translate the snapshot by
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_sort_list_model_get_model">
<description>
Gets the model currently sorted or %NULL if none.
@@ -66870,6 +67193,236 @@ convenience function gtk_text_buffer_create_child_anchor().
</return>
</function>
+<function name="gtk_text_get_activates_default">
+<description>
+Retrieves the value set by gtk_text_set_activates_default().
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the self will activate the default widget
+</return>
+</function>
+
+<function name="gtk_text_get_attributes">
+<description>
+Gets the attribute list that was set on the self using
+gtk_text_set_attributes(), if any.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> the attribute list, or %NULL
+if none was set.
+</return>
+</function>
+
+<function name="gtk_text_get_buffer">
+<description>
+Get the #GtkEntryBuffer object which holds the text for
+this self.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> A #GtkEntryBuffer object.
+</return>
+</function>
+
+<function name="gtk_text_get_input_hints">
+<description>
+Gets the value of the #GtkText:input-hints property.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_get_input_purpose">
+<description>
+Gets the value of the #GtkText:input-purpose property.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_get_invisible_char">
+<description>
+Retrieves the character displayed in place of the real characters
+for entries with visibility set to false.
+See gtk_text_set_invisible_char().
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> the current invisible char, or 0, if the self does not
+show invisible text at all.
+</return>
+</function>
+
+<function name="gtk_text_get_max_length">
+<description>
+Retrieves the maximum allowed length of the text in
+@self. See gtk_text_set_max_length().
+
+This is equivalent to getting @self's #GtkEntryBuffer and
+calling gtk_entry_buffer_get_max_length() on it.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> the maximum allowed number of characters
+in #GtkText, or 0 if there is no maximum.
+</return>
+</function>
+
+<function name="gtk_text_get_overwrite_mode">
+<description>
+Gets the value set by gtk_text_set_overwrite_mode().
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> whether the text is overwritten when typing.
+</return>
+</function>
+
+<function name="gtk_text_get_placeholder_text">
+<description>
+Retrieves the text that will be displayed when @self is empty and unfocused
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return>a pointer to the placeholder text as a string.
+This string points to internally allocated storage in the widget and must
+not be freed, modified or stored. If no placeholder text has been set,
+%NULL will be returned.
+</return>
+</function>
+
+<function name="gtk_text_get_tabs">
+<description>
+Gets the tabstops that were set on the self using gtk_text_set_tabs(), if
+any.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> the tabstops, or %NULL if none was set.
+</return>
+</function>
+
+<function name="gtk_text_get_text_length">
+<description>
+Retrieves the current length of the text in
+@self.
+
+This is equivalent to getting @self's #GtkEntryBuffer and
+calling gtk_entry_buffer_get_length() on it.
+
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> the current number of characters
+in #GtkText, or 0 if there are none.
+</return>
+</function>
+
+<function name="gtk_text_get_visibility">
+<description>
+Retrieves whether the text in @self is visible.
+See gtk_text_set_visibility().
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the text is currently visible
+</return>
+</function>
+
+<function name="gtk_text_grab_focus_without_selecting">
+<description>
+Causes @self to have keyboard focus.
+
+It behaves like gtk_widget_grab_focus(),
+except that it doesn't select the contents of the self.
+You only want to call this on some special entries
+which the user usually doesn't want to replace all text in,
+such as search-as-you-type entries.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_iter_assign">
<description>
Assigns the value of @other to @iter. This function
@@ -69490,6 +70043,274 @@ Marks are not visible by default.
<return></return>
</function>
+<function name="gtk_text_new">
+<description>
+Creates a new self.
+
+
+</description>
+<parameters>
+</parameters>
+<return> a new #GtkText.
+</return>
+</function>
+
+<function name="gtk_text_new_with_buffer">
+<description>
+Creates a new self with the specified text buffer.
+
+
+</description>
+<parameters>
+<parameter name="buffer">
+<parameter_description> The buffer to use for the new #GtkText.
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GtkText
+</return>
+</function>
+
+<function name="gtk_text_set_activates_default">
+<description>
+If @activates is %TRUE, pressing Enter in the @self will activate the default
+widget for the window containing the self. This usually means that
+the dialog box containing the self will be closed, since the default
+widget is usually one of the dialog buttons.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="activates">
+<parameter_description> %TRUE to activate window’s default widget on Enter keypress
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_set_attributes">
+<description>
+Sets a #PangoAttrList; the attributes in the list are applied to the
+self text.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="attrs">
+<parameter_description> a #PangoAttrList
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_set_buffer">
+<description>
+Set the #GtkEntryBuffer object which holds the text for
+this widget.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="buffer">
+<parameter_description> a #GtkEntryBuffer
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_set_input_hints">
+<description>
+Sets the #GtkText:input-hints property, which
+allows input methods to fine-tune their behaviour.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="hints">
+<parameter_description> the hints
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_set_input_purpose">
+<description>
+Sets the #GtkText:input-purpose property which
+can be used by on-screen keyboards and other input
+methods to adjust their behaviour.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="purpose">
+<parameter_description> the purpose
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_set_invisible_char">
+<description>
+Sets the character to use in place of the actual text when
+gtk_text_set_visibility() has been called to set text visibility
+to %FALSE. i.e. this is the character used in “password mode” to
+show the user how many characters have been typed.
+
+By default, GTK picks the best invisible char available in the
+current font. If you set the invisible char to 0, then the user
+will get no feedback at all; there will be no text on the screen
+as they type.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="ch">
+<parameter_description> a Unicode character
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_set_max_length">
+<description>
+Sets the maximum allowed length of the contents of the widget.
+
+If the current contents are longer than the given length, then
+they will be truncated to fit.
+
+This is equivalent to getting @self's #GtkEntryBuffer and
+calling gtk_entry_buffer_set_max_length() on it.
+]|
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="length">
+<parameter_description> the maximum length of the self, or 0 for no maximum.
+(other than the maximum length of entries.) The value passed in will
+be clamped to the range 0-65536.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_set_overwrite_mode">
+<description>
+Sets whether the text is overwritten when typing in the #GtkText.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="overwrite">
+<parameter_description> new value
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_text_set_placeholder_text">
+<description>
+Sets text to be displayed in @self when it is empty.
+
+This can be used to give a visual hint of the expected
+contents of the self.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="text">
+<parameter_description> a string to be displayed when @self is empty and unfocused, or %NULL
+</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
+text.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="tabs">
+<parameter_description> a #PangoTabArray
+</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.
+When visibility is set to %FALSE, characters are displayed
+as the invisible char, and will also appear that way when
+the text in the self widget is copied to the clipboard.
+
+By default, GTK picks the best invisible character available
+in the current font, but it can be changed with
+gtk_text_set_invisible_char().
+
+Note that you probably want to set #GtkText:input-purpose
+to %GTK_INPUT_PURPOSE_PASSWORD or %GTK_INPUT_PURPOSE_PIN to
+inform input methods about the purpose of this self,
+in addition to setting visibility to %FALSE.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="visible">
+<parameter_description> %TRUE if the contents of the self are displayed
+as plaintext
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_tag_changed">
<description>
Emits the #GtkTextTagTable::tag-changed signal on the #GtkTextTagTable where
@@ -69692,6 +70513,22 @@ it.
<return></return>
</function>
+<function name="gtk_text_unset_invisible_char">
+<description>
+Unsets the invisible char previously set with
+gtk_text_set_invisible_char(). So that the
+default invisible char is used again.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_util_create_drag_icon">
<description>
Creates a drag and drop icon from @text.
@@ -72665,6 +73502,352 @@ key press.
<return></return>
</function>
+<function name="gtk_transform_equal">
+<description>
+Checks two matrices for equality. Note that matrices need to be literally
+identical in their operations, it is not enough that they return the
+same result in gtk_transform_to_matrix().
+
+
+</description>
+<parameters>
+<parameter name="first">
+<parameter_description> the first matrix
+</parameter_description>
+</parameter>
+<parameter name="second">
+<parameter_description> the second matrix
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the two matrices can be proven to be equal
+</return>
+</function>
+
+<function name="gtk_transform_get_next">
+<description>
+Gets the rest of the matrix in the chain of operations.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkTransform
+</parameter_description>
+</parameter>
+</parameters>
+<return> The next transform or
+%NULL if this was the last operation.
+</return>
+</function>
+
+<function name="gtk_transform_get_transform_type">
+<description>
+Returns the type of the @self.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkTransform
+</parameter_description>
+</parameter>
+</parameters>
+<return> the type of the #GtkTransform
+</return>
+</function>
+
+<function name="gtk_transform_identity">
+<description>
+Adds an identity multiplication into the list of matrix operations.
+
+This operation is generally useless, but may be useful when interpolating
+matrices, because the identity matrix can be interpolated to and from
+everything, so an identity matrix can be used as a keyframe between two
+different types of matrices.
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> the next transform operation or %NULL
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_matrix">
+<description>
+Multiplies @next with the given @matrix.
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> the next transform
+</parameter_description>
+</parameter>
+<parameter name="matrix">
+<parameter_description> the matrix to multiply @next with
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_print">
+<description>
+Converts @self into a string representation suitable for printing that
+can later be parsed with gtk_transform_parse().
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkTransform
+</parameter_description>
+</parameter>
+<parameter name="string">
+<parameter_description> The string to print into
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_transform_ref">
+<description>
+Acquires a reference on the given #GtkTransform.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkTransform
+</parameter_description>
+</parameter>
+</parameters>
+<return> the #GtkTransform with an additional reference
+</return>
+</function>
+
+<function name="gtk_transform_rotate">
+<description>
+Rotates @next @angle degrees in 2D - or in 3Dspeak, around the z axis.
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> the next transform
+</parameter_description>
+</parameter>
+<parameter name="angle">
+<parameter_description> the rotation angle, in degrees (clockwise)
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_rotate_3d">
+<description>
+Rotates @next @angle degrees around @axis.
+
+For a rotation in 2D space, use gtk_transform_rotate().
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> the next transform
+</parameter_description>
+</parameter>
+<parameter name="angle">
+<parameter_description> the rotation angle, in degrees (clockwise)
+</parameter_description>
+</parameter>
+<parameter name="axis">
+<parameter_description> The rotation axis
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_scale">
+<description>
+Scales @next in 2-dimensional space by the given factors.
+Use gtk_transform_scale_3d() to scale in all 3 dimensions.
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> the next transform
+</parameter_description>
+</parameter>
+<parameter name="factor_x">
+<parameter_description> scaling factor on the X axis
+</parameter_description>
+</parameter>
+<parameter name="factor_y">
+<parameter_description> scaling factor on the Y axis
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_scale_3d">
+<description>
+Scales @next by the given factors.
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> the next transform
+</parameter_description>
+</parameter>
+<parameter name="factor_x">
+<parameter_description> scaling factor on the X axis
+</parameter_description>
+</parameter>
+<parameter name="factor_y">
+<parameter_description> scaling factor on the Y axis
+</parameter_description>
+</parameter>
+<parameter name="factor_z">
+<parameter_description> scaling factor on the Z axis
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_to_matrix">
+<description>
+Computes the actual value of @self and stores it in @out_matrix.
+The previous value of @out_matrix will be ignored.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkTransform
+</parameter_description>
+</parameter>
+<parameter name="out_matrix">
+<parameter_description> The matrix to set
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_transform_to_string">
+<description>
+Converts a matrix into a string that is suitable for
+printing and can later be parsed with gtk_transform_parse().
+
+This is a wrapper around gtk_transform_print(), see that function
+for details.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkTransform
+</parameter_description>
+</parameter>
+</parameters>
+<return> A new string for @self
+</return>
+</function>
+
+<function name="gtk_transform_transform">
+<description>
+Applies all the operations from @other to @next.
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> Transform to apply @other to
+</parameter_description>
+</parameter>
+<parameter name="other">
+<parameter_description> Transform to apply
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_translate">
+<description>
+Translates @next in 2dimensional space by @point.
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> the next transform
+</parameter_description>
+</parameter>
+<parameter name="point">
+<parameter_description> the point to translate the matrix by
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_translate_3d">
+<description>
+Translates @next by @point.
+
+
+</description>
+<parameters>
+<parameter name="next">
+<parameter_description> the next transform
+</parameter_description>
+</parameter>
+<parameter name="point">
+<parameter_description> the point to translate the matrix by
+</parameter_description>
+</parameter>
+</parameters>
+<return> The new matrix
+</return>
+</function>
+
+<function name="gtk_transform_unref">
+<description>
+Releases a reference on the given #GtkTransform.
+
+If the reference was the last, the resources associated to the @self are
+freed.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkTransform
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_tree_drag_dest_drag_data_received">
<description>
Asks the #GtkTreeDragDest to insert a row before the path @dest,
@@ -80098,6 +81281,43 @@ gtk_widget_remove_tick_callback()
</return>
</function>
+<function name="gtk_widget_allocate">
+<description>
+This function is only used by #GtkWidget subclasses, to assign a size,
+position and (optionally) baseline to their child widgets.
+
+In this function, the allocation and baseline may be adjusted. The given
+allocation will be forced to be bigger than the widget's minimum size,
+as well as at least 0×0 in size.
+
+For a version that does not take a transform, see gtk_widget_size_allocate()
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> A #GtkWidget
+</parameter_description>
+</parameter>
+<parameter name="width">
+<parameter_description> New width of @widget
+</parameter_description>
+</parameter>
+<parameter name="height">
+<parameter_description> New height of @widget
+</parameter_description>
+</parameter>
+<parameter name="baseline">
+<parameter_description> New baseline of @widget, or -1
+</parameter_description>
+</parameter>
+<parameter name="transform">
+<parameter_description> Transformation to be applied to @widget
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_widget_can_activate_accel">
<description>
Determines whether an accelerator that activates the signal
@@ -80650,6 +81870,67 @@ the widget may expand if some of its children do.
</return>
</function>
+<function name="gtk_widget_compute_point">
+<description>
+Translates the given @point in @widget's coordinates to coordinates
+relative to @target’s coodinate system. In order to perform this
+operation, both widgets must share a common ancestor.
+
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> the #GtkWidget to query
+</parameter_description>
+</parameter>
+<parameter name="target">
+<parameter_description> the #GtkWidget to transform into
+</parameter_description>
+</parameter>
+<parameter name="point">
+<parameter_description> a point in @widget's coordinate system
+</parameter_description>
+</parameter>
+<parameter name="out_point">
+<parameter_description> Set to the corresponding coordinates in
+@target's coordinate system
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the point could be determined, %FALSE on failure.
+In this case, 0 is stored in @out_point.
+</return>
+</function>
+
+<function name="gtk_widget_compute_transform">
+<description>
+Computes a matrix suitable to describe a transformation from
+@widget's coordinate system into @target's coordinate system.
+
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+<parameter name="target">
+<parameter_description> the target widget that the matrix will transform to
+</parameter_description>
+</parameter>
+<parameter name="out_transform">
+<parameter_description> location to
+store the final transformation
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the transform could be computed, %FALSE otherwise.
+The transform can not be computed in certain cases, for example when
+@widget and @target do not share a common ancestor. In that
+case @out_transform gets set to the identity matrix.
+</return>
+</function>
+
<function name="gtk_widget_contains">
<description>
Tests if the point at (@x, @y) is contained in @widget. Points
@@ -80661,7 +81942,7 @@ The coordinates for (@x, @y) must be in widget coordinates, so
Pass-through widgets and insensitive widgets do never respond to
input and will therefor always return %FALSE here. See
-gtk_widget_set_pass_through() and gtk_widget_set_sensitive() for
+gtk_widget_set_can_pick() and gtk_widget_set_sensitive() for
details about those functions.
@@ -80972,36 +82253,6 @@ Returns the height that has currently been allocated to @widget.
</return>
</function>
-<function name="gtk_widget_get_allocated_size">
-<description>
-Retrieves the widget’s allocated size.
-
-This function returns the last values passed to
-gtk_widget_size_allocate(). The value differs from
-the size returned in gtk_widget_get_allocation() in that functions
-like gtk_widget_set_halign() can adjust the allocation, but not
-the value returned by this function.
-
-If a widget is not visible, its allocated size is 0.
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget
-</parameter_description>
-</parameter>
-<parameter name="allocation">
-<parameter_description> a pointer to a #GtkAllocation to copy to
-</parameter_description>
-</parameter>
-<parameter name="baseline">
-<parameter_description> a pointer to an integer to copy to
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_widget_get_allocated_width">
<description>
Returns the width that has currently been allocated to @widget.
@@ -81851,6 +83102,25 @@ capabilities.
</return>
</function>
+<function name="gtk_widget_get_root">
+<description>
+Returns the #GtkRoot widget of @widget or %NULL if the widget is not contained
+inside a widget tree with a root widget.
+
+#GtkRoot widgets will return themselves here.
+
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+</parameters>
+<return> the root widget of @widget, or %NULL
+</return>
+</function>
+
<function name="gtk_widget_get_scale_factor">
<description>
Retrieves the internal scale factor that maps from window coordinates
@@ -84989,12 +86259,8 @@ toplevel container is realized and mapped.
<function name="gtk_widget_size_allocate">
<description>
-This function is only used by #GtkWidget subclasses, to assign a size,
-position and (optionally) baseline to their child widgets.
-
-In this function, the allocation and baseline may be adjusted. The given
-allocation will be forced to be bigger than the widget's minimum size,
-as well as at least 0×0 in size.
+This is a simple form of gtk_widget_allocate() that takes the new position
+of @widget as part of @allocation.
</description>
<parameters>
@@ -85038,8 +86304,8 @@ gtk_widget_snapshot_child() takes care of translating the origin of
</parameter>
<parameter name="snapshot">
<parameter_description> #GtkSnapshot as passed to the widget. In particular, no
-calls to gtk_snapshot_offset() should have been applied by the
-parent.
+calls to gtk_snapshot_translate() or other transform calls should
+have been made.
</parameter_description>
</parameter>
</parameters>
diff --git a/gtk/src/gtk_docs_override.xml b/gtk/src/gtk_docs_override.xml
index 4eb9b7b9..3c1abe46 100644
--- a/gtk/src/gtk_docs_override.xml
+++ b/gtk/src/gtk_docs_override.xml
@@ -1583,6 +1583,47 @@ constructed by the Gtk::Builder instance.
</return>
</function>
+<!-- TODO: Remove this function description when gtk's description contains -->
+<!-- the correct number of parameters (@text). -->
+<function name="gtk_editable_set_text">
+<description>
+Sets the text in the editable to the given value,
+replacing the current contents.
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+<parameter name="text">
+<parameter_description> a pointer to the text to set.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<!-- TODO: Remove this signal description when gtk's description contains -->
+<!-- the correct number of parameters (no @keyval). -->
+<signal name="GtkEventControllerKey::modifiers">
+<description>
+This signal is emitted whenever the state of modifier keys and pointer
+buttons change.
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+<parameter name="state">
+<parameter_description> the bitmask, representing the new state of modifier keys and
+pointer buttons. See #GdkModifierType.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
<!-- TODO: Remove this signal description when gtk+'s description contains -->
<!-- the correct number of parameters (no @info). -->
<signal name="GtkWidget::drag-data-get">
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index e0e85a42..e945fffc 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -280,7 +280,6 @@
;; GTK_CSS_SECTION_DOCUMENT,
;; GTK_CSS_SECTION_IMPORT,
;; GTK_CSS_SECTION_COLOR_DEFINITION,
-;; GTK_CSS_SECTION_BINDING_SET,
;; GTK_CSS_SECTION_RULESET,
;; GTK_CSS_SECTION_SELECTOR,
;; GTK_CSS_SECTION_DECLARATION,
@@ -295,12 +294,11 @@
'("document" "GTK_CSS_SECTION_DOCUMENT" "0")
'("import" "GTK_CSS_SECTION_IMPORT" "1")
'("color-definition" "GTK_CSS_SECTION_COLOR_DEFINITION" "2")
- '("binding-set" "GTK_CSS_SECTION_BINDING_SET" "3")
- '("ruleset" "GTK_CSS_SECTION_RULESET" "4")
- '("selector" "GTK_CSS_SECTION_SELECTOR" "5")
- '("declaration" "GTK_CSS_SECTION_DECLARATION" "6")
- '("value" "GTK_CSS_SECTION_VALUE" "7")
- '("keyframes" "GTK_CSS_SECTION_KEYFRAMES" "8")
+ '("ruleset" "GTK_CSS_SECTION_RULESET" "3")
+ '("selector" "GTK_CSS_SECTION_SELECTOR" "4")
+ '("declaration" "GTK_CSS_SECTION_DECLARATION" "5")
+ '("value" "GTK_CSS_SECTION_VALUE" "6")
+ '("keyframes" "GTK_CSS_SECTION_KEYFRAMES" "7")
)
)
@@ -426,6 +424,35 @@
)
)
+;; From gtkeditable.h
+
+;; Original typedef:
+;; typedef enum {
+;; GTK_EDITABLE_PROP_TEXT,
+;; GTK_EDITABLE_PROP_CURSOR_POSITION,
+;; GTK_EDITABLE_PROP_SELECTION_BOUND,
+;; GTK_EDITABLE_PROP_EDITABLE,
+;; GTK_EDITABLE_PROP_WIDTH_CHARS,
+;; GTK_EDITABLE_PROP_MAX_WIDTH_CHARS,
+;; GTK_EDITABLE_PROP_XALIGN,
+;; GTK_EDITABLE_NUM_PROPERTIES
+;; } GtkEditableProperties;
+
+(define-enum-extended EditableProperties
+ (in-module "Gtk")
+ (c-name "GtkEditableProperties")
+ (values
+ '("prop-text" "GTK_EDITABLE_PROP_TEXT" "0")
+ '("prop-cursor-position" "GTK_EDITABLE_PROP_CURSOR_POSITION" "1")
+ '("prop-selection-bound" "GTK_EDITABLE_PROP_SELECTION_BOUND" "2")
+ '("prop-editable" "GTK_EDITABLE_PROP_EDITABLE" "3")
+ '("prop-width-chars" "GTK_EDITABLE_PROP_WIDTH_CHARS" "4")
+ '("prop-max-width-chars" "GTK_EDITABLE_PROP_MAX_WIDTH_CHARS" "5")
+ '("prop-xalign" "GTK_EDITABLE_PROP_XALIGN" "6")
+ '("num-properties" "GTK_EDITABLE_NUM_PROPERTIES" "7")
+ )
+)
+
;; From gtkentry.h
;; Original typedef:
@@ -2417,6 +2444,30 @@
)
)
+;; From gtktransform.h
+
+;; Original typedef:
+;; typedef enum
+;; {
+;; GTK_TRANSFORM_TYPE_IDENTITY,
+;; GTK_TRANSFORM_TYPE_TRANSFORM,
+;; GTK_TRANSFORM_TYPE_TRANSLATE,
+;; GTK_TRANSFORM_TYPE_ROTATE,
+;; GTK_TRANSFORM_TYPE_SCALE
+;; } GtkTransformType;
+
+(define-enum-extended TransformType
+ (in-module "Gtk")
+ (c-name "GtkTransformType")
+ (values
+ '("identity" "GTK_TRANSFORM_TYPE_IDENTITY" "0")
+ '("transform" "GTK_TRANSFORM_TYPE_TRANSFORM" "1")
+ '("translate" "GTK_TRANSFORM_TYPE_TRANSLATE" "2")
+ '("rotate" "GTK_TRANSFORM_TYPE_ROTATE" "3")
+ '("scale" "GTK_TRANSFORM_TYPE_SCALE" "4")
+ )
+)
+
;; From gtktreemodel.h
;; Original typedef:
diff --git a/gtk/src/gtk_extra_objects.defs b/gtk/src/gtk_extra_objects.defs
index ce1bbe94..e5c1e552 100644
--- a/gtk/src/gtk_extra_objects.defs
+++ b/gtk/src/gtk_extra_objects.defs
@@ -55,6 +55,12 @@
(gtype-id "GTK_TYPE_EVENT_CONTROLLER")
)
+(define-object EventControllerKey
+ (in-module "Gtk")
+ (c-name "GtkEventControllerKey")
+ (gtype-id "GTK_TYPE_EVENT_CONTROLLER_KEY")
+)
+
(define-object FileChooser
(in-module "Gtk")
(c-name "GtkFileChooser")
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 061c9746..00d113a2 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -464,6 +464,13 @@
(gtype-id "GTK_TYPE_SEPARATOR")
)
+(define-object SearchEntry
+ (in-module "Gtk")
+ (parent "GtkWidget")
+ (c-name "GtkSearchEntry")
+ (gtype-id "GTK_TYPE_SEARCH_ENTRY")
+)
+
(define-object Scrollbar
(in-module "Gtk")
(parent "GtkWidget")
@@ -492,6 +499,13 @@
(gtype-id "GTK_TYPE_PROGRESS_BAR")
)
+(define-object PasswordEntry
+ (in-module "Gtk")
+ (parent "GtkWidget")
+ (c-name "GtkPasswordEntry")
+ (gtype-id "GTK_TYPE_PASSWORD_ENTRY")
+)
+
(define-object LevelBar
(in-module "Gtk")
(parent "GtkWidget")
@@ -555,13 +569,6 @@
(gtype-id "GTK_TYPE_ENTRY")
)
-(define-object SearchEntry
- (in-module "Gtk")
- (parent "GtkEntry")
- (c-name "GtkSearchEntry")
- (gtype-id "GTK_TYPE_SEARCH_ENTRY")
-)
-
(define-object DrawingArea
(in-module "Gtk")
(parent "GtkWidget")
@@ -1284,7 +1291,6 @@
'("document" "GTK_CSS_SECTION_DOCUMENT")
'("import" "GTK_CSS_SECTION_IMPORT")
'("color-definition" "GTK_CSS_SECTION_COLOR_DEFINITION")
- '("binding-set" "GTK_CSS_SECTION_BINDING_SET")
'("ruleset" "GTK_CSS_SECTION_RULESET")
'("selector" "GTK_CSS_SECTION_SELECTOR")
'("declaration" "GTK_CSS_SECTION_DECLARATION")
@@ -1360,6 +1366,22 @@
)
)
+(define-enum EditableProperties
+ (in-module "Gtk")
+ (c-name "GtkEditableProperties")
+ (gtype-id "GTK_TYPE_EDITABLE_PROPERTIES")
+ (values
+ '("prop-text" "GTK_EDITABLE_PROP_TEXT")
+ '("prop-cursor-position" "GTK_EDITABLE_PROP_CURSOR_POSITION")
+ '("prop-selection-bound" "GTK_EDITABLE_PROP_SELECTION_BOUND")
+ '("prop-editable" "GTK_EDITABLE_PROP_EDITABLE")
+ '("prop-width-chars" "GTK_EDITABLE_PROP_WIDTH_CHARS")
+ '("prop-max-width-chars" "GTK_EDITABLE_PROP_MAX_WIDTH_CHARS")
+ '("prop-xalign" "GTK_EDITABLE_PROP_XALIGN")
+ '("num-properties" "GTK_EDITABLE_NUM_PROPERTIES")
+ )
+)
+
(define-enum EntryIconPosition
(in-module "Gtk")
(c-name "GtkEntryIconPosition")
@@ -2511,6 +2533,19 @@
)
)
+(define-enum TransformType
+ (in-module "Gtk")
+ (c-name "GtkTransformType")
+ (gtype-id "GTK_TYPE_TRANSFORM_TYPE")
+ (values
+ '("identity" "GTK_TRANSFORM_TYPE_IDENTITY")
+ '("transform" "GTK_TRANSFORM_TYPE_TRANSFORM")
+ '("translate" "GTK_TRANSFORM_TYPE_TRANSLATE")
+ '("rotate" "GTK_TRANSFORM_TYPE_ROTATE")
+ '("scale" "GTK_TRANSFORM_TYPE_SCALE")
+ )
+)
+
(define-flags TreeModelFlags
(in-module "Gtk")
(c-name "GtkTreeModelFlags")
@@ -4424,25 +4459,6 @@
(return-type "none")
)
-(define-method set_page_has_padding
- (of-object "GtkAssistant")
- (c-name "gtk_assistant_set_page_has_padding")
- (return-type "none")
- (parameters
- '("GtkWidget*" "page")
- '("gboolean" "has_padding")
- )
-)
-
-(define-method get_page_has_padding
- (of-object "GtkAssistant")
- (c-name "gtk_assistant_get_page_has_padding")
- (return-type "gboolean")
- (parameters
- '("GtkWidget*" "page")
- )
-)
-
(define-method get_page
(of-object "GtkAssistant")
(c-name "gtk_assistant_get_page")
@@ -4458,6 +4474,12 @@
(return-type "GtkWidget*")
)
+(define-method get_pages
+ (of-object "GtkAssistant")
+ (c-name "gtk_assistant_get_pages")
+ (return-type "GListModel*")
+)
+
;; From gtk-autocleanups.h
@@ -7414,12 +7436,6 @@
)
)
-(define-method check_resize
- (of-object "GtkContainer")
- (c-name "gtk_container_check_resize")
- (return-type "none")
-)
-
(define-method foreach
(of-object "GtkContainer")
(c-name "gtk_container_foreach")
@@ -8278,23 +8294,28 @@
(return-type "GType")
)
-(define-method select_region
+(define-method get_text
(of-object "GtkEditable")
- (c-name "gtk_editable_select_region")
+ (c-name "gtk_editable_get_text")
+ (return-type "const-char*")
+)
+
+(define-method set_text
+ (of-object "GtkEditable")
+ (c-name "gtk_editable_set_text")
(return-type "none")
(parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
+ '("const-char*" "text")
)
)
-(define-method get_selection_bounds
+(define-method get_chars
(of-object "GtkEditable")
- (c-name "gtk_editable_get_selection_bounds")
- (return-type "gboolean")
+ (c-name "gtk_editable_get_chars")
+ (return-type "char*")
(parameters
- '("gint*" "start_pos")
- '("gint*" "end_pos")
+ '("int" "start_pos")
+ '("int" "end_pos")
)
)
@@ -8303,9 +8324,9 @@
(c-name "gtk_editable_insert_text")
(return-type "none")
(parameters
- '("const-gchar*" "new_text")
- '("gint" "new_text_length")
- '("gint*" "position")
+ '("const-char*" "text")
+ '("int" "length")
+ '("int*" "position")
)
)
@@ -8314,73 +8335,153 @@
(c-name "gtk_editable_delete_text")
(return-type "none")
(parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
+ '("int" "start_pos")
+ '("int" "end_pos")
)
)
-(define-method get_chars
+(define-method get_selection_bounds
(of-object "GtkEditable")
- (c-name "gtk_editable_get_chars")
- (return-type "gchar*")
+ (c-name "gtk_editable_get_selection_bounds")
+ (return-type "gboolean")
(parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
+ '("int*" "start_pos")
+ '("int*" "end_pos")
)
)
-(define-method cut_clipboard
+(define-method delete_selection
(of-object "GtkEditable")
- (c-name "gtk_editable_cut_clipboard")
+ (c-name "gtk_editable_delete_selection")
(return-type "none")
)
-(define-method copy_clipboard
+(define-method select_region
(of-object "GtkEditable")
- (c-name "gtk_editable_copy_clipboard")
+ (c-name "gtk_editable_select_region")
(return-type "none")
+ (parameters
+ '("int" "start_pos")
+ '("int" "end_pos")
+ )
)
-(define-method paste_clipboard
+(define-method set_position
(of-object "GtkEditable")
- (c-name "gtk_editable_paste_clipboard")
+ (c-name "gtk_editable_set_position")
(return-type "none")
+ (parameters
+ '("int" "position")
+ )
)
-(define-method delete_selection
+(define-method get_position
(of-object "GtkEditable")
- (c-name "gtk_editable_delete_selection")
+ (c-name "gtk_editable_get_position")
+ (return-type "int")
+)
+
+(define-method get_editable
+ (of-object "GtkEditable")
+ (c-name "gtk_editable_get_editable")
+ (return-type "gboolean")
+)
+
+(define-method set_editable
+ (of-object "GtkEditable")
+ (c-name "gtk_editable_set_editable")
(return-type "none")
+ (parameters
+ '("gboolean" "is_editable")
+ )
)
-(define-method set_position
+(define-method get_alignment
(of-object "GtkEditable")
- (c-name "gtk_editable_set_position")
+ (c-name "gtk_editable_get_alignment")
+ (return-type "float")
+)
+
+(define-method set_alignment
+ (of-object "GtkEditable")
+ (c-name "gtk_editable_set_alignment")
(return-type "none")
(parameters
- '("gint" "position")
+ '("float" "xalign")
)
)
-(define-method get_position
+(define-method get_width_chars
(of-object "GtkEditable")
- (c-name "gtk_editable_get_position")
- (return-type "gint")
+ (c-name "gtk_editable_get_width_chars")
+ (return-type "int")
)
-(define-method set_editable
+(define-method set_width_chars
(of-object "GtkEditable")
- (c-name "gtk_editable_set_editable")
+ (c-name "gtk_editable_set_width_chars")
(return-type "none")
(parameters
- '("gboolean" "is_editable")
+ '("int" "n_chars")
)
)
-(define-method get_editable
+(define-method get_max_width_chars
(of-object "GtkEditable")
- (c-name "gtk_editable_get_editable")
+ (c-name "gtk_editable_get_max_width_chars")
+ (return-type "int")
+)
+
+(define-method set_max_width_chars
+ (of-object "GtkEditable")
+ (c-name "gtk_editable_set_max_width_chars")
+ (return-type "none")
+ (parameters
+ '("int" "n_chars")
+ )
+)
+
+(define-function gtk_editable_install_properties
+ (c-name "gtk_editable_install_properties")
+ (return-type "guint")
+ (parameters
+ '("GObjectClass*" "object_class")
+ '("guint" "first_prop")
+ )
+)
+
+(define-method init_delegate
+ (of-object "GtkEditable")
+ (c-name "gtk_editable_init_delegate")
+ (return-type "none")
+)
+
+(define-method finish_delegate
+ (of-object "GtkEditable")
+ (c-name "gtk_editable_finish_delegate")
+ (return-type "none")
+)
+
+(define-function gtk_editable_delegate_set_property
+ (c-name "gtk_editable_delegate_set_property")
+ (return-type "gboolean")
+ (parameters
+ '("GObject*" "object")
+ '("guint" "prop_id")
+ '("const-GValue*" "value")
+ '("GParamSpec*" "pspec")
+ )
+)
+
+(define-function gtk_editable_delegate_get_property
+ (c-name "gtk_editable_delegate_get_property")
(return-type "gboolean")
+ (parameters
+ '("GObject*" "object")
+ '("guint" "prop_id")
+ '("GValue*" "value")
+ '("GParamSpec*" "pspec")
+ )
)
@@ -8412,7 +8513,7 @@
(is-constructor-of "GtkEmojiCompletion")
(return-type "GtkWidget*")
(parameters
- '("GtkEntry*" "entry")
+ '("GtkText*" "text")
)
)
@@ -8921,22 +9022,6 @@
(return-type "const-gchar*")
)
-(define-method get_layout
- (of-object "GtkEntry")
- (c-name "gtk_entry_get_layout")
- (return-type "PangoLayout*")
-)
-
-(define-method get_layout_offsets
- (of-object "GtkEntry")
- (c-name "gtk_entry_get_layout_offsets")
- (return-type "none")
- (parameters
- '("gint*" "x")
- '("gint*" "y")
- )
-)
-
(define-method set_alignment
(of-object "GtkEntry")
(c-name "gtk_entry_set_alignment")
@@ -8967,24 +9052,6 @@
(return-type "GtkEntryCompletion*")
)
-(define-method layout_index_to_text_index
- (of-object "GtkEntry")
- (c-name "gtk_entry_layout_index_to_text_index")
- (return-type "gint")
- (parameters
- '("gint" "layout_index")
- )
-)
-
-(define-method text_index_to_layout_index
- (of-object "GtkEntry")
- (c-name "gtk_entry_text_index_to_layout_index")
- (return-type "gint")
- (parameters
- '("gint" "text_index")
- )
-)
-
(define-method set_progress_fraction
(of-object "GtkEntry")
(c-name "gtk_entry_set_progress_fraction")
@@ -9215,15 +9282,6 @@
)
)
-(define-method im_context_filter_keypress
- (of-object "GtkEntry")
- (c-name "gtk_entry_im_context_filter_keypress")
- (return-type "gboolean")
- (parameters
- '("GdkEventKey*" "event")
- )
-)
-
(define-method reset_im_context
(of-object "GtkEntry")
(c-name "gtk_entry_reset_im_context")
@@ -16768,6 +16826,32 @@
)
)
+(define-function gtk_notebook_page_get_type
+ (c-name "gtk_notebook_page_get_type")
+ (return-type "GType")
+)
+
+(define-method get_page
+ (of-object "GtkNotebook")
+ (c-name "gtk_notebook_get_page")
+ (return-type "GtkNotebookPage*")
+ (parameters
+ '("GtkWidget*" "child")
+ )
+)
+
+(define-method get_child
+ (of-object "GtkNotebookPage")
+ (c-name "gtk_notebook_page_get_child")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_pages
+ (of-object "GtkNotebook")
+ (c-name "gtk_notebook_get_pages")
+ (return-type "GListModel*")
+)
+
;; From gtkorientable.h
@@ -16816,16 +16900,6 @@
)
)
-(define-method reorder_overlay
- (of-object "GtkOverlay")
- (c-name "gtk_overlay_reorder_overlay")
- (return-type "none")
- (parameters
- '("GtkWidget*" "child")
- '("gint" "position")
- )
-)
-
(define-method get_overlay_pass_through
(of-object "GtkOverlay")
(c-name "gtk_overlay_get_overlay_pass_through")
@@ -17540,6 +17614,21 @@
+;; From gtkpasswordentry.h
+
+(define-function gtk_password_entry_get_type
+ (c-name "gtk_password_entry_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_password_entry_new
+ (c-name "gtk_password_entry_new")
+ (is-constructor-of "GtkPasswordEntry")
+ (return-type "GtkWidget*")
+)
+
+
+
;; From gtkpathbar.h
(define-function gtk_path_bar_get_type
@@ -21103,6 +21192,10 @@
+;; From gtkroot.h
+
+
+
;; From gtkscalebutton.h
(define-function gtk_scale_button_get_type
@@ -21686,7 +21779,7 @@
(c-name "gtk_search_bar_connect_entry")
(return-type "none")
(parameters
- '("GtkEntry*" "entry")
+ '("GtkEditable*" "entry")
)
)
@@ -22094,10 +22187,12 @@
(define-method query_range
(of-object "GtkSelectionModel")
(c-name "gtk_selection_model_query_range")
- (return-type "gboolean")
+ (return-type "none")
(parameters
- '("guint*" "position")
+ '("guint" "position")
+ '("guint*" "start_range")
'("guint*" "n_items")
+ '("gboolean*" "selected")
)
)
@@ -22607,15 +22702,6 @@
(varargs #t)
)
-(define-method push_transform
- (of-object "GtkSnapshot")
- (c-name "gtk_snapshot_push_transform")
- (return-type "none")
- (parameters
- '("const-graphene_matrix_t*" "transform")
- )
-)
-
(define-method push_opacity
(of-object "GtkSnapshot")
(c-name "gtk_snapshot_push_opacity")
@@ -22706,32 +22792,100 @@
(return-type "none")
)
-(define-method offset
+(define-method save
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_save")
+ (return-type "none")
+)
+
+(define-method restore
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_restore")
+ (return-type "none")
+)
+
+(define-method transform
(of-object "GtkSnapshot")
- (c-name "gtk_snapshot_offset")
+ (c-name "gtk_snapshot_transform")
(return-type "none")
(parameters
- '("int" "x")
- '("int" "y")
+ '("GtkTransform*" "transform")
)
)
-(define-method get_offset
+(define-method transform_matrix
(of-object "GtkSnapshot")
- (c-name "gtk_snapshot_get_offset")
+ (c-name "gtk_snapshot_transform_matrix")
(return-type "none")
(parameters
- '("int*" "x")
- '("int*" "y")
+ '("const-graphene_matrix_t*" "matrix")
)
)
-(define-method append_node
+(define-method translate
(of-object "GtkSnapshot")
- (c-name "gtk_snapshot_append_node")
+ (c-name "gtk_snapshot_translate")
(return-type "none")
(parameters
- '("GskRenderNode*" "node")
+ '("const-graphene_point_t*" "point")
+ )
+)
+
+(define-method translate_3d
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_translate_3d")
+ (return-type "none")
+ (parameters
+ '("const-graphene_point3d_t*" "point")
+ )
+)
+
+(define-method rotate
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_rotate")
+ (return-type "none")
+ (parameters
+ '("float" "angle")
+ )
+)
+
+(define-method rotate_3d
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_rotate_3d")
+ (return-type "none")
+ (parameters
+ '("float" "angle")
+ '("const-graphene_vec3_t*" "axis")
+ )
+)
+
+(define-method scale
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_scale")
+ (return-type "none")
+ (parameters
+ '("float" "factor_x")
+ '("float" "factor_y")
+ )
+)
+
+(define-method scale_3d
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_scale_3d")
+ (return-type "none")
+ (parameters
+ '("float" "factor_x")
+ '("float" "factor_y")
+ '("float" "factor_z")
+ )
+)
+
+(define-method append_node
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_append_node")
+ (return-type "none")
+ (parameters
+ '("GskRenderNode*" "node")
)
)
@@ -22790,6 +22944,45 @@
)
)
+(define-method append_border
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_append_border")
+ (return-type "none")
+ (parameters
+ '("const-GskRoundedRect*" "outline")
+ '("const-float" "border_width[4]")
+ '("const-GdkRGBA" "border_color[4]")
+ )
+)
+
+(define-method append_inset_shadow
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_append_inset_shadow")
+ (return-type "none")
+ (parameters
+ '("const-GskRoundedRect*" "outline")
+ '("const-GdkRGBA*" "color")
+ '("float" "dx")
+ '("float" "dy")
+ '("float" "spread")
+ '("float" "blur_radius")
+ )
+)
+
+(define-method append_outset_shadow
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_append_outset_shadow")
+ (return-type "none")
+ (parameters
+ '("const-GskRoundedRect*" "outline")
+ '("const-GdkRGBA*" "color")
+ '("float" "dx")
+ '("float" "dy")
+ '("float" "spread")
+ '("float" "blur_radius")
+ )
+)
+
(define-method append_layout
(of-object "GtkSnapshot")
(c-name "gtk_snapshot_append_layout")
@@ -24601,6 +24794,212 @@
+;; From gtktext.h
+
+(define-function gtk_text_get_type
+ (c-name "gtk_text_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_text_new
+ (c-name "gtk_text_new")
+ (is-constructor-of "GtkText")
+ (return-type "GtkWidget*")
+)
+
+(define-function gtk_text_new_with_buffer
+ (c-name "gtk_text_new_with_buffer")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkEntryBuffer*" "buffer")
+ )
+)
+
+(define-method get_buffer
+ (of-object "GtkText")
+ (c-name "gtk_text_get_buffer")
+ (return-type "GtkEntryBuffer*")
+)
+
+(define-method set_buffer
+ (of-object "GtkText")
+ (c-name "gtk_text_set_buffer")
+ (return-type "none")
+ (parameters
+ '("GtkEntryBuffer*" "buffer")
+ )
+)
+
+(define-method set_visibility
+ (of-object "GtkText")
+ (c-name "gtk_text_set_visibility")
+ (return-type "none")
+ (parameters
+ '("gboolean" "visible")
+ )
+)
+
+(define-method get_visibility
+ (of-object "GtkText")
+ (c-name "gtk_text_get_visibility")
+ (return-type "gboolean")
+)
+
+(define-method set_invisible_char
+ (of-object "GtkText")
+ (c-name "gtk_text_set_invisible_char")
+ (return-type "none")
+ (parameters
+ '("gunichar" "ch")
+ )
+)
+
+(define-method get_invisible_char
+ (of-object "GtkText")
+ (c-name "gtk_text_get_invisible_char")
+ (return-type "gunichar")
+)
+
+(define-method unset_invisible_char
+ (of-object "GtkText")
+ (c-name "gtk_text_unset_invisible_char")
+ (return-type "none")
+)
+
+(define-method set_overwrite_mode
+ (of-object "GtkText")
+ (c-name "gtk_text_set_overwrite_mode")
+ (return-type "none")
+ (parameters
+ '("gboolean" "overwrite")
+ )
+)
+
+(define-method get_overwrite_mode
+ (of-object "GtkText")
+ (c-name "gtk_text_get_overwrite_mode")
+ (return-type "gboolean")
+)
+
+(define-method set_max_length
+ (of-object "GtkText")
+ (c-name "gtk_text_set_max_length")
+ (return-type "none")
+ (parameters
+ '("int" "length")
+ )
+)
+
+(define-method get_max_length
+ (of-object "GtkText")
+ (c-name "gtk_text_get_max_length")
+ (return-type "gint")
+)
+
+(define-method get_text_length
+ (of-object "GtkText")
+ (c-name "gtk_text_get_text_length")
+ (return-type "guint16")
+)
+
+(define-method set_activates_default
+ (of-object "GtkText")
+ (c-name "gtk_text_set_activates_default")
+ (return-type "none")
+ (parameters
+ '("gboolean" "activates")
+ )
+)
+
+(define-method get_activates_default
+ (of-object "GtkText")
+ (c-name "gtk_text_get_activates_default")
+ (return-type "gboolean")
+)
+
+(define-method get_placeholder_text
+ (of-object "GtkText")
+ (c-name "gtk_text_get_placeholder_text")
+ (return-type "const-char*")
+)
+
+(define-method set_placeholder_text
+ (of-object "GtkText")
+ (c-name "gtk_text_set_placeholder_text")
+ (return-type "none")
+ (parameters
+ '("const-char*" "text")
+ )
+)
+
+(define-method set_input_purpose
+ (of-object "GtkText")
+ (c-name "gtk_text_set_input_purpose")
+ (return-type "none")
+ (parameters
+ '("GtkInputPurpose" "purpose")
+ )
+)
+
+(define-method get_input_purpose
+ (of-object "GtkText")
+ (c-name "gtk_text_get_input_purpose")
+ (return-type "GtkInputPurpose")
+)
+
+(define-method set_input_hints
+ (of-object "GtkText")
+ (c-name "gtk_text_set_input_hints")
+ (return-type "none")
+ (parameters
+ '("GtkInputHints" "hints")
+ )
+)
+
+(define-method get_input_hints
+ (of-object "GtkText")
+ (c-name "gtk_text_get_input_hints")
+ (return-type "GtkInputHints")
+)
+
+(define-method set_attributes
+ (of-object "GtkText")
+ (c-name "gtk_text_set_attributes")
+ (return-type "none")
+ (parameters
+ '("PangoAttrList*" "attrs")
+ )
+)
+
+(define-method get_attributes
+ (of-object "GtkText")
+ (c-name "gtk_text_get_attributes")
+ (return-type "PangoAttrList*")
+)
+
+(define-method set_tabs
+ (of-object "GtkText")
+ (c-name "gtk_text_set_tabs")
+ (return-type "none")
+ (parameters
+ '("PangoTabArray*" "tabs")
+ )
+)
+
+(define-method get_tabs
+ (of-object "GtkText")
+ (c-name "gtk_text_get_tabs")
+ (return-type "PangoTabArray*")
+)
+
+(define-method grab_focus_without_selecting
+ (of-object "GtkText")
+ (c-name "gtk_text_grab_focus_without_selecting")
+ (return-type "none")
+)
+
+
+
;; From gtktextiter.h
(define-method get_buffer
@@ -26679,6 +27078,160 @@
+;; From gtktransform.h
+
+(define-function gtk_transform_get_type
+ (c-name "gtk_transform_get_type")
+ (return-type "GType")
+)
+
+(define-method ref
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_ref")
+ (return-type "GtkTransform*")
+)
+
+(define-method unref
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_unref")
+ (return-type "none")
+)
+
+(define-method print
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_print")
+ (return-type "none")
+ (parameters
+ '("GString*" "string")
+ )
+)
+
+(define-method to_string
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_to_string")
+ (return-type "char*")
+)
+
+(define-method to_matrix
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_to_matrix")
+ (return-type "none")
+ (parameters
+ '("graphene_matrix_t*" "out_matrix")
+ )
+)
+
+(define-method equal
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_equal")
+ (return-type "gboolean")
+ (parameters
+ '("GtkTransform*" "second")
+ )
+)
+
+(define-function gtk_transform_new
+ (c-name "gtk_transform_new")
+ (is-constructor-of "GtkTransform")
+ (return-type "GtkTransform*")
+)
+
+(define-method identity
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_identity")
+ (return-type "GtkTransform*")
+)
+
+(define-method transform
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_transform")
+ (return-type "GtkTransform*")
+ (parameters
+ '("GtkTransform*" "other")
+ )
+)
+
+(define-method matrix
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_matrix")
+ (return-type "GtkTransform*")
+ (parameters
+ '("const-graphene_matrix_t*" "matrix")
+ )
+)
+
+(define-method translate
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_translate")
+ (return-type "GtkTransform*")
+ (parameters
+ '("const-graphene_point_t*" "point")
+ )
+)
+
+(define-method translate_3d
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_translate_3d")
+ (return-type "GtkTransform*")
+ (parameters
+ '("const-graphene_point3d_t*" "point")
+ )
+)
+
+(define-method rotate
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_rotate")
+ (return-type "GtkTransform*")
+ (parameters
+ '("float" "angle")
+ )
+)
+
+(define-method rotate_3d
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_rotate_3d")
+ (return-type "GtkTransform*")
+ (parameters
+ '("float" "angle")
+ '("const-graphene_vec3_t*" "axis")
+ )
+)
+
+(define-method scale
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_scale")
+ (return-type "GtkTransform*")
+ (parameters
+ '("float" "factor_x")
+ '("float" "factor_y")
+ )
+)
+
+(define-method scale_3d
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_scale_3d")
+ (return-type "GtkTransform*")
+ (parameters
+ '("float" "factor_x")
+ '("float" "factor_y")
+ '("float" "factor_z")
+ )
+)
+
+(define-method get_transform_type
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_get_transform_type")
+ (return-type "GtkTransformType")
+)
+
+(define-method get_next
+ (of-object "GtkTransform")
+ (c-name "gtk_transform_get_next")
+ (return-type "GtkTransform*")
+)
+
+
+
;; From gtktrashmonitor.h
@@ -29045,7 +29598,7 @@
(define-method get_search_entry
(of-object "GtkTreeView")
(c-name "gtk_tree_view_get_search_entry")
- (return-type "GtkEntry*")
+ (return-type "GtkEditable*")
)
(define-method set_search_entry
@@ -29053,7 +29606,7 @@
(c-name "gtk_tree_view_set_search_entry")
(return-type "none")
(parameters
- '("GtkEntry*" "entry")
+ '("GtkEditable*" "entry")
)
)
@@ -29638,6 +30191,18 @@
)
)
+(define-method allocate
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_allocate")
+ (return-type "none")
+ (parameters
+ '("int" "width")
+ '("int" "height")
+ '("int" "baseline")
+ '("GtkTransform*" "transform")
+ )
+)
+
(define-method get_request_mode
(of-object "GtkWidget")
(c-name "gtk_widget_get_request_mode")
@@ -29825,6 +30390,21 @@
(return-type "gboolean")
)
+(define-method set_can_pick
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_set_can_pick")
+ (return-type "none")
+ (parameters
+ '("gboolean" "can_pick")
+ )
+)
+
+(define-method get_can_pick
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_get_can_pick")
+ (return-type "gboolean")
+)
+
(define-method set_can_default
(of-object "GtkWidget")
(c-name "gtk_widget_set_can_default")
@@ -30018,6 +30598,12 @@
(return-type "GtkWidget*")
)
+(define-method get_root
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_get_root")
+ (return-type "GtkRoot*")
+)
+
(define-method set_parent_surface
(of-object "GtkWidget")
(c-name "gtk_widget_set_parent_surface")
@@ -30099,22 +30685,22 @@
(return-type "int")
)
-(define-method get_allocated_size
+(define-method get_allocation
(of-object "GtkWidget")
- (c-name "gtk_widget_get_allocated_size")
+ (c-name "gtk_widget_get_allocation")
(return-type "none")
(parameters
'("GtkAllocation*" "allocation")
- '("int*" "baseline")
)
)
-(define-method get_allocation
+(define-method compute_transform
(of-object "GtkWidget")
- (c-name "gtk_widget_get_allocation")
- (return-type "none")
+ (c-name "gtk_widget_compute_transform")
+ (return-type "gboolean")
(parameters
- '("GtkAllocation*" "allocation")
+ '("GtkWidget*" "target")
+ '("graphene_matrix_t*" "out_transform")
)
)
@@ -30128,6 +30714,17 @@
)
)
+(define-method compute_point
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_compute_point")
+ (return-type "gboolean")
+ (parameters
+ '("GtkWidget*" "target")
+ '("const-graphene_point_t*" "point")
+ '("graphene_point_t*" "out_point")
+ )
+)
+
(define-method get_width
(of-object "GtkWidget")
(c-name "gtk_widget_get_width")
@@ -32249,6 +32846,11 @@
(return-type "GType")
)
+(define-function gtk_editable_properties_get_type
+ (c-name "gtk_editable_properties_get_type")
+ (return-type "GType")
+)
+
(define-function gtk_entry_icon_position_get_type
(c-name "gtk_entry_icon_position_get_type")
(return-type "GType")
@@ -32654,6 +33256,11 @@
(return-type "GType")
)
+(define-function gtk_transform_type_get_type
+ (c-name "gtk_transform_type_get_type")
+ (return-type "GType")
+)
+
(define-function gtk_tree_model_flags_get_type
(c-name "gtk_tree_model_flags_get_type")
(return-type "GType")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 717ab22b..ee88d12a 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -549,6 +549,12 @@
)
)
+(define-signal query-end
+ (of-object "GtkApplication")
+ (return-type "void")
+ (flags "Run First")
+)
+
(define-property register-session
(of-object "GtkApplication")
(prop-type "GParamBoolean")
@@ -695,6 +701,15 @@
(default-value "-1")
)
+(define-property pages
+ (of-object "GtkAssistant")
+ (prop-type "GParamObject")
+ (docs "The pages of the assistant.")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
;; From GtkAssistantPage
(define-property child
@@ -736,16 +751,6 @@
(default-value "FALSE")
)
-(define-property has-padding
- (of-object "GtkAssistantPage")
- (prop-type "GParamBoolean")
- (docs "Whether the assistant adds padding around the page")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
;; GtkBorder is neither a GObject nor a GInterface. Not checked for signals and properties.
;; From GtkBox
@@ -2514,12 +2519,6 @@
)
)
-(define-signal check-resize
- (of-object "GtkContainer")
- (return-type "void")
- (flags "Run Last")
-)
-
(define-signal set-focus-child
(of-object "GtkContainer")
(return-type "void")
@@ -2668,78 +2667,79 @@
)
)
-;; From GtkEntry
-
-(define-signal populate-popup
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last")
- (parameters
- '("GtkWidget*" "p0")
- )
-)
-
-(define-signal activate
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
+(define-property cursor-position
+ (of-object "GtkEditable")
+ (prop-type "GParamInt")
+ (docs "The current position of the insertion cursor in chars")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+ (default-value "0")
)
-(define-signal move-cursor
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
- (parameters
- '("GtkMovementStep" "p0")
- '("gint" "p1")
- '("gboolean" "p2")
- )
+(define-property editable
+ (of-object "GtkEditable")
+ (prop-type "GParamBoolean")
+ (docs "Whether the entry contents can be edited")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "TRUE")
)
-(define-signal insert-at-cursor
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
- (parameters
- '("const-gchar*" "p0")
- )
+(define-property max-width-chars
+ (of-object "GtkEditable")
+ (prop-type "GParamInt")
+ (docs "The desired maximum width of the entry, in characters")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "-1")
)
-(define-signal delete-from-cursor
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
- (parameters
- '("GtkDeleteType" "p0")
- '("gint" "p1")
- )
+(define-property selection-bound
+ (of-object "GtkEditable")
+ (prop-type "GParamInt")
+ (docs "The position of the opposite end of the selection from the cursor in chars")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+ (default-value "0")
)
-(define-signal backspace
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
+(define-property text
+ (of-object "GtkEditable")
+ (prop-type "GParamString")
+ (docs "The contents of the entry")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "")
)
-(define-signal cut-clipboard
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
+(define-property width-chars
+ (of-object "GtkEditable")
+ (prop-type "GParamInt")
+ (docs "Number of characters to leave space for in the entry")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "-1")
)
-(define-signal copy-clipboard
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
+(define-property xalign
+ (of-object "GtkEditable")
+ (prop-type "GParamFloat")
+ (docs "The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "0")
)
-(define-signal paste-clipboard
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
-)
+;; From GtkEntry
-(define-signal toggle-overwrite
+(define-signal activate
(of-object "GtkEntry")
(return-type "void")
(flags "Run Last, Action")
@@ -2763,21 +2763,6 @@
)
)
-(define-signal preedit-changed
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
- (parameters
- '("const-gchar*" "p0")
- )
-)
-
-(define-signal insert-emoji
- (of-object "GtkEntry")
- (return-type "void")
- (flags "Run Last, Action")
-)
-
(define-property buffer
(of-object "GtkEntry")
(prop-type "GParamObject")
@@ -2787,36 +2772,6 @@
(construct-only #f)
)
-(define-property cursor-position
- (of-object "GtkEntry")
- (prop-type "GParamInt")
- (docs "The current position of the insertion cursor in chars")
- (readable #t)
- (writable #f)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-property selection-bound
- (of-object "GtkEntry")
- (prop-type "GParamInt")
- (docs "The position of the opposite end of the selection from the cursor in chars")
- (readable #t)
- (writable #f)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-property editable
- (of-object "GtkEntry")
- (prop-type "GParamBoolean")
- (docs "Whether the entry contents can be edited")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
(define-property max-length
(of-object "GtkEntry")
(prop-type "GParamInt")
@@ -2867,26 +2822,6 @@
(default-value "FALSE")
)
-(define-property width-chars
- (of-object "GtkEntry")
- (prop-type "GParamInt")
- (docs "Number of characters to leave space for in the entry")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
-(define-property max-width-chars
- (of-object "GtkEntry")
- (prop-type "GParamInt")
- (docs "The desired maximum width of the entry, in characters")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "-1")
-)
-
(define-property scroll-offset
(of-object "GtkEntry")
(prop-type "GParamInt")
@@ -2897,26 +2832,6 @@
(default-value "0")
)
-(define-property text
- (of-object "GtkEntry")
- (prop-type "GParamString")
- (docs "The contents of the entry")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
-(define-property xalign
- (of-object "GtkEntry")
- (prop-type "GParamFloat")
- (docs "The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
(define-property truncate-multiline
(of-object "GtkEntry")
(prop-type "GParamBoolean")
@@ -2957,16 +2872,6 @@
(default-value "FALSE")
)
-(define-property caps-lock-warning
- (of-object "GtkEntry")
- (prop-type "GParamBoolean")
- (docs "Whether password entries will show a warning when Caps Lock is on")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
(define-property progress-fraction
(of-object "GtkEntry")
(prop-type "GParamDouble")
@@ -3944,16 +3849,6 @@
;; From GtkFlowBox
-(define-signal move-cursor
- (of-object "GtkFlowBox")
- (return-type "gboolean")
- (flags "Run Last, Action")
- (parameters
- '("GtkMovementStep" "p0")
- '("gint" "p1")
- )
-)
-
(define-signal child-activated
(of-object "GtkFlowBox")
(return-type "void")
@@ -3981,6 +3876,16 @@
(flags "Run Last, Action")
)
+(define-signal move-cursor
+ (of-object "GtkFlowBox")
+ (return-type "gboolean")
+ (flags "Run Last, Action")
+ (parameters
+ '("GtkMovementStep" "p0")
+ '("gint" "p1")
+ )
+)
+
(define-signal select-all
(of-object "GtkFlowBox")
(return-type "void")
@@ -4900,6 +4805,12 @@
;; From GtkIconView
+(define-signal selection-changed
+ (of-object "GtkIconView")
+ (return-type "void")
+ (flags "Run First")
+)
+
(define-signal move-cursor
(of-object "GtkIconView")
(return-type "gboolean")
@@ -4910,12 +4821,6 @@
)
)
-(define-signal selection-changed
- (of-object "GtkIconView")
- (return-type "void")
- (flags "Run First")
-)
-
(define-signal select-all
(of-object "GtkIconView")
(return-type "void")
@@ -6565,24 +6470,132 @@
(default-value "-1")
)
-(define-property enable-popup
- (of-object "GtkNotebook")
- (prop-type "GParamBoolean")
- (docs "If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a
page")
+(define-property enable-popup
+ (of-object "GtkNotebook")
+ (prop-type "GParamBoolean")
+ (docs "If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a
page")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
+(define-property group-name
+ (of-object "GtkNotebook")
+ (prop-type "GParamString")
+ (docs "Group name for tab drag and drop")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "")
+)
+
+(define-property pages
+ (of-object "GtkNotebook")
+ (prop-type "GParamObject")
+ (docs "The pages of the notebook.")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
+;; From GtkNotebookPage
+
+(define-property tab-label
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamString")
+ (docs "The text of the tab widget")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "")
+)
+
+(define-property menu-label
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamString")
+ (docs "The text of the menu widget")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "")
+)
+
+(define-property position
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamInt")
+ (docs "The index of the child in the parent")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "0")
+)
+
+(define-property tab-expand
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamBoolean")
+ (docs "Whether to expand the child’s tab")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
+(define-property tab-fill
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamBoolean")
+ (docs "Whether the child’s tab should fill the allocated area")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "TRUE")
+)
+
+(define-property reorderable
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamBoolean")
+ (docs "Whether the tab is reorderable by user action")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
+(define-property detachable
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamBoolean")
+ (docs "Whether the tab is detachable")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
+(define-property child
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamObject")
+ (docs "The child for this page")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property tab
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamObject")
+ (docs "The tab widget for this page")
(readable #t)
(writable #t)
- (construct-only #f)
- (default-value "FALSE")
+ (construct-only #t)
)
-(define-property group-name
- (of-object "GtkNotebook")
- (prop-type "GParamString")
- (docs "Group name for tab drag and drop")
+(define-property menu
+ (of-object "GtkNotebookPage")
+ (prop-type "GParamObject")
+ (docs "The label widget displayed in the child’s menu entry")
(readable #t)
(writable #t)
- (construct-only #f)
- (default-value "")
+ (construct-only #t)
)
;; From GtkOrientable
@@ -8030,6 +8043,12 @@
;; From GtkSearchEntry
+(define-signal activate
+ (of-object "GtkSearchEntry")
+ (return-type "void")
+ (flags "Run Last, Action")
+)
+
(define-signal search-changed
(of-object "GtkSearchEntry")
(return-type "void")
@@ -8054,6 +8073,26 @@
(flags "Run Last, Action")
)
+(define-property placeholder-text
+ (of-object "GtkSearchEntry")
+ (prop-type "GParamString")
+ (docs "Show text in the entry when it’s empty and unfocused")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "")
+)
+
+(define-property activates-default
+ (of-object "GtkSearchEntry")
+ (prop-type "GParamBoolean")
+ (docs "Whether to activate the default widget (such as the default button in a dialog) when Enter is
pressed")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
;; From GtkSeparator
;; From GtkSeparatorToolItem
@@ -8150,16 +8189,6 @@
(default-value "Adwaita")
)
-(define-property gtk-key-theme-name
- (of-object "GtkSettings")
- (prop-type "GParamString")
- (docs "Name of key theme to load")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
(define-property gtk-dnd-drag-threshold
(of-object "GtkSettings")
(prop-type "GParamInt")
@@ -8957,36 +8986,6 @@
(default-value "0")
)
-(define-property width-chars
- (of-object "GtkSpinButton")
- (prop-type "GParamInt")
- (docs "Number of characters to leave space for in the entry")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-property max-width-chars
- (of-object "GtkSpinButton")
- (prop-type "GParamInt")
- (docs "The desired maximum width of the entry, in characters")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-property text
- (of-object "GtkSpinButton")
- (prop-type "GParamString")
- (docs "The contents of the entry")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
;; From GtkStack
(define-property homogeneous
@@ -9078,6 +9077,15 @@
(default-value "FALSE")
)
+(define-property pages
+ (of-object "GtkStack")
+ (prop-type "GParamObject")
+ (docs "A selection model with the stacks pages")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
;; From GtkStackPage
(define-property child
@@ -10385,99 +10393,93 @@
)
)
-(define-signal insert-at-cursor
- (of-object "GtkTextView")
- (return-type "void")
- (flags "Run Last, Action")
- (parameters
- '("const-gchar*" "p0")
- )
-)
-
-(define-signal delete-from-cursor
+(define-signal select-all
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
(parameters
- '("GtkDeleteType" "p0")
- '("gint" "p1")
+ '("gboolean" "p0")
)
)
-(define-signal backspace
+(define-signal copy-clipboard
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
)
-(define-signal cut-clipboard
+(define-signal move-viewport
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
+ (parameters
+ '("GtkScrollStep" "p0")
+ '("gint" "p1")
+ )
)
-(define-signal copy-clipboard
+(define-signal set-anchor
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
)
-(define-signal paste-clipboard
+(define-signal insert-at-cursor
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
+ (parameters
+ '("const-gchar*" "p0")
+ )
)
-(define-signal toggle-overwrite
+(define-signal delete-from-cursor
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
+ (parameters
+ '("GtkDeleteType" "p0")
+ '("gint" "p1")
+ )
)
-(define-signal preedit-changed
+(define-signal backspace
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
- (parameters
- '("const-gchar*" "p0")
- )
)
-(define-signal insert-emoji
+(define-signal cut-clipboard
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
)
-(define-signal select-all
+(define-signal paste-clipboard
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
- (parameters
- '("gboolean" "p0")
- )
)
-(define-signal move-viewport
+(define-signal toggle-overwrite
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
- (parameters
- '("GtkScrollStep" "p0")
- '("gint" "p1")
- )
)
-(define-signal set-anchor
+(define-signal toggle-cursor-visible
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
)
-(define-signal toggle-cursor-visible
+(define-signal preedit-changed
(of-object "GtkTextView")
(return-type "void")
(flags "Run Last, Action")
+ (parameters
+ '("const-gchar*" "p0")
+ )
)
(define-signal extend-selection
@@ -10492,6 +10494,12 @@
)
)
+(define-signal insert-emoji
+ (of-object "GtkTextView")
+ (return-type "void")
+ (flags "Run Last, Action")
+)
+
(define-property pixels-above-lines
(of-object "GtkTextView")
(prop-type "GParamInt")
@@ -11699,6 +11707,15 @@
(construct-only #f)
)
+(define-property root
+ (of-object "GtkWidget")
+ (prop-type "GParamObject")
+ (docs "The root widget in the widget tree.")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
(define-property width-request
(of-object "GtkWidget")
(prop-type "GParamInt")
@@ -11769,6 +11786,16 @@
(default-value "FALSE")
)
+(define-property can-pick
+ (of-object "GtkWidget")
+ (prop-type "GParamBoolean")
+ (docs "Whether the widget can receive pointer events")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
(define-property focus-on-click
(of-object "GtkWidget")
(prop-type "GParamBoolean")
@@ -12458,86 +12485,6 @@
(default-value "0")
)
-(define-child-property tab-label
- (of-object "GtkNotebook")
- (prop-type "GParamString")
- (docs "The string displayed on the child’s tab label")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
-(define-child-property menu-label
- (of-object "GtkNotebook")
- (prop-type "GParamString")
- (docs "The string displayed in the child’s menu entry")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
-(define-child-property position
- (of-object "GtkNotebook")
- (prop-type "GParamInt")
- (docs "The index of the child in the parent")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-child-property tab-expand
- (of-object "GtkNotebook")
- (prop-type "GParamBoolean")
- (docs "Whether to expand the child’s tab")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-child-property tab-fill
- (of-object "GtkNotebook")
- (prop-type "GParamBoolean")
- (docs "Whether the child’s tab should fill the allocated area")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
-(define-child-property reorderable
- (of-object "GtkNotebook")
- (prop-type "GParamBoolean")
- (docs "Whether the tab is reorderable by user action")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-child-property detachable
- (of-object "GtkNotebook")
- (prop-type "GParamBoolean")
- (docs "Whether the tab is detachable")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-child-property pass-through
- (of-object "GtkOverlay")
- (prop-type "GParamBoolean")
- (docs "Pass through input, does not affect main child")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
(define-child-property measure
(of-object "GtkOverlay")
(prop-type "GParamBoolean")
@@ -12548,26 +12495,6 @@
(default-value "FALSE")
)
-(define-child-property blur
- (of-object "GtkOverlay")
- (prop-type "GParamDouble")
- (docs "Apply a blur to the content behind this child")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-child-property index
- (of-object "GtkOverlay")
- (prop-type "GParamInt")
- (docs "The index of the overlay in the parent, -1 for the main child")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
(define-child-property clip-overlay
(of-object "GtkOverlay")
(prop-type "GParamBoolean")
diff --git a/gtk/src/gtk_vfuncs.defs b/gtk/src/gtk_vfuncs.defs
index 59b6afd4..dd35a724 100644
--- a/gtk/src/gtk_vfuncs.defs
+++ b/gtk/src/gtk_vfuncs.defs
@@ -312,31 +312,27 @@
; GtkEditable
-(define-vfunc do_insert_text
+(define-vfunc get_text
(of-object "GtkEditable")
- (return-type "none")
- (parameters
- '("const-gchar*" "text")
- '("gint" "length")
- '("gint*" "position")
- )
+ (return-type "const-char*")
)
-(define-vfunc do_delete_text
+(define-vfunc do_insert_text
(of-object "GtkEditable")
(return-type "none")
(parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
+ '("const-char*" "text")
+ '("int" "length")
+ '("int*" "position")
)
)
-(define-vfunc get_chars
+(define-vfunc do_delete_text
(of-object "GtkEditable")
- (return-type "gchar*")
+ (return-type "none")
(parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
+ '("int" "start_pos")
+ '("int" "end_pos")
)
)
@@ -344,8 +340,8 @@
(of-object "GtkEditable")
(return-type "none")
(parameters
- '("gint" "start_pos")
- '("gint" "end_pos")
+ '("int" "start_pos")
+ '("int" "end_pos")
)
)
@@ -353,22 +349,14 @@
(of-object "GtkEditable")
(return-type "gboolean")
(parameters
- '("gint*" "start_pos")
- '("gint*" "end_pos")
+ '("int*" "start_pos")
+ '("int*" "end_pos")
)
)
-(define-vfunc set_position
+(define-vfunc get_delegate
(of-object "GtkEditable")
- (return-type "none")
- (parameters
- '("gint" "position")
- )
-)
-
-(define-vfunc get_position
- (of-object "GtkEditable")
- (return-type "gint")
+ (return-type "GtkEditable*")
)
; GtkFrame
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index d17d93f9..44cd1b6f 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -149,6 +149,7 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_MODEL_BUTTON )
<< get_defs( GTK_TYPE_NATIVE_DIALOG )
<< get_defs( GTK_TYPE_NOTEBOOK )
+ << get_defs( GTK_TYPE_NOTEBOOK_PAGE )
<< get_defs( GTK_TYPE_ORIENTABLE )
<< get_defs( GTK_TYPE_OVERLAY )
<< get_defs( GTK_TYPE_PANED )
@@ -233,12 +234,9 @@ int main(int /* argc */, char** /* argv */)
<< get_child_properties( GTK_TYPE_GRID )
<< get_child_properties( GTK_TYPE_HEADER_BAR )
<< get_child_properties( GTK_TYPE_LAYOUT )
- << get_child_properties( GTK_TYPE_MENU_SHELL )
- << get_child_properties( GTK_TYPE_NOTEBOOK )
<< get_child_properties( GTK_TYPE_OVERLAY )
<< get_child_properties( GTK_TYPE_PANED )
<< get_child_properties( GTK_TYPE_POPOVER_MENU )
- << get_child_properties( GTK_TYPE_TEXT_VIEW )
<< get_child_properties( GTK_TYPE_TOOLBAR )
;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]