[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- Date: Sun, 24 Mar 2019 17:39:47 +0000 (UTC)
commit 769159ed47ad994bf2e28f1df5394e126c492803
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Mar 24 18:36:06 2019 +0100
Gdk, Gtk: Regenerate docs.xml and .defs files
and update gtk_docs_override.xml and generate_defs_gtk.cc.
gdk/src/gdk_docs.xml | 28 +
gdk/src/gdk_methods.defs | 4 +
gdk/src/gdk_pixbuf_methods.defs | 9 +
gtk/src/gtk_docs.xml | 964 ++++++++++--------------------
gtk/src/gtk_docs_override.xml | 96 ++-
gtk/src/gtk_enums.defs | 34 +-
gtk/src/gtk_methods.defs | 348 +++--------
gtk/src/gtk_signals.defs | 117 +++-
tools/extra_defs_gen/generate_defs_gtk.cc | 2 +
9 files changed, 603 insertions(+), 999 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index cc6eb84c..dc1ec185 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -12575,6 +12575,34 @@ Queries the width of a pixbuf.
</return>
</function>
+<function name="gdk_pixbuf_init_modules">
+<description>
+Initalizes the gdk-pixbuf loader modules referenced by the loaders.cache
+file present inside that directory.
+
+This is to be used by applications that want to ship certain loaders
+in a different location from the system ones.
+
+This is needed when the OS or runtime ships a minimal number of loaders
+so as to reduce the potential attack surface of carefully crafted image
+files, especially for uncommon file types. Applications that require
+broader image file types coverage, such as image viewers, would be
+expected to ship the gdk-pixbuf modules in a separate location, bundled
+with the application in a separate directory from the OS or runtime-
+provided modules.
+
+Since: 2.40
+
+</description>
+<parameters>
+<parameter name="path">
+<parameter_description> Path to directory where the loaders.cache is installed
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gdk_pixbuf_loader_close">
<description>
Informs a pixbuf loader that no further writes with
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 6b7aaa36..7e139399 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -967,6 +967,10 @@
+;; From gdkconstructor.h
+
+
+
;; From gdkcontentdeserializer.h
(define-function gdk_content_deserializer_get_type
diff --git a/gdk/src/gdk_pixbuf_methods.defs b/gdk/src/gdk_pixbuf_methods.defs
index 5dd6b26e..6d7cb326 100644
--- a/gdk/src/gdk_pixbuf_methods.defs
+++ b/gdk/src/gdk_pixbuf_methods.defs
@@ -877,6 +877,15 @@
;; From gdk-pixbuf-io.h
+(define-function gdk_pixbuf_init_modules
+ (c-name "gdk_pixbuf_init_modules")
+ (return-type "gboolean")
+ (parameters
+ '("const-char*" "path")
+ '("GError**" "error")
+ )
+)
+
(define-function gdk_pixbuf_format_get_type
(c-name "gdk_pixbuf_format_get_type")
(return-type "GType")
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 1a148cbd..f132b96f 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -3709,8 +3709,9 @@ The widget receiving the #GdkEvents that the controller will handle.
<signal name="GtkEventControllerKey::focus-in">
<description>
-This signal is emitted whenever the #GtkEventController:widget controlled
-by the @controller is given the keyboard focus.
+This signal is emitted whenever the widget controlled
+by the @controller or one of its descendants) is given
+the keyboard focus.
</description>
<parameters>
@@ -3718,14 +3719,23 @@ by the @controller is given the keyboard focus.
<parameter_description> the object which received the signal.
</parameter_description>
</parameter>
+<parameter name="mode">
+<parameter_description> crossing mode indicating what caused this change
+</parameter_description>
+</parameter>
+<parameter name="detail">
+<parameter_description> detail indication where the focus is coming from
+</parameter_description>
+</parameter>
</parameters>
<return></return>
</signal>
<signal name="GtkEventControllerKey::focus-out">
<description>
-This signal is emitted whenever the #GtkEventController:widget controlled
-by the @controller loses the keyboard focus.
+This signal is emitted whenever the widget controlled
+by the @controller (or one of its descendants) loses
+the keyboard focus.
</description>
<parameters>
@@ -3733,6 +3743,14 @@ by the @controller loses the keyboard focus.
<parameter_description> the object which received the signal.
</parameter_description>
</parameter>
+<parameter name="mode">
+<parameter_description> crossing mode indicating what caused this change
+</parameter_description>
+</parameter>
+<parameter name="detail">
+<parameter_description> detail indication where the focus is going
+</parameter_description>
+</parameter>
</parameters>
<return></return>
</signal>
@@ -3832,6 +3850,31 @@ pointer buttons. See #GdkModifierType.
<return></return>
</signal>
+<property name="GtkEventControllerKey:contains-focus">
+<description>
+Whether focus is in a descendant of the controllers widget.
+See #GtkEventControllerKey:is-focus.
+
+When handling focus events, this property is updated
+before #GtkEventControllerKey::focus-in or
+#GtkEventControllerKey::focus-out are emitted.
+
+</description>
+</property>
+
+<property name="GtkEventControllerKey:is-focus">
+<description>
+Whether focus is in the controllers widget itself,
+as opposed to in a descendent widget. See
+#GtkEventControllerKey:contains-focus.
+
+When handling focus events, this property is updated
+before #GtkEventControllerKey::focus-in or
+#GtkEventControllerKey::focus-out are emitted.
+
+</description>
+</property>
+
<signal name="GtkEventControllerLegacy::event">
<description>
Emitted for each GDK event delivered to @controller.
@@ -3911,6 +3954,31 @@ Emitted when the pointer moves inside the widget.
<return></return>
</signal>
+<property name="GtkEventControllerMotion:contains-pointer-focus">
+<description>
+Whether the pointer is in a descendant of the controllers widget.
+See #GtkEventControllerMotion:is-pointer-focus.
+
+When handling crossing events, this property is updated
+before #GtkEventControllerMotion::enter or
+#GtkEventControllerMotion::leave are emitted.
+
+</description>
+</property>
+
+<property name="GtkEventControllerMotion:is-pointer-focus">
+<description>
+Whether the pointer is in the controllers widget itself,
+as opposed to in a descendent widget. See
+#GtkEventControllerMotion:contains-pointer-focus.
+
+When handling crossing events, this property is updated
+before #GtkEventControllerMotion::enter or
+#GtkEventControllerMotion::leave are emitted.
+
+</description>
+</property>
+
<signal name="GtkEventControllerScroll::decelerate">
<description>
Emitted after scroll is finished if the #GTK_EVENT_CONTROLLER_SCROLL_KINETIC
@@ -10118,6 +10186,22 @@ when the child of a #GtkRevealer widget is shown or hidden.
<parameter_description> Slide in from the top
</parameter_description>
</parameter>
+<parameter name="GTK_REVEALER_TRANSITION_TYPE_SWING_RIGHT">
+<parameter_description> Floop in from the left
+</parameter_description>
+</parameter>
+<parameter name="GTK_REVEALER_TRANSITION_TYPE_SWING_LEFT">
+<parameter_description> Floop in from the right
+</parameter_description>
+</parameter>
+<parameter name="GTK_REVEALER_TRANSITION_TYPE_SWING_UP">
+<parameter_description> Floop in from the bottom
+</parameter_description>
+</parameter>
+<parameter name="GTK_REVEALER_TRANSITION_TYPE_SWING_DOWN">
+<parameter_description> Floop in from the top
+</parameter_description>
+</parameter>
</parameters>
</enum>
@@ -11409,6 +11493,13 @@ If unselecting the selected item is allowed
</description>
</property>
+<property name="GtkSingleSelection:model">
+<description>
+The model being managed
+
+</description>
+</property>
+
<property name="GtkSingleSelection:selected">
<description>
Position of the selected item
@@ -11566,7 +11657,7 @@ The default bindings for this signal are Up/Down and PageUp and/PageDown.
<description>
The ::input signal can be used to influence the conversion of
the users input into a double value. The signal handler is
-expected to use gtk_spin_button_get_text() to retrieve the text of
+expected to use gtk_editable_get_text() to retrieve the text of
the spinbutton and set @new_value to the new value.
The default conversion uses g_strtod().
@@ -15071,24 +15162,6 @@ else
</return>
</signal>
-<signal name="GtkWidget::focus">
-<description>
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-<parameter name="direction">
-<parameter_description>
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event
further.
-</return>
-</signal>
-
<signal name="GtkWidget::grab-notify">
<description>
The ::grab-notify signal is emitted when a widget becomes
@@ -15812,14 +15885,6 @@ and should not be set by applications.
</description>
</property>
-<property name="GtkWindow:set-focus">
-<description>
-This signal is emitted whenever the currently focused widget in
-this window changes.
-
-</description>
-</property>
-
<property name="GtkWindow:startup-id">
<description>
The :startup-id is a write-only property for setting window's
@@ -31085,23 +31150,6 @@ in #GtkEntry, or 0 if there is no maximum.
</return>
</function>
-<function name="gtk_entry_get_max_width_chars">
-<description>
-Retrieves the desired maximum width of @entry, in characters.
-See gtk_entry_set_max_width_chars().
-
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-</parameters>
-<return> the maximum width of the entry, in characters
-</return>
-</function>
-
<function name="gtk_entry_get_overwrite_mode">
<description>
Gets the value set by gtk_entry_set_overwrite_mode().
@@ -31187,29 +31235,6 @@ any.
</return>
</function>
-<function name="gtk_entry_get_text">
-<description>
-Retrieves the contents of the entry widget.
-See also gtk_editable_get_chars().
-
-This is equivalent to getting @entry's #GtkEntryBuffer and calling
-gtk_entry_buffer_get_text() on it.
-
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-</parameters>
-<return> a pointer to the contents of the widget as a
-string. This string points to internally allocated
-storage in the widget and must not be freed, modified or
-stored.
-</return>
-</function>
-
<function name="gtk_entry_get_text_length">
<description>
Retrieves the current length of the text in
@@ -31249,22 +31274,6 @@ gtk_entry_set_visibility().
</return>
</function>
-<function name="gtk_entry_get_width_chars">
-<description>
-Gets the value set by gtk_entry_set_width_chars().
-
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-</parameters>
-<return> number of chars to request space for, or negative if unset
-</return>
-</function>
-
<function name="gtk_entry_grab_focus_without_selecting">
<description>
Causes @entry to have keyboard focus.
@@ -31786,24 +31795,6 @@ be clamped to the range 0-65536.
<return></return>
</function>
-<function name="gtk_entry_set_max_width_chars">
-<description>
-Sets the desired maximum width in characters of @entry.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</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_entry_set_overwrite_mode">
<description>
Sets whether the text is overwritten when typing in the #GtkEntry.
@@ -31900,27 +31891,6 @@ text.
<return></return>
</function>
-<function name="gtk_entry_set_text">
-<description>
-Sets the text in the widget to the given
-value, replacing the current contents.
-
-See gtk_entry_buffer_set_text().
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-<parameter name="text">
-<parameter_description> the new text
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_entry_set_visibility">
<description>
Sets whether the contents of the entry are visible or not.
@@ -31952,28 +31922,6 @@ as plaintext
<return></return>
</function>
-<function name="gtk_entry_set_width_chars">
-<description>
-Changes the size request of the entry 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 entry size.
-
-</description>
-<parameters>
-<parameter name="entry">
-<parameter_description> a #GtkEntry
-</parameter_description>
-</parameter>
-<parameter name="n_chars">
-<parameter_description> width in chars
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_entry_unset_invisible_char">
<description>
Unsets the invisible char previously set with
@@ -32076,6 +32024,13 @@ controller action
<description>
Forwards the current event of this @controller to a @widget.
+This function can only be used in handlers for the
+#GtkEventControllerKey::key-pressed,
+#GtkEventControllerKey::key-released
+or
+#GtkEventControllerKey::modifiers
+signals.
+
</description>
<parameters>
@@ -32092,6 +32047,46 @@ Forwards the current event of this @controller to a @widget.
</return>
</function>
+<function name="gtk_event_controller_key_get_focus_origin">
+<description>
+Returns the widget that was holding focus before.
+
+This function can only be used in handlers for the
+#GtkEventControllerKey::focus-in and
+#GtkEventControllerKey::focus-out signals.
+
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> a #GtkEventControllerKey
+</parameter_description>
+</parameter>
+</parameters>
+<return> the previous focus
+</return>
+</function>
+
+<function name="gtk_event_controller_key_get_focus_target">
+<description>
+Returns the widget that will be holding focus afterwards.
+
+This function can only be used in handlers for the
+#GtkEventControllerKey::focus-in and
+#GtkEventControllerKey::focus-out signals.
+
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> a #GtkEventControllerKey
+</parameter_description>
+</parameter>
+</parameters>
+<return> the next focus
+</return>
+</function>
+
<function name="gtk_event_controller_key_get_group">
<description>
Gets the key group of the current event of this @controller.
@@ -32167,6 +32162,46 @@ Creates a new legacy event controller.
</return>
</function>
+<function name="gtk_event_controller_motion_get_pointer_origin">
+<description>
+Returns the widget that contained the pointer before.
+
+This function can only be used in handlers for the
+#GtkEventControllerMotion::enter and
+#GtkEventControllerMotion::leave signals.
+
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> a #GtkEventControllerMotion
+</parameter_description>
+</parameter>
+</parameters>
+<return> the previous pointer focus
+</return>
+</function>
+
+<function name="gtk_event_controller_motion_get_pointer_target">
+<description>
+Returns the widget that will contain the pointer afterwards.
+
+This function can only be used in handlers for the
+#GtkEventControllerMotion::enter and
+#GtkEventControllerMotion::leave signals.
+
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> a #GtkEventControllerMotion
+</parameter_description>
+</parameter>
+</parameters>
+<return> the next pointer focus
+</return>
+</function>
+
<function name="gtk_event_controller_motion_new">
<description>
Creates a new event controller that will handle motion events.
@@ -51489,6 +51524,23 @@ This function adds the paper size from @size to @key_file.
<return></return>
</function>
+<function name="gtk_password_entry_get_show_peek_icon">
+<description>
+Returns whether the entry is showing a clickable icon
+to reveal the contents of the entry in clear text.
+
+
+</description>
+<parameters>
+<parameter name="entry">
+<parameter_description> a #GtkPasswordEntry
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if an icon is shown
+</return>
+</function>
+
<function name="gtk_password_entry_new">
<description>
Creates a #GtkPasswordEntry.
@@ -51501,6 +51553,24 @@ Creates a #GtkPasswordEntry.
</return>
</function>
+<function name="gtk_password_entry_set_show_peek_icon">
+<description>
+Sets whether the entry should have a clickable icon
+to show the contents of the entry in clear text.
+
+Setting this to %FALSE also hides the text again.
+
+</description>
+<parameters>
+<parameter name="entry">
+<parameter_description> a #GtkPasswordEntry
+show_peek_icon: whether to show the peek icon
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_picture_get_alternative_text">
<description>
Gets the alternative textual description of the picture or returns %NULL if
@@ -59224,6 +59294,28 @@ output values will be in the same range.
<return></return>
</function>
+<function name="gtk_root_get_focus">
+<description>
+Retrieves the current focused widget within the root.
+
+Note that this is the widget that would have the focus
+if the root is active; if the root is not focused then
+`gtk_widget_has_focus (widget)` will be %FALSE for the
+widget.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkRoot
+</parameter_description>
+</parameter>
+</parameters>
+<return> the currently focused widget,
+or %NULL if there is none.
+</return>
+</function>
+
<function name="gtk_root_get_for_surface">
<description>
Finds the GtkRoot associated with the surface.
@@ -59240,6 +59332,30 @@ Finds the GtkRoot associated with the surface.
</return>
</function>
+<function name="gtk_root_set_focus">
+<description>
+If @focus is not the current focus widget, and is focusable, sets
+it as the focus widget for the root. If @focus is %NULL, unsets
+the focus widget for the root.
+
+To set the focus to a particular widget in the root, it is usually
+more convenient to use gtk_widget_grab_focus() instead of this function.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkRoot
+</parameter_description>
+</parameter>
+<parameter name="focus">
+<parameter_description> widget to be the new focus widget, or %NULL
+to unset the focus widget
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_scale_add_mark">
<description>
Adds a mark at @value.
@@ -62546,6 +62662,26 @@ Creates a new #GtkSnapshot.
</return>
</function>
+<function name="gtk_snapshot_perspective">
+<description>
+Applies a perspective projection transform.
+
+See gsk_transform_perspective() for a discussion on the details.
+
+</description>
+<parameters>
+<parameter name="snapshot">
+<parameter_description> a #GtkSnapshot
+</parameter_description>
+</parameter>
+<parameter name="depth">
+<parameter_description> distance of the z=0 plane
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_pop">
<description>
Removes the top element from the stack of render nodes,
@@ -62980,7 +63116,7 @@ or in 3D speak, rotates around the z axis.
<description>
Rotates @snapshot's coordinate system by @angle degrees around @axis.
-For a rotation in 2D space, use gtk_transform_rotate().
+For a rotation in 2D space, use gsk_transform_rotate().
</description>
<parameters>
@@ -63025,7 +63161,7 @@ to gtk_snapshot_restore().
<function name="gtk_snapshot_scale">
<description>
-Scales @@snapshot's coordinate system in 2-dimensional space by
+Scales @snapshot's coordinate system in 2-dimensional space by
the given factors.
Use gtk_snapshot_scale_3d() to scale in all 3 dimensions.
@@ -63050,7 +63186,7 @@ Use gtk_snapshot_scale_3d() to scale in all 3 dimensions.
<function name="gtk_snapshot_scale_3d">
<description>
-Scales @@snapshot's coordinate system by the given factors.
+Scales @snapshot's coordinate system by the given factors.
</description>
<parameters>
@@ -63417,26 +63553,6 @@ gtk_spin_button_set_increments().
<return></return>
</function>
-<function name="gtk_spin_button_get_max_width_chars">
-<description>
-Retrieves the desired maximum width of @spin_button, in characters.
-Note that this only applies to the entry area of @spin_button, not the
-spin button. This is especially important for horizontal spinbuttons.
-
-See also #GtkEntry:max-width-chars
-
-
-</description>
-<parameters>
-<parameter name="spin_button">
-<parameter_description> a #GtkSpinButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> the maximum width of the spin button, in characters
-</return>
-</function>
-
<function name="gtk_spin_button_get_numeric">
<description>
Returns whether non-numeric text can be typed into the spin button.
@@ -63494,22 +63610,6 @@ See gtk_spin_button_set_snap_to_ticks().
</return>
</function>
-<function name="gtk_spin_button_get_text">
-<description>
-Returns the text shown in the entry.
-
-
-</description>
-<parameters>
-<parameter name="spin_button">
-<parameter_description> a #GtkSpinButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> The current text shown in the entry area of @spin_button.
-</return>
-</function>
-
<function name="gtk_spin_button_get_update_policy">
<description>
Gets the update behavior of a spin button.
@@ -63559,24 +63659,6 @@ Get the value @spin_button represented as an integer.
</return>
</function>
-<function name="gtk_spin_button_get_width_chars">
-<description>
-Get the value set by gtk_spin_button_set_width_chars(). Note that this
-value only applies to the entry area of @spin_button.
-
-
-</description>
-<parameters>
-<parameter name="spin_button">
-<parameter_description> a #GtkSpinButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> The number of characters to request space for in the entry
-area of @spin_button
-</return>
-</function>
-
<function name="gtk_spin_button_get_wrap">
<description>
Returns whether the spin button’s value wraps around to the
@@ -63713,26 +63795,6 @@ quickly the value changes when the spin button’s arrows are activated.
<return></return>
</function>
-<function name="gtk_spin_button_set_max_width_chars">
-<description>
-Sets the desired maximum width of @spin_button, in characters.
-Note that this only applies to the entry area of @spin_button, not the
-spin button. This is especially important for horizontal spinbuttons.
-
-</description>
-<parameters>
-<parameter name="spin_button">
-<parameter_description> a #GtkSpinButton
-</parameter_description>
-</parameter>
-<parameter name="max_width_chars">
-<parameter_description> new desired maximum width in chars
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_spin_button_set_numeric">
<description>
Sets the flag that determines if non-numeric text can be typed
@@ -63797,25 +63859,6 @@ providing an invalid value.
<return></return>
</function>
-<function name="gtk_spin_button_set_text">
-<description>
-Sets the current text of the spinbutton. Note that setting this will not change
-the value of the adjustment @spin_button.
-
-</description>
-<parameters>
-<parameter name="spin_button">
-<parameter_description> a #GtkSpinButton
-</parameter_description>
-</parameter>
-<parameter name="text">
-<parameter_description> The text to set
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_spin_button_set_update_policy">
<description>
Sets the update behavior of a spin button.
@@ -63854,25 +63897,6 @@ Sets the value of @spin_button.
<return></return>
</function>
-<function name="gtk_spin_button_set_width_chars">
-<description>
-Changes the size request of the entry area of @spin_button
-to be about the right size for @width_chars characters.
-
-</description>
-<parameters>
-<parameter name="spin_button">
-<parameter_description> a #GtkSpinButton
-</parameter_description>
-</parameter>
-<parameter name="width_chars">
-<parameter_description> desired width in characters
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_spin_button_set_wrap">
<description>
Sets the flag that determines if a spin button value wraps
@@ -73821,352 +73845,6 @@ 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,
@@ -83865,16 +83543,11 @@ is pressed and the #GtkEntry is focused.
<function name="gtk_widget_grab_focus">
<description>
-Causes @widget to have the keyboard focus for the #GtkWindow it's
-inside. @widget must be a focusable widget, such as a #GtkEntry;
-something like #GtkFrame won’t work.
-
-More precisely, it must have the %GTK_CAN_FOCUS flag set. Use
-gtk_widget_set_can_focus() to modify that flag.
+Causes @widget (or one of its descendents) to have the keyboard focus
+for the #GtkWindow it's inside.
-The widget also needs to be realized and mapped. This is indicated by the
-related signals. Grabbing the focus immediately after creating the widget
-will likely fail and cause critical warnings.
+@widget must be focusable, or have a ::grab_focus implementation that
+transfers the focus to a descendant of @widget that is focusable.
</description>
<parameters>
@@ -85561,49 +85234,6 @@ style might apply to it. See also gtk_container_get_path_for_child().
<return></return>
</function>
-<function name="gtk_widget_send_focus_change">
-<description>
-Sends the focus change @event to @widget
-
-This function is not meant to be used by applications. The only time it
-should be used is when it is necessary for a #GtkWidget to assign focus
-to a widget that is semantically owned by the first widget even though
-it’s not a direct child - for instance, a search entry in a floating
-window similar to the quick search in #GtkTreeView.
-
-An example of its usage is:
-
-|[<!-- language="C" -->
-GdkEvent *fevent = gdk_event_new (GDK_FOCUS_CHANGE);
-
-fevent->focus_change.type = GDK_FOCUS_CHANGE;
-fevent->focus_change.in = TRUE;
-fevent->focus_change.surface = _gtk_widget_get_surface (widget);
-if (fevent->focus_change.surface != NULL)
-g_object_ref (fevent->focus_change.surface);
-
-gtk_widget_send_focus_change (widget, fevent);
-
-g_object_unref (event);
-]|
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget
-</parameter_description>
-</parameter>
-<parameter name="event">
-<parameter_description> a #GdkEvent of type GDK_FOCUS_CHANGE
-</parameter_description>
-</parameter>
-</parameters>
-<return> the return value from the event signal emission: %TRUE
-if the event was handled, and %FALSE otherwise
-</return>
-</function>
-
<function name="gtk_widget_set_accel_path">
<description>
Given an accelerator group, @accel_group, and an accelerator path,
@@ -85666,9 +85296,15 @@ gtk_widget_grab_default() for details about the meaning of
<function name="gtk_widget_set_can_focus">
<description>
-Specifies whether @widget can own the input focus. See
-gtk_widget_grab_focus() for actually setting the input focus on a
-widget.
+Specifies whether @widget can own the input focus.
+
+Note that having @can_focus be %TRUE is only one of the
+necessary conditions for being focusable. A widget must
+also be sensitive and not have a ancestor that is marked
+as not child-focusable in order to receive input focus.
+
+See gtk_widget_grab_focus() for actually setting the input
+focus on a widget.
</description>
<parameters>
diff --git a/gtk/src/gtk_docs_override.xml b/gtk/src/gtk_docs_override.xml
index 3a8c88c9..4a152d70 100644
--- a/gtk/src/gtk_docs_override.xml
+++ b/gtk/src/gtk_docs_override.xml
@@ -1584,47 +1584,107 @@ 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">
+<!-- TODO: Remove this signal description when gtk's description contains -->
+<!-- the correct number of parameters (no @keyval). -->
+<signal name="GtkEventControllerKey::modifiers">
<description>
-Sets the text in the editable to the given value,
-replacing the current contents.
+This signal is emitted whenever the state of modifier keys and pointer
+buttons change.
</description>
<parameters>
-<parameter name="editable">
-<parameter_description> a #GtkEditable
+<parameter name="controller">
+<parameter_description> the object which received the signal.
</parameter_description>
</parameter>
-<parameter name="text">
-<parameter_description> a pointer to the text to set.
+<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>
-</function>
+</signal>
<!-- TODO: Remove this signal description when gtk's description contains -->
-<!-- the correct number of parameters (no @keyval). -->
-<signal name="GtkEventControllerKey::modifiers">
+<!-- the correct number of parameters (@mode, @detail). -->
+<signal name="GtkEventControllerMotion::enter">
<description>
-This signal is emitted whenever the state of modifier keys and pointer
-buttons change.
+Signals that the pointer has entered the widget.
+
</description>
<parameters>
<parameter name="controller">
-<parameter_description> the object which received the signal.
+<parameter_description> The object that 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 name="x">
+<parameter_description> the x coordinate
+</parameter_description>
+</parameter>
+<parameter name="y">
+<parameter_description> the y coordinate
+</parameter_description>
+</parameter>
+<parameter name="mode">
+<parameter_description> crossing mode indicating what caused this change
+</parameter_description>
+</parameter>
+<parameter name="detail">
+<parameter_description> detail indication where the pointer is coming from
</parameter_description>
</parameter>
</parameters>
<return></return>
</signal>
+<!-- TODO: Remove this signal description when gtk's description contains -->
+<!-- the correct number of parameters (@mode, @detail). -->
+<signal name="GtkEventControllerMotion::leave">
+<description>
+Signals that pointer has left the widget.
+
+</description>
+<parameters>
+<parameter name="controller">
+<parameter_description> The object that received the signal
+</parameter_description>
+</parameter>
+<parameter name="mode">
+<parameter_description> crossing mode indicating what caused this change
+</parameter_description>
+</parameter>
+<parameter name="detail">
+<parameter_description> detail indication where the pointer is going
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<!-- TODO: Remove this signal description when gtk+'s description contains -->
+<!-- the correct number of parameters (@show_peek_icon). -->
+<function name="gtk_password_entry_set_show_peek_icon">
+<description>
+Sets whether the entry should have a clickable icon
+to show the contents of the entry in clear text.
+
+Setting this to %FALSE also hides the text again.
+
+</description>
+<parameters>
+<parameter name="entry">
+<parameter_description> a #GtkPasswordEntry
+show_peek_icon: whether to show the peek icon
+</parameter_description>
+</parameter>
+<parameter name="show_peek_icon">
+<parameter_description> %TRUE to show the peek icon
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<!-- 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 3bac9e6d..f352f8fc 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -2137,7 +2137,11 @@
;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT,
;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT,
;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP,
-;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN
+;; GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN,
+;; GTK_REVEALER_TRANSITION_TYPE_SWING_RIGHT,
+;; GTK_REVEALER_TRANSITION_TYPE_SWING_LEFT,
+;; GTK_REVEALER_TRANSITION_TYPE_SWING_UP,
+;; GTK_REVEALER_TRANSITION_TYPE_SWING_DOWN
;; } GtkRevealerTransitionType;
(define-enum-extended RevealerTransitionType
@@ -2150,6 +2154,10 @@
'("slide-left" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT" "3")
'("slide-up" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP" "4")
'("slide-down" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN" "5")
+ '("swing-right" "GTK_REVEALER_TRANSITION_TYPE_SWING_RIGHT" "6")
+ '("swing-left" "GTK_REVEALER_TRANSITION_TYPE_SWING_LEFT" "7")
+ '("swing-up" "GTK_REVEALER_TRANSITION_TYPE_SWING_UP" "8")
+ '("swing-down" "GTK_REVEALER_TRANSITION_TYPE_SWING_DOWN" "9")
)
)
@@ -2444,30 +2452,6 @@
)
)
-;; 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_methods.defs b/gtk/src/gtk_methods.defs
index 13f674ec..66dd89c6 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -2367,6 +2367,10 @@
'("slide-left" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT")
'("slide-up" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP")
'("slide-down" "GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN")
+ '("swing-right" "GTK_REVEALER_TRANSITION_TYPE_SWING_RIGHT")
+ '("swing-left" "GTK_REVEALER_TRANSITION_TYPE_SWING_LEFT")
+ '("swing-up" "GTK_REVEALER_TRANSITION_TYPE_SWING_UP")
+ '("swing-down" "GTK_REVEALER_TRANSITION_TYPE_SWING_DOWN")
)
)
@@ -2533,19 +2537,6 @@
)
)
-(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")
@@ -8955,51 +8946,6 @@
(return-type "gboolean")
)
-(define-method set_width_chars
- (of-object "GtkEntry")
- (c-name "gtk_entry_set_width_chars")
- (return-type "none")
- (parameters
- '("gint" "n_chars")
- )
-)
-
-(define-method get_width_chars
- (of-object "GtkEntry")
- (c-name "gtk_entry_get_width_chars")
- (return-type "gint")
-)
-
-(define-method set_max_width_chars
- (of-object "GtkEntry")
- (c-name "gtk_entry_set_max_width_chars")
- (return-type "none")
- (parameters
- '("gint" "n_chars")
- )
-)
-
-(define-method get_max_width_chars
- (of-object "GtkEntry")
- (c-name "gtk_entry_get_max_width_chars")
- (return-type "gint")
-)
-
-(define-method set_text
- (of-object "GtkEntry")
- (c-name "gtk_entry_set_text")
- (return-type "none")
- (parameters
- '("const-gchar*" "text")
- )
-)
-
-(define-method get_text
- (of-object "GtkEntry")
- (c-name "gtk_entry_get_text")
- (return-type "const-gchar*")
-)
-
(define-method set_alignment
(of-object "GtkEntry")
(c-name "gtk_entry_set_alignment")
@@ -9426,6 +9372,18 @@
(return-type "guint")
)
+(define-method get_focus_origin
+ (of-object "GtkEventControllerKey")
+ (c-name "gtk_event_controller_key_get_focus_origin")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_focus_target
+ (of-object "GtkEventControllerKey")
+ (c-name "gtk_event_controller_key_get_focus_target")
+ (return-type "GtkWidget*")
+)
+
;; From gtkeventcontrollerlegacy.h
@@ -9456,6 +9414,18 @@
(return-type "GtkEventController*")
)
+(define-method get_pointer_origin
+ (of-object "GtkEventControllerMotion")
+ (c-name "gtk_event_controller_motion_get_pointer_origin")
+ (return-type "GtkWidget*")
+)
+
+(define-method get_pointer_target
+ (of-object "GtkEventControllerMotion")
+ (c-name "gtk_event_controller_motion_get_pointer_target")
+ (return-type "GtkWidget*")
+)
+
;; From gtkeventcontrollerscroll.h
@@ -17605,6 +17575,21 @@
(return-type "GtkWidget*")
)
+(define-method set_show_peek_icon
+ (of-object "GtkPasswordEntry")
+ (c-name "gtk_password_entry_set_show_peek_icon")
+ (return-type "none")
+ (parameters
+ '("gboolean" "show_peek_icon")
+ )
+)
+
+(define-method get_show_peek_icon
+ (of-object "GtkPasswordEntry")
+ (c-name "gtk_password_entry_get_show_peek_icon")
+ (return-type "gboolean")
+)
+
;; From gtkpathbar.h
@@ -21150,6 +21135,21 @@
)
)
+(define-method set_focus
+ (of-object "GtkRoot")
+ (c-name "gtk_root_set_focus")
+ (return-type "none")
+ (parameters
+ '("GtkWidget*" "focus")
+ )
+)
+
+(define-method get_focus
+ (of-object "GtkRoot")
+ (c-name "gtk_root_get_focus")
+ (return-type "GtkWidget*")
+)
+
;; From gtkscalebutton.h
@@ -22765,7 +22765,7 @@
(c-name "gtk_snapshot_transform")
(return-type "none")
(parameters
- '("GtkTransform*" "transform")
+ '("GskTransform*" "transform")
)
)
@@ -22836,6 +22836,15 @@
)
)
+(define-method perspective
+ (of-object "GtkSnapshot")
+ (c-name "gtk_snapshot_perspective")
+ (return-type "none")
+ (parameters
+ '("float" "depth")
+ )
+)
+
(define-method append_node
(of-object "GtkSnapshot")
(c-name "gtk_snapshot_append_node")
@@ -23284,51 +23293,6 @@
(return-type "none")
)
-(define-method get_text
- (of-object "GtkSpinButton")
- (c-name "gtk_spin_button_get_text")
- (return-type "const-char*")
-)
-
-(define-method set_text
- (of-object "GtkSpinButton")
- (c-name "gtk_spin_button_set_text")
- (return-type "none")
- (parameters
- '("const-char*" "text")
- )
-)
-
-(define-method get_max_width_chars
- (of-object "GtkSpinButton")
- (c-name "gtk_spin_button_get_max_width_chars")
- (return-type "int")
-)
-
-(define-method set_max_width_chars
- (of-object "GtkSpinButton")
- (c-name "gtk_spin_button_set_max_width_chars")
- (return-type "none")
- (parameters
- '("int" "max_width_chars")
- )
-)
-
-(define-method get_width_chars
- (of-object "GtkSpinButton")
- (c-name "gtk_spin_button_get_width_chars")
- (return-type "int")
-)
-
-(define-method set_width_chars
- (of-object "GtkSpinButton")
- (c-name "gtk_spin_button_set_width_chars")
- (return-type "none")
- (parameters
- '("int" "width_chars")
- )
-)
-
;; From gtkspinner.h
@@ -27034,160 +26998,6 @@
-;; 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
@@ -30155,7 +29965,7 @@
'("int" "width")
'("int" "height")
'("int" "baseline")
- '("GtkTransform*" "transform")
+ '("GskTransform*" "transform")
)
)
@@ -30256,15 +30066,6 @@
)
)
-(define-method send_focus_change
- (of-object "GtkWidget")
- (c-name "gtk_widget_send_focus_change")
- (return-type "gboolean")
- (parameters
- '("GdkEvent*" "event")
- )
-)
-
(define-method activate
(of-object "GtkWidget")
(c-name "gtk_widget_activate")
@@ -31525,6 +31326,12 @@
)
)
+(define-method get_focus_child
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_get_focus_child")
+ (return-type "GtkWidget*")
+)
+
(define-method snapshot_child
(of-object "GtkWidget")
(c-name "gtk_widget_snapshot_child")
@@ -33208,11 +33015,6 @@
(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 ec96626a..e26ad7fe 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -3387,12 +3387,40 @@
(of-object "GtkEventControllerKey")
(return-type "void")
(flags "Run Last")
+ (parameters
+ '("GdkCrossingMode" "p0")
+ '("GdkNotifyType" "p1")
+ )
)
(define-signal focus-out
(of-object "GtkEventControllerKey")
(return-type "void")
(flags "Run Last")
+ (parameters
+ '("GdkCrossingMode" "p0")
+ '("GdkNotifyType" "p1")
+ )
+)
+
+(define-property is-focus
+ (of-object "GtkEventControllerKey")
+ (prop-type "GParamBoolean")
+ (docs "Whether the focus is in the controllers widget")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
+(define-property contains-focus
+ (of-object "GtkEventControllerKey")
+ (prop-type "GParamBoolean")
+ (docs "Whether the focus is in a descendant of the controllers widget")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+ (default-value "FALSE")
)
;; From GtkEventControllerMotion
@@ -3404,6 +3432,8 @@
(parameters
'("gdouble" "p0")
'("gdouble" "p1")
+ '("GdkCrossingMode" "p2")
+ '("GdkNotifyType" "p3")
)
)
@@ -3411,6 +3441,10 @@
(of-object "GtkEventControllerMotion")
(return-type "void")
(flags "Run First")
+ (parameters
+ '("GdkCrossingMode" "p0")
+ '("GdkNotifyType" "p1")
+ )
)
(define-signal motion
@@ -3423,6 +3457,26 @@
)
)
+(define-property is-pointer-focus
+ (of-object "GtkEventControllerMotion")
+ (prop-type "GParamBoolean")
+ (docs "Whether the pointer is in the controllers widget")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
+(define-property contains-pointer-focus
+ (of-object "GtkEventControllerMotion")
+ (prop-type "GParamBoolean")
+ (docs "Whether the pointer is in a descendant of the controllers widget")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
;; From GtkEventControllerScroll
(define-signal scroll-begin
@@ -6730,6 +6784,38 @@
(default-value "FALSE")
)
+;; From GtkPasswordEntry
+
+(define-property placeholder-text
+ (of-object "GtkPasswordEntry")
+ (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 "GtkPasswordEntry")
+ (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")
+)
+
+(define-property show-peek-icon
+ (of-object "GtkPasswordEntry")
+ (prop-type "GParamBoolean")
+ (docs "Whether to show an icon for revealing the content")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+ (default-value "FALSE")
+)
+
;; From GtkPicture
(define-property paintable
@@ -7700,6 +7786,17 @@
(default-value "FALSE")
)
+;; From GtkRoot
+
+(define-property focus-widget
+ (of-object "GtkRoot")
+ (prop-type "GParamObject")
+ (docs "The focus widget")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkScale
(define-signal format-value
@@ -8912,7 +9009,7 @@
(define-property model
(of-object "GtkSingleSelection")
(prop-type "GParamObject")
- (docs "The model")
+ (docs "The model being managed")
(readable #t)
(writable #t)
(construct-only #f)
@@ -11589,15 +11686,6 @@
)
)
-(define-signal focus
- (of-object "GtkWidget")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
- '("GtkDirectionType" "p0")
- )
-)
-
(define-signal move-focus
(of-object "GtkWidget")
(return-type "void")
@@ -12121,15 +12209,6 @@
(flags "Run First")
)
-(define-signal set-focus
- (of-object "GtkWindow")
- (return-type "void")
- (flags "Run Last")
- (parameters
- '("GtkWidget*" "p0")
- )
-)
-
(define-signal activate-focus
(of-object "GtkWindow")
(return-type "void")
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index 77ef21db..18b408ca 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -154,6 +154,7 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_OVERLAY )
<< get_defs( GTK_TYPE_PAD_CONTROLLER )
<< get_defs( GTK_TYPE_PANED )
+ << get_defs( GTK_TYPE_PASSWORD_ENTRY )
<< get_defs( GTK_TYPE_PICTURE )
<< get_defs( GTK_TYPE_POPOVER )
<< get_defs( GTK_TYPE_POPOVER_MENU )
@@ -176,6 +177,7 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_RANGE )
<< get_defs( GTK_TYPE_RECENT_MANAGER )
<< get_defs( GTK_TYPE_REVEALER )
+ << get_defs( GTK_TYPE_ROOT )
<< get_defs( GTK_TYPE_SCALE )
<< get_defs( GTK_TYPE_SCALE_BUTTON )
<< get_defs( GTK_TYPE_SCROLLABLE )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]