[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files



commit d250c18d0d21645d4ee2b19633a4f7d522866e07
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Wed Sep 8 15:33:43 2021 +0200

    Gdk, Gtk: Regenerate docs.xml and .defs files
    
    using gtk files from gtk 4.4.0.

 gdk/src/gdk_docs.xml           | 134 ++++++++--
 gdk/src/gdk_enums.defs         |  36 ++-
 gdk/src/gdk_methods.defs       |  54 +++++
 gdk/src/gdk_signals.defs       |   5 +-
 gtk/src/gtk_docs.xml           | 537 +++++++++++++++++++++++++++++++++++------
 gtk/src/gtk_methods.defs       | 159 ++++++++++--
 gtk/src/gtk_signals.defs       |  70 +++++-
 gtk/src/gtk_signals.defs.patch |  37 ++-
 8 files changed, 899 insertions(+), 133 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 657d8767..2e3072fd 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -1266,7 +1266,13 @@ Indicates which monitor a surface should span over when in fullscreen mode.
 
 <property name="GdkGLContext:shared-context">
 <description>
-The `GdkGLContext` that this context is sharing data with, or %NULL
+Always %NULL
+
+As many contexts can share data now and no single shared context exists
+anymore, this function has been deprecated and now always returns %NULL.
+
+Deprecated: 4.4: Use [method@Gdk.GLContext.is_shared] to check if contexts
+can be shared.
 
 </description>
 </property>
@@ -4415,14 +4421,37 @@ Creates a new `GdkContentFormats` for a given `GType`.
 </return>
 </function>
 
+<function name="gdk_content_formats_parse">
+<description>
+Parses the given @string into `GdkContentFormats` and
+returns the formats. 
+
+Strings printed via [method@Gdk.ContentFormats.to_string]
+can be read in again successfully using this function.
+
+If @string does not describe valid content formats, %NULL
+is returned.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="string">
+<parameter_description> the string to parse
+</parameter_description>
+</parameter>
+</parameters>
+<return> the content formats if @string is valid
+
+</return>
+</function>
+
 <function name="gdk_content_formats_print">
 <description>
 Prints the given @formats into a string for human consumption.
 
-This is meant for debugging and logging.
-
-The form of the representation may change at any time and is
-not guaranteed to stay identical.
+The result of this function can later be parsed with
+[func@Gdk.ContentFormats.parse].
 
 </description>
 <parameters>
@@ -4458,6 +4487,8 @@ Increases the reference count of a `GdkContentFormats` by one.
 <description>
 Prints the given @formats into a human-readable string.
 
+The resulting string can be parsed with [func@Gdk.ContentFormats.parse].
+
 This is a small wrapper around [method@Gdk.ContentFormats.print]
 to help when debugging.
 
@@ -5360,7 +5391,7 @@ Creates a new cursor from a `GdkTexture`.
 </parameter_description>
 </parameter>
 <parameter name="fallback">
-<parameter_description> %NULL or the `GdkCursor` to fall back to when
+<parameter_description> the `GdkCursor` to fall back to when
 this one cannot be supported
 </parameter_description>
 </parameter>
@@ -6006,7 +6037,8 @@ Gets the clipboard used for copy/paste operations.
 Gets the default `GdkDisplay`.
 
 This is a convenience function for:
-`gdk_display_manager_get_default_display (gdk_display_manager_get ())`.
+
+gdk_display_manager_get_default_display (gdk_display_manager_get ())
 
 
 </description>
@@ -6466,6 +6498,41 @@ If opening the display fails, `NULL` is returned.
 </return>
 </function>
 
+<function name="gdk_display_prepare_gl">
+<description>
+Checks that OpenGL is available for @self and ensures that it is
+properly initialized.
+When this fails, an @error will be set describing the error and this
+function returns %FALSE.
+
+Note that even if this function succeeds, creating a `GdkGLContext`
+may still fail.
+
+This function is idempotent. Calling it multiple times will just 
+return the same value or error.
+
+You never need to call this function, GDK will call it automatically
+as needed. But you can use it as a check when setting up code that
+might make use of OpenGL.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a `GdkDisplay`
+</parameter_description>
+</parameter>
+<parameter name="error">
+<parameter_description> return location for a `GError`
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the display supports OpenGL
+
+</return>
+</function>
+
 <function name="gdk_display_put_event">
 <description>
 Appends the given event onto the front of the event
@@ -7244,7 +7311,7 @@ When the operation is finished @callback will be called. You must
 then call [method Gdk Drop.read_value_finish] to get the resulting
 `GValue`.
 
-For local drag'n'drop operations that are available in the given
+For local drag-and-drop operations that are available in the given
 `GType`, the value will be copied directly. Otherwise, GDK will
 try to use [func@Gdk.content_deserialize_async] to convert the data.
 
@@ -7312,7 +7379,7 @@ When calling this function, do not restrict the passed in actions to
 the ones provided by [method Gdk Drop.get_actions]. Those actions may
 change in the future, even depending on the actions you provide here.
 
-The @preferred action is a hint to the drag'n'drop mechanism about which
+The @preferred action is a hint to the drag-and-drop mechanism about which
 action to use when multiple actions are possible.
 
 This function should be called by drag destinations in response to
@@ -7957,7 +8024,8 @@ Retrieves a `GdkFrameTimings` object holding timing information
 for the current frame or a recent frame.
 
 The `GdkFrameTimings` object may not yet be complete: see
-[method@Gdk.FrameTimings.get_complete].
+[method@Gdk.FrameTimings.get_complete] and
+[method@Gdk.FrameClock.get_history_start].
 
 
 </description>
@@ -7973,8 +8041,7 @@ be received
 </parameter>
 </parameters>
 <return> the `GdkFrameTimings` object
-for the specified frame, or %NULL if it is not available. See
-[method@Gdk.FrameClock.get_history_start].
+for the specified frame, or %NULL if it is not available
 </return>
 </function>
 
@@ -8278,8 +8345,13 @@ See [method@Gdk.GLContext.set_required_version].
 
 <function name="gdk_gl_context_get_shared_context">
 <description>
-Retrieves the `GdkGLContext` that this @context share data with.
+Used to retrieves the `GdkGLContext` that this @context share data with.
 
+As many contexts can share data now and no single shared context exists
+anymore, this function has been deprecated and now always returns %NULL.
+
+Deprecated: 4.4: Use [method@Gdk.GLContext.is_shared] to check if contexts
+can be shared.
 
 </description>
 <parameters>
@@ -8288,7 +8360,8 @@ Retrieves the `GdkGLContext` that this @context share data with.
 </parameter_description>
 </parameter>
 </parameters>
-<return> a `GdkGLContext`
+<return> %NULL
+
 </return>
 </function>
 
@@ -8379,6 +8452,39 @@ kind of shader programs to load.
 </return>
 </function>
 
+<function name="gdk_gl_context_is_shared">
+<description>
+Checks if the two GL contexts can share resources.
+
+When they can, the texture IDs from @other can be used in @self. This
+is particularly useful when passing `GdkGLTexture` objects between
+different contexts.
+
+Contexts created for the same display with the same properties will
+always be compatible, even if they are created for different surfaces.
+For other contexts it depends on the GL backend.
+
+Both contexts must be realized for this check to succeed. If either one
+is not, this function will return %FALSE.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a `GdkGLContext`
+</parameter_description>
+</parameter>
+<parameter name="other">
+<parameter_description> the `GdkGLContext` that should be compatible with @self
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the two GL contexts are compatible.
+
+</return>
+</function>
+
 <function name="gdk_gl_context_make_current">
 <description>
 Makes the @context the current one.
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index 085eb35a..9247b5cc 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -21,9 +21,12 @@
 ;;   GDK_DEBUG_GL_LEGACY       = 1 << 15,
 ;;   GDK_DEBUG_GL_GLES         = 1 << 16,
 ;;   GDK_DEBUG_GL_DEBUG        = 1 << 17,
-;;   GDK_DEBUG_VULKAN_DISABLE  = 1 << 18,
-;;   GDK_DEBUG_VULKAN_VALIDATE = 1 << 19,
-;;   GDK_DEBUG_DEFAULT_SETTINGS= 1 << 20
+;;   GDK_DEBUG_GL_EGL          = 1 << 18,
+;;   GDK_DEBUG_GL_GLX          = 1 << 19,
+;;   GDK_DEBUG_GL_WGL          = 1 << 20,
+;;   GDK_DEBUG_VULKAN_DISABLE  = 1 << 21,
+;;   GDK_DEBUG_VULKAN_VALIDATE = 1 << 22,
+;;   GDK_DEBUG_DEFAULT_SETTINGS= 1 << 23,
 ;; } GdkDebugFlags;
 
 (define-flags-extended DebugFlags
@@ -48,9 +51,12 @@
     '("gl-legacy" "GDK_DEBUG_GL_LEGACY" "1 << 15")
     '("gl-gles" "GDK_DEBUG_GL_GLES" "1 << 16")
     '("gl-debug" "GDK_DEBUG_GL_DEBUG" "1 << 17")
-    '("vulkan-disable" "GDK_DEBUG_VULKAN_DISABLE" "1 << 18")
-    '("vulkan-validate" "GDK_DEBUG_VULKAN_VALIDATE" "1 << 19")
-    '("default-settings=" "GDK_DEBUG_DEFAULT_SETTINGS=" "1 << 20")
+    '("gl-egl" "GDK_DEBUG_GL_EGL" "1 << 18")
+    '("gl-glx" "GDK_DEBUG_GL_GLX" "1 << 19")
+    '("gl-wgl" "GDK_DEBUG_GL_WGL" "1 << 20")
+    '("vulkan-disable" "GDK_DEBUG_VULKAN_DISABLE" "1 << 21")
+    '("vulkan-validate" "GDK_DEBUG_VULKAN_VALIDATE" "1 << 22")
+    '("default-settings=" "GDK_DEBUG_DEFAULT_SETTINGS=" "1 << 23")
   )
 )
 
@@ -590,6 +596,24 @@
   )
 )
 
+;; Original typedef:
+;; typedef enum
+;; {
+;;   GDK_TITLEBAR_GESTURE_DOUBLE_CLICK   = 1,
+;;   GDK_TITLEBAR_GESTURE_RIGHT_CLICK    = 2,
+;;   GDK_TITLEBAR_GESTURE_MIDDLE_CLICK   = 3
+;; } GdkTitlebarGesture;
+
+(define-enum-extended TitlebarGesture
+  (in-module "Gdk")
+  (c-name "GdkTitlebarGesture")
+  (values
+    '("double-click" "GDK_TITLEBAR_GESTURE_DOUBLE_CLICK" "1")
+    '("right-click" "GDK_TITLEBAR_GESTURE_RIGHT_CLICK" "2")
+    '("middle-click" "GDK_TITLEBAR_GESTURE_MIDDLE_CLICK" "3")
+  )
+)
+
 ;; From gdktypes.h
 
 ;; Original typedef:
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index fd9ff1ed..a422406d 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -32,6 +32,9 @@
     '("gl-legacy" "GDK_DEBUG_GL_LEGACY")
     '("gl-gles" "GDK_DEBUG_GL_GLES")
     '("gl-debug" "GDK_DEBUG_GL_DEBUG")
+    '("gl-egl" "GDK_DEBUG_GL_EGL")
+    '("gl-glx" "GDK_DEBUG_GL_GLX")
+    '("gl-wgl" "GDK_DEBUG_GL_WGL")
     '("vulkan-disable" "GDK_DEBUG_VULKAN_DISABLE")
     '("vulkan-validate" "GDK_DEBUG_VULKAN_VALIDATE")
     '("default-settings=" "GDK_DEBUG_DEFAULT_SETTINGS=")
@@ -336,6 +339,17 @@
   )
 )
 
+(define-enum TitlebarGesture
+  (in-module "Gdk")
+  (c-name "GdkTitlebarGesture")
+  (gtype-id "GDK_TYPE_TITLEBAR_GESTURE")
+  (values
+    '("double-click" "GDK_TITLEBAR_GESTURE_DOUBLE_CLICK")
+    '("right-click" "GDK_TITLEBAR_GESTURE_RIGHT_CLICK")
+    '("middle-click" "GDK_TITLEBAR_GESTURE_MIDDLE_CLICK")
+  )
+)
+
 (define-enum Gravity
   (in-module "Gdk")
   (c-name "GdkGravity")
@@ -948,6 +962,14 @@
   )
 )
 
+(define-function gdk_content_formats_parse
+  (c-name "gdk_content_formats_parse")
+  (return-type "GdkContentFormats*")
+  (parameters
+    '("const-char*" "string")
+  )
+)
+
 (define-method ref
   (of-object "GdkContentFormats")
   (c-name "gdk_content_formats_ref")
@@ -1692,6 +1714,15 @@
   (return-type "gboolean")
 )
 
+(define-method prepare_gl
+  (of-object "GdkDisplay")
+  (c-name "gdk_display_prepare_gl")
+  (return-type "gboolean")
+  (parameters
+    '("GError**" "error")
+  )
+)
+
 (define-function gdk_display_get_default
   (c-name "gdk_display_get_default")
   (return-type "GdkDisplay*")
@@ -2780,6 +2811,15 @@
   (return-type "gboolean")
 )
 
+(define-method is_shared
+  (of-object "GdkGLContext")
+  (c-name "gdk_gl_context_is_shared")
+  (return-type "gboolean")
+  (parameters
+    '("GdkGLContext*" "other")
+  )
+)
+
 (define-method set_required_version
   (of-object "GdkGLContext")
   (c-name "gdk_gl_context_set_required_version")
@@ -4006,6 +4046,15 @@
   )
 )
 
+(define-method titlebar_gesture
+  (of-object "GdkToplevel")
+  (c-name "gdk_toplevel_titlebar_gesture")
+  (return-type "gboolean")
+  (parameters
+    '("GdkTitlebarGesture" "gesture")
+  )
+)
+
 
 
 ;; From gdktoplevellayout.h
@@ -4349,6 +4398,11 @@
   (return-type "GType")
 )
 
+(define-function gdk_titlebar_gesture_get_type
+  (c-name "gdk_titlebar_gesture_get_type")
+  (return-type "GType")
+)
+
 (define-function gdk_gravity_get_type
   (c-name "gdk_gravity_get_type")
   (return-type "GType")
diff --git a/gdk/src/gdk_signals.defs b/gdk/src/gdk_signals.defs
index d25b127f..7610f937 100644
--- a/gdk/src/gdk_signals.defs
+++ b/gdk/src/gdk_signals.defs
@@ -535,8 +535,8 @@
   (prop-type "GParamObject")
   (docs "The GDK display used to create the context")
   (readable #t)
-  (writable #f)
-  (construct-only #f)
+  (writable #t)
+  (construct-only #t)
 )
 
 (define-property surface
@@ -1230,5 +1230,6 @@
   (readable #t)
   (writable #t)
   (construct-only #t)
+  (deprecated #t)
 )
 
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 4922c6f0..4e2c6092 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -1139,6 +1139,25 @@ See `GContentType` for more information about content types.
 </description>
 </property>
 
+<signal name="GtkAppChooserButton::activate">
+<description>
+Emitted to when the button is activated.
+
+The `::activate` signal on `GtkAppChooserButton` is an action signal and
+emitting it causes the button to pop up its dialog.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
 <signal name="GtkAppChooserButton::changed">
 <description>
 Emitted when the active application changes.
@@ -3260,6 +3279,25 @@ character is to be used as mnemonic.
 </description>
 </property>
 
+<signal name="GtkColorButton::activate">
+<description>
+Emitted to when the color button is activated.
+
+The `::activate` signal on `GtkMenuButton` is an action signal and
+emitting it causes the button to pop up its dialog.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
 <signal name="GtkColorButton::color-set">
 <description>
 Emitted when the user selects a color.
@@ -4205,7 +4243,7 @@ only available when GTK has been configured with `-Ddebug=true`.
 </parameter_description>
 </parameter>
 <parameter name="GTK_DEBUG_ICONFALLBACK">
-<parameter_description> Information about icon fallback
+<parameter_description> Information about icon fallback. Since: 4.2
 </parameter_description>
 </parameter>
 </parameters>
@@ -4794,7 +4832,7 @@ a drop zone or not. If it is not in a drop zone, it returns %FALSE
 and no further processing is necessary.
 
 Otherwise, the handler returns %TRUE. In this case, this handler will
-accept the drop. The handler is responsible for rading the given @value
+accept the drop. The handler is responsible for using the given @value
 and performing the drop operation.
 
 
@@ -4897,10 +4935,21 @@ The `GdkDragActions` that this drop target supports.
 </description>
 </property>
 
+<property name="GtkDropTarget:current-drop">
+<description>
+The `GdkDrop` that is currently being performed.
+
+Since: 4.4
+
+</description>
+</property>
+
 <property name="GtkDropTarget:drop">
 <description>
 The `GdkDrop` that is currently being performed.
 
+Deprecated: 4.4: Use [property@Gtk.DropTarget:current-drop] instead
+
 </description>
 </property>
 
@@ -7237,6 +7286,25 @@ Whether to accept unpaired release events.
 </description>
 </property>
 
+<signal name="GtkFontButton::activate">
+<description>
+Emitted to when the font button is activated.
+
+The `::activate` signal on `GtkFontButton` is an action signal and
+emitting it causes the button to present its dialog.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
 <signal name="GtkFontButton::font-set">
 <description>
 Emitted when the user selects a font.
@@ -8316,8 +8384,13 @@ be shown if the window can't be closed).
 <signal name="GtkIMContext::commit">
 <description>
 The ::commit signal is emitted when a complete input sequence
-has been entered by the user. This can be a single character
-immediately after a key press or the final result of preediting.
+has been entered by the user.
+
+If the commit comes after a preediting sequence, the
+::commit signal is emitted after ::preedit-end.
+
+This can be a single character immediately after a key press or
+the final result of preediting.
 
 </description>
 <parameters>
@@ -8346,7 +8419,7 @@ needs to delete all or part of the context surrounding the cursor.
 </parameter_description>
 </parameter>
 <parameter name="offset">
-<parameter_description>  the character offset from the cursor position of the text
+<parameter_description> the character offset from the cursor position of the text
 to be deleted. A negative value indicates a position before
 the cursor.
 </parameter_description>
@@ -8363,9 +8436,10 @@ the cursor.
 <signal name="GtkIMContext::preedit-changed">
 <description>
 The ::preedit-changed signal is emitted whenever the preedit sequence
-currently being entered has changed.  It is also emitted at the end of
-a preedit sequence, in which case
-gtk_im_context_get_preedit_string() returns the empty string.
+currently being entered has changed.
+
+It is also emitted at the end of a preedit sequence, in which case
+[method@Gtk.IMContext.get_preedit_string] returns the empty string.
 
 </description>
 <parameters>
@@ -8410,9 +8484,10 @@ starts.
 <signal name="GtkIMContext::retrieve-surrounding">
 <description>
 The ::retrieve-surrounding signal is emitted when the input method
-requires the context surrounding the cursor.  The callback should set
-the input method surrounding context by calling the
-gtk_im_context_set_surrounding() method.
+requires the context surrounding the cursor.
+
+The callback should set the input method surrounding context by
+calling the [method@Gtk.IMContext.set_surrounding] method.
 
 
 </description>
@@ -8426,6 +8501,24 @@ gtk_im_context_set_surrounding() method.
 </return>
 </signal>
 
+<property name="GtkIMContext:input-hints">
+<description>
+Additional hints that allow input methods to fine-tune
+their behaviour.
+
+</description>
+</property>
+
+<property name="GtkIMContext:input-purpose">
+<description>
+The purpose of the text field that the `GtkIMContext is connected to.
+
+This property can be used by on-screen keyboards and other input
+methods to adjust their behaviour.
+
+</description>
+</property>
+
 <enum name="GtkIconLookupFlags">
 <description>
 Used to specify options for gtk_icon_theme_lookup_icon().
@@ -8589,7 +8682,7 @@ Error codes for `GtkIconTheme` operations.
 
 <signal name="GtkIconView::activate-cursor-item">
 <description>
-A [keybinding signal][GtkSignalAction]
+A [keybinding signal][class@Gtk.SignalAction]
 which gets emitted when the user activates the currently 
 focused item. 
 
@@ -8636,7 +8729,7 @@ Space, Return or Enter is pressed.
 <signal name="GtkIconView::move-cursor">
 <description>
 The ::move-cursor signal is a
-[keybinding signal][GtkSignalAction]
+[keybinding signal][class@Gtk.SignalAction]
 which gets emitted when the user initiates a cursor movement.
 
 Applications should not connect to it, but may emit it with
@@ -8678,7 +8771,7 @@ the Shift modifier.
 
 <signal name="GtkIconView::select-all">
 <description>
-A [keybinding signal][GtkSignalAction]
+A [keybinding signal][class.Gtk.SignalAction]
 which gets emitted when the user selects all items.
 
 Applications should not connect to it, but may emit it with
@@ -8699,7 +8792,7 @@ The default binding for this signal is Ctrl-a.
 
 <signal name="GtkIconView::select-cursor-item">
 <description>
-A [keybinding signal][GtkSignalAction]
+A [keybinding signal][class@Gtk.SignalAction]
 which gets emitted when the user selects the item that is currently
 focused.
 
@@ -8736,7 +8829,7 @@ The ::selection-changed signal is emitted when the selection
 
 <signal name="GtkIconView::toggle-cursor-item">
 <description>
-A [keybinding signal][GtkSignalAction]
+A [keybinding signal][class@Gtk.SignalAction]
 which gets emitted when the user toggles whether the currently
 focused item is selected or not. The exact effect of this 
 depend on the selection mode.
@@ -8759,7 +8852,7 @@ There is no default binding for this signal is Ctrl-Space.
 
 <signal name="GtkIconView::unselect-all">
 <description>
-A [keybinding signal][GtkSignalAction]
+A [keybinding signal][class@Gtk.SignalAction]
 which gets emitted when the user unselects all items.
 
 Applications should not connect to it, but may emit it with
@@ -10249,6 +10342,34 @@ Volume of the audio stream.
 </description>
 </property>
 
+<signal name="GtkMenuButton::activate">
+<description>
+Emitted to when the menu button is activated.
+
+The `::activate` signal on `GtkMenuButton` is an action signal and
+emitting it causes the button to pop up its menu.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> the object which received the signal.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
+<property name="GtkMenuButton:always-show-arrow">
+<description>
+Whether to show a dropdown arrow even when using an icon.
+
+Since: 4.4
+
+</description>
+</property>
+
 <property name="GtkMenuButton:direction">
 <description>
 The `GtkArrowType` representing the direction in which the
@@ -10301,6 +10422,8 @@ Whether the menu button acts as a primary menu.
 
 Primary menus can be opened using the &lt;kbd&gt;F10&lt;/kbd&gt; key
 
+Since: 4.4
+
 </description>
 </property>
 
@@ -16391,7 +16514,7 @@ the context menu.
 <description>
 Which IM (input method) module should be used for this self.
 
-See [class@Gtk.IMContext].
+See [class@Gtk.IMMulticontext].
 
 Setting this to a non-%NULL value overrides the system-wide
 IM module setting. See the [property@Gtk.Settings:gtk-im-module]
@@ -17864,7 +17987,7 @@ A menu model whose contents will be appended to the context menu.
 <description>
 Which IM (input method) module should be used for this text_view.
 
-See [class@Gtk.IMContext].
+See [class@Gtk.IMMulticontext].
 
 Setting this to a non-%NULL value overrides the system-wide IM module
 setting. See the GtkSettings [property@Gtk.Settings:gtk-im-module] property.
@@ -18405,7 +18528,7 @@ The position of the cursor (focused cell) has changed.
 <signal name="GtkTreeView::move-cursor">
 <description>
 The `GtkTreeView`::move-cursor signal is a [keybinding
-signal][GtkSignalAction] which gets emitted when the user
+signal][class@Gtk.SignalAction] which gets emitted when the user
 presses one of the cursor keys.
 
 Applications should not connect to it, but may emit it with
@@ -18451,12 +18574,14 @@ backwards. The resulting movement is undefined for all other values.
 <signal name="GtkTreeView::row-activated">
 <description>
 The &quot;row-activated&quot; signal is emitted when the method
-gtk_tree_view_row_activated() is called, when the user double
-clicks a treeview row with the &quot;activate-on-single-click&quot;
-property set to %FALSE, or when the user single clicks a row when
-the &quot;activate-on-single-click&quot; property set to %TRUE. It is also
-emitted when a non-editable row is selected and one of the keys:
-Space, Shift+Space, Return or Enter is pressed.
+gtk_tree_view_row_activated() is called.
+
+This signal is emitted when the user double-clicks a treeview row with the
+[property@Gtk.TreeView:activate-on-single-click] property set to %FALSE,
+or when the user single-clicks a row when that property set to %TRUE.
+
+This signal is also emitted when a non-editable row is selected and one
+of the keys: &lt;kbd&gt;Space&lt;/kbd&gt;, &lt;kbd&gt;Shift&lt;/kbd&gt;+&lt;kbd&gt;Space&lt;/kbd&gt;, 
&lt;kbd&gt;Return&lt;/kbd&gt; or &lt;kbd&gt;Enter&lt;/kbd&gt; is pressed.
 
 For selection handling refer to the
 [tree widget conceptual overview][TreeWidget]
@@ -29811,8 +29936,8 @@ possible.
 <function name="gtk_cell_view_new_with_markup">
 <description>
 Creates a new `GtkCellView` widget, adds a `GtkCellRendererText`
-to it, and makes it show @markup. The text can be
-marked up with the [Pango text markup language][PangoMarkupFormat].
+to it, and makes it show @markup. The text can be marked up with
+the [Pango text markup language](https://docs.gtk.org/Pango/pango_markup.html).
 
 
 </description>
@@ -34810,7 +34935,7 @@ Supported types include strings, `GdkRGBA` and `GtkTextBuffer`.
 If GTK does not know how to create a widget for a given value,
 it will return %NULL.
 
-This method is used to set the default drag icon on drag'n'drop
+This method is used to set the default drag icon on drag-and-drop
 operations started by `GtkDragSource`, so you don't need to set
 a drag icon using this function there.
 
@@ -35675,12 +35800,33 @@ Gets the actions that this drop target supports.
 </return>
 </function>
 
+<function name="gtk_drop_target_get_current_drop">
+<description>
+Gets the currently handled drop operation.
+
+If no drop operation is going on, %NULL is returned.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a `GtkDropTarget`
+</parameter_description>
+</parameter>
+</parameters>
+<return> The current drop
+
+</return>
+</function>
+
 <function name="gtk_drop_target_get_drop">
 <description>
 Gets the currently handled drop operation.
 
 If no drop operation is going on, %NULL is returned.
 
+Deprecated: 4.4: Use [method@Gtk.DropTarget.get_current_drop] instead
 
 </description>
 <parameters>
@@ -35690,6 +35836,7 @@ If no drop operation is going on, %NULL is returned.
 </parameter>
 </parameters>
 <return> The current drop
+
 </return>
 </function>
 
@@ -35796,7 +35943,7 @@ If the drop target should support more than 1 type, pass
 <description>
 Rejects the ongoing drop operation.
 
-If no drop operation is ongoing, i.e when [property@Gtk.DropTarget:drop]
+If no drop operation is ongoing, i.e when [property@Gtk.DropTarget:current-drop]
 is %NULL, this function does nothing.
 
 This function should be used when delaying the decision
@@ -40235,7 +40382,7 @@ the file in list. If the @chooser is in %GTK_FILE_CHOOSER_ACTION_SAVE mode,
 the file’s base name will also appear in the dialog’s file name entry.
 
 If the file name isn’t in the current folder of @chooser, then the current
-folder of @chooser will be changed to the folder containing @filename.
+folder of @chooser will be changed to the folder containing @file.
 
 Note that the file must exist, or nothing will be done except
 for the directory change.
@@ -40381,6 +40528,10 @@ Adds a rule allowing a given mime type to @filter.
 <description>
 Adds a rule allowing a shell style glob to a filter.
 
+Note that it depends on the platform whether pattern
+matching ignores case or not. On Windows, it does, on
+other platforms, it doesn't.
+
 </description>
 <parameters>
 <parameter name="filter">
@@ -40413,6 +40564,32 @@ for all the supported mime types.
 <return></return>
 </function>
 
+<function name="gtk_file_filter_add_suffix">
+<description>
+Adds a suffix match rule to a filter.
+
+This is similar to adding a match for the pattern
+&quot;*.@suffix&quot;.
+
+In contrast to pattern matches, suffix matches
+are *always* case-insensitive.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="filter">
+<parameter_description> a `GtkFileFilter`
+</parameter_description>
+</parameter>
+<parameter name="suffix">
+<parameter_description> filename suffix to match
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_file_filter_get_attributes">
 <description>
 Gets the attributes that need to be filled in for the `GFileInfo`
@@ -40459,7 +40636,8 @@ Creates a new `GtkFileFilter` with no rules added to it.
 Such a filter doesn’t accept any files, so is not
 particularly useful until you add rules with
 [method@Gtk.FileFilter.add_mime_type],
-[method@Gtk.FileFilter.add_pattern], or
+[method@Gtk.FileFilter.add_pattern],
+[method@Gtk.FileFilter.add_suffix] or
 [method@Gtk.FileFilter.add_pixbuf_formats].
 
 To create a filter that accepts any file, use:
@@ -45875,6 +46053,7 @@ Gets the current icon theme name.
 Checks whether an icon theme includes an icon
 for a particular `GIcon`.
 
+Since: 4.2
 
 </description>
 <parameters>
@@ -45888,6 +46067,7 @@ for a particular `GIcon`.
 </parameter>
 </parameters>
 <return> %TRUE if @self includes an icon for @gicon
+
 </return>
 </function>
 
@@ -46047,7 +46227,8 @@ but they are treated like unthemed icons.
 </parameter_description>
 </parameter>
 <parameter name="path">
-<parameter_description> NULL-terminated array of resource paths
+<parameter_description> 
+NULL-terminated array of resource paths
 that are searched for icons
 </parameter_description>
 </parameter>
@@ -47449,21 +47630,21 @@ method sets `GtkIconView`:reorderable to %FALSE.
 <description>
 Asks the widget that the input context is attached to delete
 characters around the cursor position by emitting the
-GtkIMContext::delete_surrounding signal.
+`::delete_surrounding` signal.
 
 Note that @offset and @n_chars are in characters not in bytes
 which differs from the usage other places in `GtkIMContext`.
 
 In order to use this function, you should first call
-gtk_im_context_get_surrounding() to get the current context, and
-call this function immediately afterwards to make sure that you
+[method@Gtk.IMContext.get_surrounding] to get the current context,
+and call this function immediately afterwards to make sure that you
 know what you are deleting. You should also account for the fact
 that even if the signal was handled, the input context might not
 have deleted all the characters that were requested to be deleted.
 
 This function is used by an input method that wants to make
-subsitutions in the existing text in response to new input. It is
-not useful for applications.
+subsitutions in the existing text in response to new input.
+It is not useful for applications.
 
 
 </description>
@@ -47489,7 +47670,7 @@ a negative value means start before the cursor.
 <function name="gtk_im_context_filter_key">
 <description>
 Allow an input method to forward key press and release events
-to another input methodm without necessarily having a `GdkEvent`
+to another input method without necessarily having a `GdkEvent`
 available.
 
 
@@ -47613,12 +47794,12 @@ string. The string retrieved must be freed with g_free().
 <parameter name="attrs">
 <parameter_description> location to store the retrieved
 attribute list. When you are done with this list, you
-must unreference it with pango_attr_list_unref().
+must unreference it with [method@Pango.AttrList.unref].
 </parameter_description>
 </parameter>
 <parameter name="cursor_pos">
-<parameter_description> location to store position of cursor (in characters)
-within the preedit string.
+<parameter_description> location to store position of cursor
+(in characters) within the preedit string.
 </parameter_description>
 </parameter>
 </parameters>
@@ -47765,7 +47946,7 @@ that the previous client widget no longer exists.
 Notify the input method that a change in cursor
 position has been made.
 
-The location is relative to the client window.
+The location is relative to the client widget.
 
 </description>
 <parameters>
@@ -47819,8 +48000,8 @@ the preedit string should not be included within @text
 <description>
 Sets surrounding context around the insertion point and preedit
 string. This function is expected to be called in response to the
-GtkIMContext::retrieve_surrounding signal, and will likely have no
-effect if called at other times.
+[signal@Gtk.IMContext::retrieve_surrounding] signal, and will likely
+have no effect if called at other times.
 
 Since: 4.2
 
@@ -47904,6 +48085,8 @@ The table must be sorted in dictionary order on the
 numeric value of the key symbol fields. (Values beyond
 the length of the sequence should be zero.)
 
+Deprecated: 4.4: Use gtk_im_context_simple_add_compose_file()
+
 </description>
 <parameters>
 <parameter name="context_simple">
@@ -47973,6 +48156,10 @@ Sets the context id for @context.
 This causes the currently active delegate of @context to be
 replaced by the delegate corresponding to the new context id.
 
+Setting this to a non-%NULL value overrides the system-wide
+IM module setting. See the [property@Gtk.Settings:gtk-im-module]
+property.
+
 </description>
 <parameters>
 <parameter name="context">
@@ -52033,20 +52220,20 @@ This function is mainly intended for language-bindings.
 
 <function name="gtk_list_store_iter_is_valid">
 <description>
-&gt; This function is slow. Only use it for debugging and/or testing
-&gt; purposes.
-
 Checks if the given iter is a valid iter for this `GtkListStore`.
 
+This function is slow. Only use it for debugging and/or testing
+purposes.
+
 
 </description>
 <parameters>
 <parameter name="list_store">
-<parameter_description> A `GtkListStore`.
+<parameter_description> a list store
 </parameter_description>
 </parameter>
 <parameter name="iter">
-<parameter_description> A `GtkTreeIter`
+<parameter_description> the iterator to check
 </parameter_description>
 </parameter>
 </parameters>
@@ -53026,11 +53213,13 @@ to a `GFile` and calls [method@Gtk.MediaFile.set_file].
 <description>
 Pauses the media stream and marks it as ended.
 
-This is a hint only, calls to GtkMediaStream.play()
+This is a hint only, calls to [method Gtk MediaStream play]
 may still happen.
 
 The media stream must be prepared when this function is called.
 
+Deprecated: 4.4: Use [method@Gtk.MediaStream.stream_ended] instead
+
 </description>
 <parameters>
 <parameter name="self">
@@ -53410,16 +53599,9 @@ If the stream is in error or already playing, do nothing.
 
 <function name="gtk_media_stream_prepared">
 <description>
-Called by `GtkMediaStream` implementations to advertise the stream
-being ready to play and providing details about the stream.
-
-Note that the arguments are hints. If the stream implementation
-cannot determine the correct values, it is better to err on the
-side of caution and return %TRUE. User interfaces will use those
-values to determine what controls to show.
+Same as gtk_media_stream_stream_prepared().
 
-This function may not be called again until the stream has been
-reset via [method@Gtk.MediaStream.unprepared].
+Deprecated: 4.4: Use [method@Gtk.MediaStream.stream_prepared] instead.
 
 </description>
 <parameters>
@@ -53644,14 +53826,94 @@ When the stream is unmuted, the new volume setting will take effect.
 <return></return>
 </function>
 
-<function name="gtk_media_stream_unprepared">
+<function name="gtk_media_stream_stream_ended">
+<description>
+Pauses the media stream and marks it as ended.
+
+This is a hint only, calls to [method Gtk MediaStream play]
+may still happen.
+
+The media stream must be prepared when this function is called.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a `GtkMediaStream`
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_media_stream_stream_prepared">
+<description>
+Called by `GtkMediaStream` implementations to advertise the stream
+being ready to play and providing details about the stream.
+
+Note that the arguments are hints. If the stream implementation
+cannot determine the correct values, it is better to err on the
+side of caution and return %TRUE. User interfaces will use those
+values to determine what controls to show.
+
+This function may not be called again until the stream has been
+reset via [method@Gtk.MediaStream.stream_unprepared].
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a `GtkMediaStream`
+</parameter_description>
+</parameter>
+<parameter name="has_audio">
+<parameter_description> %TRUE if the stream should advertise audio support
+</parameter_description>
+</parameter>
+<parameter name="has_video">
+<parameter_description> %TRUE if the stream should advertise video support
+</parameter_description>
+</parameter>
+<parameter name="seekable">
+<parameter_description> %TRUE if the stream should advertise seekability
+</parameter_description>
+</parameter>
+<parameter name="duration">
+<parameter_description> The duration of the stream or 0 if unknown
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_media_stream_stream_unprepared">
 <description>
 Resets a given media stream implementation.
 
-[method@Gtk.MediaStream.prepared] can then be called again.
+[method@Gtk.MediaStream.stream_prepared] can then be called again.
 
 This function will also reset any error state the stream was in.
 
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a `GtkMediaStream`
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_media_stream_unprepared">
+<description>
+Same as gtk_media_stream_stream_unprepared().
+
+Deprecated: 4.4: Use [method@Gtk.MediaStream.stream_unprepared] instead.
+
 </description>
 <parameters>
 <parameter name="self">
@@ -53707,6 +53969,24 @@ The media stream must be prepared when this function is called.
 <return></return>
 </function>
 
+<function name="gtk_menu_button_get_always_show_arrow">
+<description>
+Gets whether to show a dropdown arrow even when using an icon.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="menu_button">
+<parameter_description> a `GtkMenuButton`
+</parameter_description>
+</parameter>
+</parameters>
+<return> whether to show a dropdown arrow even when using an icon
+
+</return>
+</function>
+
 <function name="gtk_menu_button_get_direction">
 <description>
 Returns the direction the popup will be pointing at when popped up.
@@ -53810,6 +54090,7 @@ returns %NULL.
 <description>
 Returns whether the menu button acts as a primary menu.
 
+Since: 4.4
 
 </description>
 <parameters>
@@ -53819,6 +54100,7 @@ Returns whether the menu button acts as a primary menu.
 </parameter>
 </parameters>
 <return> %TRUE if the button is a primary menu
+
 </return>
 </function>
 
@@ -53884,6 +54166,26 @@ Pop up the menu.
 <return></return>
 </function>
 
+<function name="gtk_menu_button_set_always_show_arrow">
+<description>
+Sets whether to show a dropdown arrow even when using an icon.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="menu_button">
+<parameter_description> a `GtkMenuButton`
+</parameter_description>
+</parameter>
+<parameter name="always_show_arrow">
+<parameter_description> hether to show a dropdown arrow even when using an icon
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_menu_button_set_create_popup_func">
 <description>
 Sets @func to be called when a popup is about to be shown.
@@ -54061,6 +54363,8 @@ Sets whether menu button acts as a primary menu.
 
 Primary menus can be opened with the &lt;kbd&gt;F10&lt;/kbd&gt; key.
 
+Since: 4.4
+
 </description>
 <parameters>
 <parameter name="menu_button">
@@ -58115,6 +58419,18 @@ See `g_param_spec_internal()` for details on the property strings.
 </return>
 </function>
 
+<function name="gtk_password_entry_buffer_new">
+<description>
+Creates a new `GtkEntryBuffer` using secure memory allocations.
+
+
+</description>
+<parameters>
+</parameters>
+<return> the newly created instance
+</return>
+</function>
+
 <function name="gtk_password_entry_get_extra_menu">
 <description>
 Gets the menu model set with gtk_password_entry_set_extra_menu().
@@ -59044,8 +59360,8 @@ Presents the popover to the user.
 Sets whether @popover is modal.
 
 A modal popover will grab the keyboard focus on it when being
-displayed. Clicking outside the popover area or pressing Esc
-will dismiss the popover.
+displayed. Focus will wrap around within the popover. Clicking
+outside the popover area or pressing Esc will dismiss the popover.
 
 Called this function on an already showing popup with a new
 autohide value different from the current one, will cause the
@@ -75686,6 +76002,43 @@ function [method@Gtk.TextBuffer.create_child_anchor].
 </return>
 </function>
 
+<function name="gtk_text_compute_cursor_extents">
+<description>
+Determine the positions of the strong and weak cursors if the
+insertion point in the layout is at @position.
+
+The position of each cursor is stored as a zero-width rectangle.
+The strong cursor location is the location where characters of
+the directionality equal to the base direction are inserted.
+The weak cursor location is the location where characters of
+the directionality opposite to the base direction are inserted.
+
+The rectangle positions are in widget coordinates.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a `GtkText`
+</parameter_description>
+</parameter>
+<parameter name="position">
+<parameter_description> the character position
+</parameter_description>
+</parameter>
+<parameter name="strong">
+<parameter_description> location to store the strong cursor position
+</parameter_description>
+</parameter>
+<parameter name="weak">
+<parameter_description> location to store the weak cursor position
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_text_get_activates_default">
 <description>
 Returns whether pressing Enter will activate
@@ -79917,6 +80270,27 @@ coordinates with [method@Gtk.TextView.buffer_to_window_coords].
 <return></return>
 </function>
 
+<function name="gtk_text_view_get_ltr_context">
+<description>
+Gets the `PangoContext` that is used for rendering LTR directed
+text layouts.
+
+The context may be replaced when CSS changes occur.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="text_view">
+<parameter_description> a `GtkTextView`
+</parameter_description>
+</parameter>
+</parameters>
+<return> a `PangoContext`
+
+</return>
+</function>
+
 <function name="gtk_text_view_get_monospace">
 <description>
 Gets whether the `GtkTextView` uses monospace styling.
@@ -80022,6 +80396,27 @@ Tags in the buffer may override the default.
 </return>
 </function>
 
+<function name="gtk_text_view_get_rtl_context">
+<description>
+Gets the `PangoContext` that is used for rendering RTL directed
+text layouts.
+
+The context may be replaced when CSS changes occur.
+
+Since: 4.4
+
+</description>
+<parameters>
+<parameter name="text_view">
+<parameter_description> a `GtkTextView`
+</parameter_description>
+</parameter>
+</parameters>
+<return> a `PangoContext`
+
+</return>
+</function>
+
 <function name="gtk_text_view_get_tabs">
 <description>
 Gets the default tabs for @text_view.
@@ -84646,20 +85041,20 @@ for anything down a level, etc.
 
 <function name="gtk_tree_store_iter_is_valid">
 <description>
-WARNING: This function is slow. Only use it for debugging and/or testing
-purposes.
-
 Checks if the given iter is a valid iter for this `GtkTreeStore`.
 
+This function is slow. Only use it for debugging and/or testing
+purposes.
+
 
 </description>
 <parameters>
 <parameter name="tree_store">
-<parameter_description> A `GtkTreeStore`.
+<parameter_description> a tree store 
 </parameter_description>
 </parameter>
 <parameter name="iter">
-<parameter_description> A `GtkTreeIter`.
+<parameter_description> the iterator to check
 </parameter_description>
 </parameter>
 </parameters>
@@ -91786,9 +92181,9 @@ Determines if the widget is the focus widget within its
 toplevel.
 
 This does not mean that the [property@Gtk.Widget:has-focus]
-property is necessarily set; [property@Gtk,Widget:has-focus]
+property is necessarily set; [property@Gtk.Widget:has-focus]
 will only be set if the toplevel widget additionally has the
-global input focus.)
+global input focus.
 
 
 </description>
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 3463bc19..1d9f4dd7 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -7231,23 +7231,32 @@
   )
 )
 
-(define-function gtk_compose_table_list_add_array
-  (c-name "gtk_compose_table_list_add_array")
-  (return-type "GSList*")
+(define-function gtk_compose_table_parse
+  (c-name "gtk_compose_table_parse")
+  (return-type "GtkComposeTable*")
+  (parameters
+    '("const-char*" "compose_file")
+    '("gboolean*" "found_include")
+  )
+)
+
+(define-function gtk_compose_table_new_with_data
+  (c-name "gtk_compose_table_new_with_data")
+  (return-type "GtkComposeTable*")
   (parameters
-    '("GSList*" "compose_tables")
     '("const-guint16*" "data")
     '("int" "max_seq_len")
     '("int" "n_seqs")
   )
 )
 
-(define-function gtk_compose_table_list_add_file
-  (c-name "gtk_compose_table_list_add_file")
-  (return-type "GSList*")
+(define-method foreach
+  (of-object "GtkComposeTable")
+  (c-name "gtk_compose_table_foreach")
+  (return-type "none")
   (parameters
-    '("GSList*" "compose_tables")
-    '("const-char*" "compose_file")
+    '("GtkComposeSequenceCallback" "callback")
+    '("gpointer" "data")
   )
 )
 
@@ -7256,7 +7265,7 @@
   (c-name "gtk_compose_table_check")
   (return-type "gboolean")
   (parameters
-    '("const-guint16*" "compose_buffer")
+    '("const-guint*" "compose_buffer")
     '("int" "n_compose")
     '("gboolean*" "compose_finish")
     '("gboolean*" "compose_match")
@@ -7264,16 +7273,14 @@
   )
 )
 
-(define-method check
-  (of-object "GtkComposeTableCompact")
-  (c-name "gtk_compose_table_compact_check")
-  (return-type "gboolean")
+(define-method get_prefix
+  (of-object "GtkComposeTable")
+  (c-name "gtk_compose_table_get_prefix")
+  (return-type "none")
   (parameters
-    '("const-guint16*" "compose_buffer")
+    '("const-guint*" "compose_buffer")
     '("int" "n_compose")
-    '("gboolean*" "compose_finish")
-    '("gboolean*" "compose_match")
-    '("gunichar*" "output_char")
+    '("int*" "prefix")
   )
 )
 
@@ -7281,9 +7288,19 @@
   (c-name "gtk_check_algorithmically")
   (return-type "gboolean")
   (parameters
-    '("const-guint16*" "compose_buffer")
+    '("const-guint*" "compose_buffer")
     '("int" "n_compose")
-    '("gunichar*" "output")
+    '("GString*" "output")
+  )
+)
+
+(define-function gtk_compose_table_data_hash
+  (c-name "gtk_compose_table_data_hash")
+  (return-type "guint32")
+  (parameters
+    '("const-guint16*" "data")
+    '("int" "max_seq_len")
+    '("int" "n_seqs")
   )
 )
 
@@ -8424,6 +8441,12 @@
   (return-type "GdkDrop*")
 )
 
+(define-method get_current_drop
+  (of-object "GtkDropTarget")
+  (c-name "gtk_drop_target_get_current_drop")
+  (return-type "GdkDrop*")
+)
+
 (define-method get_value
   (of-object "GtkDropTarget")
   (c-name "gtk_drop_target_get_value")
@@ -10520,6 +10543,15 @@
   )
 )
 
+(define-method add_suffix
+  (of-object "GtkFileFilter")
+  (c-name "gtk_file_filter_add_suffix")
+  (return-type "none")
+  (parameters
+    '("const-char*" "suffix")
+  )
+)
+
 (define-method add_pixbuf_formats
   (of-object "GtkFileFilter")
   (c-name "gtk_file_filter_add_pixbuf_formats")
@@ -15745,6 +15777,24 @@
   (return-type "none")
 )
 
+(define-method stream_prepared
+  (of-object "GtkMediaStream")
+  (c-name "gtk_media_stream_stream_prepared")
+  (return-type "none")
+  (parameters
+    '("gboolean" "has_audio")
+    '("gboolean" "has_video")
+    '("gboolean" "seekable")
+    '("gint64" "duration")
+  )
+)
+
+(define-method stream_unprepared
+  (of-object "GtkMediaStream")
+  (c-name "gtk_media_stream_stream_unprepared")
+  (return-type "none")
+)
+
 (define-method update
   (of-object "GtkMediaStream")
   (c-name "gtk_media_stream_update")
@@ -15760,6 +15810,12 @@
   (return-type "none")
 )
 
+(define-method stream_ended
+  (of-object "GtkMediaStream")
+  (c-name "gtk_media_stream_stream_ended")
+  (return-type "none")
+)
+
 (define-method seek_success
   (of-object "GtkMediaStream")
   (c-name "gtk_media_stream_seek_success")
@@ -15880,6 +15936,21 @@
   (return-type "const-char*")
 )
 
+(define-method set_always_show_arrow
+  (of-object "GtkMenuButton")
+  (c-name "gtk_menu_button_set_always_show_arrow")
+  (return-type "none")
+  (parameters
+    '("gboolean" "always_show_arrow")
+  )
+)
+
+(define-method get_always_show_arrow
+  (of-object "GtkMenuButton")
+  (c-name "gtk_menu_button_get_always_show_arrow")
+  (return-type "gboolean")
+)
+
 (define-method set_label
   (of-object "GtkMenuButton")
   (c-name "gtk_menu_button_set_label")
@@ -15948,6 +16019,21 @@
   )
 )
 
+(define-method set_primary
+  (of-object "GtkMenuButton")
+  (c-name "gtk_menu_button_set_primary")
+  (return-type "none")
+  (parameters
+    '("gboolean" "primary")
+  )
+)
+
+(define-method get_primary
+  (of-object "GtkMenuButton")
+  (c-name "gtk_menu_button_get_primary")
+  (return-type "gboolean")
+)
+
 
 
 ;; From gtkmessagedialog.h
@@ -17629,6 +17715,16 @@
 
 
 
+;; From gtkpasswordentrybuffer.h
+
+(define-function gtk_password_entry_buffer_new
+  (c-name "gtk_password_entry_buffer_new")
+  (is-constructor-of "GtkPasswordEntryBuffer")
+  (return-type "GtkEntryBuffer*")
+)
+
+
+
 ;; From gtkpasswordentry.h
 
 (define-function gtk_password_entry_get_type
@@ -25321,6 +25417,17 @@
   (return-type "gboolean")
 )
 
+(define-method compute_cursor_extents
+  (of-object "GtkText")
+  (c-name "gtk_text_compute_cursor_extents")
+  (return-type "none")
+  (parameters
+    '("gsize" "position")
+    '("graphene_rect_t*" "strong")
+    '("graphene_rect_t*" "weak")
+  )
+)
+
 
 
 ;; From gtktextiter.h
@@ -26837,6 +26944,18 @@
   (return-type "GMenuModel*")
 )
 
+(define-method get_rtl_context
+  (of-object "GtkTextView")
+  (c-name "gtk_text_view_get_rtl_context")
+  (return-type "PangoContext*")
+)
+
+(define-method get_ltr_context
+  (of-object "GtkTextView")
+  (c-name "gtk_text_view_get_ltr_context")
+  (return-type "PangoContext*")
+)
+
 
 
 ;; From gtktogglebutton.h
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index ed48f65c..c24dda9a 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -334,6 +334,12 @@
   )
 )
 
+(define-signal activate
+  (of-object "GtkAppChooserButton")
+  (return-type "void")
+  (flags "Run First, Action")
+)
+
 (define-property show-dialog-item
   (of-object "GtkAppChooserButton")
   (prop-type "GParamBoolean")
@@ -930,11 +936,11 @@
 (define-property day
   (of-object "GtkCalendar")
   (prop-type "GParamInt")
-  (docs "The selected day (as a number between 1 and 31, or 0 to unselect the currently selected day)")
+  (docs "The selected day (as a number between 1 and 31)")
   (readable #t)
   (writable #t)
   (construct-only #f)
-  (default-value "0")
+  (default-value "1")
 )
 
 (define-property show-heading
@@ -2250,6 +2256,12 @@
 
 ;; From GtkColorButton
 
+(define-signal activate
+  (of-object "GtkColorButton")
+  (return-type "void")
+  (flags "Run First, Action")
+)
+
 (define-signal color-set
   (of-object "GtkColorButton")
   (return-type "void")
@@ -2604,7 +2616,7 @@
 (define-property entry-text-column
   (of-object "GtkComboBox")
   (prop-type "GParamInt")
-  (docs "The column in the combo box’s model to associate with strings from the entry if the combo was 
created with #GtkComboBox:has-entry = %TRUE")
+  (docs "The column in the combo box’s model to associate with strings from the entry if the combo was 
created with GtkComboBox:has-entry = %TRUE")
   (readable #t)
   (writable #t)
   (construct-only #f)
@@ -3245,6 +3257,15 @@
   (default-value "0")
 )
 
+(define-property current-drop
+  (of-object "GtkDropTarget")
+  (prop-type "GParamObject")
+  (docs "Current drop")
+  (readable #t)
+  (writable #f)
+  (construct-only #f)
+)
+
 (define-property drop
   (of-object "GtkDropTarget")
   (prop-type "GParamObject")
@@ -3252,6 +3273,7 @@
   (readable #t)
   (writable #f)
   (construct-only #f)
+  (deprecated #t)
 )
 
 (define-property formats
@@ -3259,8 +3281,8 @@
   (prop-type "GParamBoxed")
   (docs "The supported formats")
   (readable #t)
-  (writable #f)
-  (construct-only #f)
+  (writable #t)
+  (construct-only #t)
 )
 
 (define-property preload
@@ -4775,6 +4797,12 @@
 
 ;; From GtkFontButton
 
+(define-signal activate
+  (of-object "GtkFontButton")
+  (return-type "void")
+  (flags "Run First, Action")
+)
+
 (define-signal font-set
   (of-object "GtkFontButton")
   (return-type "void")
@@ -6842,6 +6870,12 @@
 
 ;; From GtkMenuButton
 
+(define-signal activate
+  (of-object "GtkMenuButton")
+  (return-type "void")
+  (flags "Run First, Action")
+)
+
 (define-property menu-model
   (of-object "GtkMenuButton")
   (prop-type "GParamObject")
@@ -6880,6 +6914,16 @@
   (default-value "")
 )
 
+(define-property always-show-arrow
+  (of-object "GtkMenuButton")
+  (prop-type "GParamBoolean")
+  (docs "Whether to show a dropdown arrow even when using an icon")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+  (default-value "FALSE")
+)
+
 (define-property label
   (of-object "GtkMenuButton")
   (prop-type "GParamString")
@@ -6910,6 +6954,16 @@
   (default-value "TRUE")
 )
 
+(define-property primary
+  (of-object "GtkMenuButton")
+  (prop-type "GParamBoolean")
+  (docs "Whether the menubutton acts as a primary menu")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+  (default-value "FALSE")
+)
+
 ;; From GtkMessageDialog
 
 (define-property message-type
@@ -9133,7 +9187,7 @@
   (readable #t)
   (writable #t)
   (construct-only #f)
-  (default-value "TRUE")
+  (default-value "FALSE")
 )
 
 (define-property gtk-cursor-aspect-ratio
@@ -9153,7 +9207,7 @@
   (readable #t)
   (writable #t)
   (construct-only #f)
-  (default-value "Adwaita")
+  (default-value "Default")
 )
 
 (define-property gtk-icon-theme-name
@@ -10322,7 +10376,7 @@
   (docs "The name of the child page")
   (readable #t)
   (writable #t)
-  (construct-only #t)
+  (construct-only #f)
   (default-value "")
 )
 
diff --git a/gtk/src/gtk_signals.defs.patch b/gtk/src/gtk_signals.defs.patch
index 97013611..ff9a5db2 100644
--- a/gtk/src/gtk_signals.defs.patch
+++ b/gtk/src/gtk_signals.defs.patch
@@ -1,6 +1,6 @@
---- ./../../gtk/src/gtk_signals.defs.orig      2020-03-09 10:31:50.493450723 +0100
-+++ ./../../gtk/src/gtk_signals.defs   2020-03-09 16:01:03.199478606 +0100
-@@ -2275,11 +2275,11 @@
+--- ./../../gtk/src/gtk_signals.defs.orig      2021-09-07 10:03:29.612225215 +0200
++++ ./../../gtk/src/gtk_signals.defs   2021-09-07 15:43:30.794396769 +0200
+@@ -2303,11 +2303,11 @@
  (define-signal color-activated
    (of-object "GtkColorChooser")
    (return-type "void")
@@ -13,7 +13,7 @@
  
  (define-property rgba
    (of-object "GtkColorChooser")
-@@ -2341,11 +2341,11 @@
+@@ -2545,11 +2545,11 @@
    (flags "Run Last, Action")
  )
  
@@ -26,7 +26,7 @@
      '("const-gchar*" "p0")
    )
  )
-@@ -2686,11 +2686,11 @@
+@@ -2879,11 +2879,11 @@
    (of-object "GtkCssProvider")
    (return-type "void")
    (flags "Run Last")
@@ -39,7 +39,7 @@
  
  ;; From GtkDialog
  
-@@ -2874,11 +2874,11 @@
+@@ -3204,11 +3204,11 @@
  (define-signal drop
    (of-object "GtkDropTarget")
    (return-type "gboolean")
@@ -52,7 +52,20 @@
    )
  )
  
-@@ -7397,11 +7397,11 @@
+@@ -4212,11 +4212,11 @@
+ (define-signal event
+   (of-object "GtkEventControllerLegacy")
+   (return-type "gboolean")
+   (flags "Run Last")
+   (parameters
+-    '("GdkEvent" "p0")
++    '("GdkEvent*" "p0")
+   )
+ )
+ 
+ ;; From GtkEventControllerMotion
+ 
+@@ -8097,11 +8097,11 @@
    )
  )
  
@@ -65,7 +78,7 @@
  
  (define-signal update-custom-widget
    (of-object "GtkPrintOperation")
-@@ -9249,11 +9249,11 @@
+@@ -10172,11 +10172,11 @@
  (define-signal input
    (of-object "GtkSpinButton")
    (return-type "gint")
@@ -78,7 +91,7 @@
  
  (define-signal output
    (of-object "GtkSpinButton")
-@@ -9924,11 +9924,11 @@
+@@ -10921,11 +10921,11 @@
  (define-signal mark-set
    (of-object "GtkTextBuffer")
    (return-type "void")
@@ -91,7 +104,7 @@
  )
  
  (define-signal mark-deleted
-@@ -9944,23 +9944,23 @@
+@@ -10941,23 +10941,23 @@
    (of-object "GtkTextBuffer")
    (return-type "void")
    (flags "Run Last")
@@ -119,7 +132,7 @@
  
  (define-signal begin-user-action
    (of-object "GtkTextBuffer")
-@@ -11232,11 +11232,11 @@
+@@ -12348,11 +12348,11 @@
    (return-type "void")
    (flags "Run First")
    (parameters
@@ -130,5 +143,5 @@
    )
  )
  
- ;; From GtkTreeSelection
+ ;; From GtkTreeListModel
  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]