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



commit 23746870584566228866ceb94cacbd3063803dda
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Wed Oct 28 18:36:02 2020 +0100

    Gdk, Gtk: Regenerate docs.xml and .defs files
    
    and update gtk_extra_objects.defs.

 gdk/src/gdk_docs.xml           |  76 -----------
 gtk/src/gtk_docs.xml           | 297 +++++++++++++++++++++++++++++------------
 gtk/src/gtk_extra_objects.defs |  12 ++
 gtk/src/gtk_methods.defs       |  74 ++++++++--
 gtk/src/gtk_signals.defs       |  12 +-
 5 files changed, 296 insertions(+), 175 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 5ef3181d..af47d090 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -5552,24 +5552,6 @@ this function will return %NULL.
 </return>
 </function>
 
-<function name="gdk_display_get_event">
-<description>
-Gets the next #GdkEvent to be processed for @display, fetching events from the
-windowing system if necessary.
-
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> the next #GdkEvent to be processed,
-or %NULL if no events are pending
-</return>
-</function>
-
 <function name="gdk_display_get_keymap">
 <description>
 Returns the #GdkKeymap attached to @display.
@@ -5708,23 +5690,6 @@ if no ID has been defined.
 </return>
 </function>
 
-<function name="gdk_display_has_pending">
-<description>
-Returns whether the display has events that are waiting
-to be processed.
-
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if there are events ready to be processed.
-</return>
-</function>
-
 <function name="gdk_display_is_closed">
 <description>
 Finds out if the display has been closed.
@@ -6027,26 +5992,6 @@ display could not be opened
 </return>
 </function>
 
-<function name="gdk_display_peek_event">
-<description>
-Gets a copy of the first #GdkEvent in the @display’s event queue, without
-removing the event from the queue.  (Note that this function will
-not get more events from the windowing system.  It only checks the events
-that have already been moved to the GDK event queue.)
-
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> a #GdkDisplay 
-</parameter_description>
-</parameter>
-</parameters>
-<return> the first #GdkEvent on the
-event queue
-</return>
-</function>
-
 <function name="gdk_display_put_event">
 <description>
 Appends the given event onto the front of the event
@@ -14701,27 +14646,6 @@ relative to it using gdk_popup_present().
 </return>
 </function>
 
-<function name="gdk_surface_new_temp">
-<description>
-Creates a new temporary surface.
-The surface will bypass surface management.
-
-
-</description>
-<parameters>
-<parameter name="display">
-<parameter_description> the display to create the surface on
-</parameter_description>
-</parameter>
-<parameter name="position">
-<parameter_description> position of the surface on screen
-</parameter_description>
-</parameter>
-</parameters>
-<return> the new #GdkSurface
-</return>
-</function>
-
 <function name="gdk_surface_new_toplevel">
 <description>
 Creates a new toplevel surface.
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 1e0d98f0..fc84c67d 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -31,6 +31,13 @@ set or retrieved.
 </description>
 </property>
 
+<property name="GtkATContext:display">
+<description>
+The #GdkDisplay for the #GtkATContext.
+
+</description>
+</property>
+
 <signal name="GtkAboutDialog::activate-link">
 <description>
 The signal which gets emitted to activate a URI.
@@ -547,7 +554,7 @@ three possible values: `true`, `false`, or `mixed`
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_COLUMN_HEADER">
-<parameter_description> Unused
+<parameter_description> A header in a columned list.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_COMBO_BOX">
@@ -557,12 +564,11 @@ set the value of the input
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_COMMAND">
-<parameter_description> An abstract widget that performs an
-action, but does not receive input
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_COMPOSITE">
-<parameter_description> Unused
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_DIALOG">
@@ -588,11 +594,11 @@ information or require a response.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_GRID">
-<parameter_description> Unused
+<parameter_description> A grid of items.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_GRID_CELL">
-<parameter_description> Unused
+<parameter_description> An item in a grid or tree grid.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_GROUP">
@@ -608,7 +614,7 @@ information or require a response.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_INPUT">
-<parameter_description> Unused
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_LABEL">
@@ -616,7 +622,7 @@ information or require a response.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_LANDMARK">
-<parameter_description> Unused
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_LEGEND">
@@ -624,19 +630,19 @@ information or require a response.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_LINK">
-<parameter_description> Unused
+<parameter_description> A clickable link.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_LIST">
-<parameter_description> Unused
+<parameter_description> A list of items.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_LIST_BOX">
-<parameter_description> Unused
+<parameter_description> Unused.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_LIST_ITEM">
-<parameter_description> Unused
+<parameter_description> An item in a list.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_LOG">
@@ -660,23 +666,23 @@ information or require a response.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_MENU">
-<parameter_description> Unused
+<parameter_description> A menu.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_MENU_BAR">
-<parameter_description> Unused
+<parameter_description> A menubar.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_MENU_ITEM">
-<parameter_description> Unused
+<parameter_description> An item in a menu.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_MENU_ITEM_CHECKBOX">
-<parameter_description> Unused
+<parameter_description> A check item in a menu.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_MENU_ITEM_RADIO">
-<parameter_description> Unused
+<parameter_description> A radio item in a menu.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_NAVIGATION">
@@ -684,7 +690,7 @@ information or require a response.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_NONE">
-<parameter_description> Unused
+<parameter_description> An element that is not represented to accessibility technologies.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_NOTE">
@@ -696,7 +702,7 @@ information or require a response.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_PRESENTATION">
-<parameter_description> Unused
+<parameter_description> An element that is not represented to accessibility technologies.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_PROGRESS_BAR">
@@ -714,7 +720,7 @@ only one of which can be checked at a time.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_RANGE">
-<parameter_description> Unused
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_REGION">
@@ -722,7 +728,7 @@ only one of which can be checked at a time.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_ROW">
-<parameter_description> Unused
+<parameter_description> A row in a columned list.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_ROW_GROUP">
@@ -749,15 +755,15 @@ search criteria.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_SECTION">
-<parameter_description> Unused
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_SECTION_HEAD">
-<parameter_description> Unused
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_SELECT">
-<parameter_description> Unused
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_SEPARATOR">
@@ -780,7 +786,7 @@ select from among discrete choices.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_STRUCTURE">
-<parameter_description> Unused
+<parameter_description> Abstract role.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_SWITCH">
@@ -789,7 +795,7 @@ as opposed to checked/unchecked values.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_TAB">
-<parameter_description> Unused
+<parameter_description> An item in a list of tab used for switching pages.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_TABLE">
@@ -797,11 +803,11 @@ as opposed to checked/unchecked values.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_TAB_LIST">
-<parameter_description> Unused
+<parameter_description> A list of tabs for switching pages.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_TAB_PANEL">
-<parameter_description> Unused
+<parameter_description> A page in a notebook or stack.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_TEXT_BOX">
@@ -830,7 +836,7 @@ as its value.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_TREE_GRID">
-<parameter_description> Unused
+<parameter_description> A treeview-like, columned list.
 </parameter_description>
 </parameter>
 <parameter name="GTK_ACCESSIBLE_ROLE_TREE_ITEM">
@@ -16579,8 +16585,6 @@ gtk_widget_set_size_request() for example.
 The requested opacity of the widget. See gtk_widget_set_opacity() for
 more details about window opacity.
 
-Before 3.8 this was only available in GtkWindow
-
 </description>
 </property>
 
@@ -20731,8 +20735,8 @@ affects the future page flow of the assistant.
 
 <function name="gtk_at_context_create">
 <description>
-Creates a new #GtkATContext instance for the given accessible role and
-accessible instance.
+Creates a new #GtkATContext instance for the given accessible role,
+accessible instance, and display connection.
 
 The #GtkATContext implementation being instantiated will depend on the
 platform.
@@ -20748,6 +20752,10 @@ platform.
 <parameter_description> the #GtkAccessible implementation using the #GtkATContext
 </parameter_description>
 </parameter>
+<parameter name="display">
+<parameter_description> the #GdkDisplay used by the #GtkATContext
+</parameter_description>
+</parameter>
 </parameters>
 <return> the #GtkATContext
 </return>
@@ -32902,6 +32910,23 @@ implementation and should be freed by the caller.
 </return>
 </function>
 
+<function name="gtk_editable_get_delegate">
+<description>
+Gets the #GtkEditable that @editable is delegating its
+implementation to. Typically, the delegate is a #GtkText widget.
+
+
+</description>
+<parameters>
+<parameter name="editable">
+<parameter_description> a #GtkEditable
+</parameter_description>
+</parameter>
+</parameters>
+<return> the delegate #GtkEditable
+</return>
+</function>
+
 <function name="gtk_editable_get_editable">
 <description>
 Retrieves whether @editable is editable.
@@ -42398,6 +42423,9 @@ Checks if the icon is symbolic or not. This currently uses only
 the file name and not the file contents for determining this.
 This behaviour may change in the future.
 
+Note that to render a symbolic #GtkIconPaintable properly (with
+recoloring), you have to set its icon name on a #GtkImage.
+
 
 </description>
 <parameters>
@@ -55000,6 +55028,22 @@ implications of this.
 </return>
 </function>
 
+<function name="gtk_popover_get_cascade_popdown">
+<description>
+Returns whether the popover will close after a modal child is closed.
+
+
+</description>
+<parameters>
+<parameter name="popover">
+<parameter_description> a #GtkPopover
+</parameter_description>
+</parameter>
+</parameters>
+<return> #TRUE if @popover will close after a modal child.
+</return>
+</function>
+
 <function name="gtk_popover_get_child">
 <description>
 Gets the child widget of @popover.
@@ -55110,6 +55154,60 @@ Returns the preferred position of @popover.
 </return>
 </function>
 
+<function name="gtk_popover_menu_add_child">
+<description>
+Adds a custom widget to a generated menu.
+
+For this to work, the menu model of @popover must have an
+item with a `custom` attribute that matches @id.
+
+
+</description>
+<parameters>
+<parameter name="popover">
+<parameter_description> a #GtkPopoverMenu
+</parameter_description>
+</parameter>
+<parameter name="child">
+<parameter_description> the #GtkWidget to add
+</parameter_description>
+</parameter>
+<parameter name="id">
+<parameter_description> the ID to insert @child at
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if @id was found and the widget added
+</return>
+</function>
+
+<function name="gtk_popover_menu_bar_add_child">
+<description>
+Adds a custom widget to a generated menubar.
+
+For this to work, the menu model of @bar must have an
+item with a `custom` attribute that matches @id.
+
+
+</description>
+<parameters>
+<parameter name="bar">
+<parameter_description> a #GtkPopoverMenuBar
+</parameter_description>
+</parameter>
+<parameter name="child">
+<parameter_description> the #GtkWidget to add
+</parameter_description>
+</parameter>
+<parameter name="id">
+<parameter_description> the ID to insert @child at
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if @id was found and the widget added
+</return>
+</function>
+
 <function name="gtk_popover_menu_bar_get_menu_model">
 <description>
 Returns the model from which the contents of @bar are taken.
@@ -55142,6 +55240,27 @@ Creates a #GtkPopoverMenuBar from a #GMenuModel.
 </return>
 </function>
 
+<function name="gtk_popover_menu_bar_remove_child">
+<description>
+Removes a widget that has previously been added with
+gtk_popover_menu_bar_add_child().
+
+
+</description>
+<parameters>
+<parameter name="bar">
+<parameter_description> a #GtkPopoverMenuBar
+</parameter_description>
+</parameter>
+<parameter name="child">
+<parameter_description> the #GtkWidget to remove
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the widget was removed
+</return>
+</function>
+
 <function name="gtk_popover_menu_bar_set_menu_model">
 <description>
 Sets a menu model from which @bar should take
@@ -55249,6 +55368,27 @@ nested submenus instead of the default sliding submenus.
 </return>
 </function>
 
+<function name="gtk_popover_menu_remove_child">
+<description>
+Removes a widget that has previously been added with
+gtk_popover_menu_add_child().
+
+
+</description>
+<parameters>
+<parameter name="popover">
+<parameter_description> a #GtkPopoverMenu
+</parameter_description>
+</parameter>
+<parameter name="child">
+<parameter_description> the #GtkWidget to remove
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the widget was removed
+</return>
+</function>
+
 <function name="gtk_popover_menu_set_menu_model">
 <description>
 Sets a new menu model on @popover.
@@ -55340,6 +55480,25 @@ different from the current one, will cause the popup to be hidden.
 <return></return>
 </function>
 
+<function name="gtk_popover_set_cascade_popdown">
+<description>
+If @cascade_popdown is #TRUE, the popover will be closed when a child
+modal popover is closed. If #FALSE, @popover will stay visible.
+
+</description>
+<parameters>
+<parameter name="popover">
+<parameter_description> A #GtkPopover
+</parameter_description>
+</parameter>
+<parameter name="cascade_popdown">
+<parameter_description> #TRUE if the popover should follow a child closing
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_popover_set_child">
 <description>
 Sets the child widget of @popover.
@@ -61538,44 +61697,6 @@ drawing on displays with high pixel densities.
 <return></return>
 </function>
 
-<function name="gtk_render_insertion_cursor">
-<description>
-Draws a text caret on @cr at the specified index of @layout.
-
-</description>
-<parameters>
-<parameter name="context">
-<parameter_description> a #GtkStyleContext
-</parameter_description>
-</parameter>
-<parameter name="cr">
-<parameter_description> a #cairo_t
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> X origin
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> Y origin
-</parameter_description>
-</parameter>
-<parameter name="layout">
-<parameter_description> the #PangoLayout of the text
-</parameter_description>
-</parameter>
-<parameter name="index">
-<parameter_description> the index in the #PangoLayout
-</parameter_description>
-</parameter>
-<parameter name="direction">
-<parameter_description> the #PangoDirection of the text
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gtk_render_layout">
 <description>
 Renders @layout on the coordinates @x, @y
@@ -71792,7 +71913,7 @@ See gtk_text_set_visibility().
 Causes @self to have keyboard focus.
 
 It behaves like gtk_widget_grab_focus(),
-except that it doesn't select the contents of the self.
+except that it doesn't select the contents of @self.
 You only want to call this on some special entries
 which the user usually doesn't want to replace all text in,
 such as search-as-you-type entries.
@@ -88285,19 +88406,27 @@ of alphanumeric symbols, dashes and underscores will suffice.
 
 <function name="gtk_widget_set_opacity">
 <description>
-Request the @widget to be rendered partially transparent,
-with opacity 0 being fully transparent and 1 fully opaque. (Opacity values
-are clamped to the [0,1] range.).
-This works on both toplevel widget, and child widgets, although there
-are some limitations:
+Request the @widget to be rendered partially transparent, with
+opacity 0 being fully transparent and 1 fully opaque. (Opacity
+values are clamped to the [0,1] range).
 
-For toplevel widgets this depends on the capabilities of the windowing
-system. On X11 this has any effect only on X displays with a compositing manager
-running. See gdk_display_is_composited(). On Windows it should work
-always, although setting a window’s opacity after the window has been
-shown causes it to flicker once on Windows.
+Opacity works on both toplevel widgets and child widgets, although
+there are some limitations: For toplevel widgets, applying opacity
+depends on the capabilities of the windowing system. On X11, this
+has any effect only on X displays with a compositing manager,
+see gdk_display_is_composited(). On Windows and Wayland it should
+always work, although setting a window’s opacity after the window
+has been shown may cause some flicker.
 
-For child widgets it doesn’t work if any affected widget has a native window.
+Note that the opacity is inherited through inclusion — if you set
+a toplevel to be partially translucent, all of its content will
+appear translucent, since it is ultimatively rendered on that
+toplevel. The opacity value itself is not inherited by child
+widgets (since that would make widgets deeper in the hierarchy
+progressively more translucent). As a consequence, #GtkPopovers
+and other #GtkNative widgets with their own surface will use their
+own opacity value, and thus by default appear non-translucent,
+even if they are attached to a toplevel that is translucent.
 
 </description>
 <parameters>
@@ -88869,7 +88998,7 @@ gtk_window_controls_set_decoration_layout().
 </parameter_description>
 </parameter>
 </parameters>
-<return> the decoration layout
+<return> the decoration layout or %NULL if it is unset
 </return>
 </function>
 
diff --git a/gtk/src/gtk_extra_objects.defs b/gtk/src/gtk_extra_objects.defs
index 72766769..9daa5483 100644
--- a/gtk/src/gtk_extra_objects.defs
+++ b/gtk/src/gtk_extra_objects.defs
@@ -442,6 +442,18 @@
   (gtype-id "GTK_TYPE_PLACES_SIDEBAR")
 )
 
+(define-object PopoverMenu
+  (in-module "Gtk")
+  (c-name "GtkPopoverMenu")
+  (gtype-id "GTK_TYPE_POPOVER_MENU")
+)
+
+(define-object PopoverMenuBar
+  (in-module "Gtk")
+  (c-name "GtkPopoverMenuBar")
+  (gtype-id "GTK_TYPE_POPOVER_MENU_BAR")
+)
+
 (define-object PrintContext
   (in-module "Gtk")
   (c-name "GtkPrintContext")
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 76f85d14..10e62c06 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -3624,6 +3624,7 @@
   (parameters
     '("GtkAccessibleRole" "accessible_role")
     '("GtkAccessible*" "accessible")
+    '("GdkDisplay*" "display")
   )
 )
 
@@ -8595,6 +8596,12 @@
   )
 )
 
+(define-method get_delegate
+  (of-object "GtkEditable")
+  (c-name "gtk_editable_get_delegate")
+  (return-type "GtkEditable*")
+)
+
 (define-method init_delegate
   (of-object "GtkEditable")
   (c-name "gtk_editable_init_delegate")
@@ -17985,6 +17992,21 @@
   )
 )
 
+(define-method set_cascade_popdown
+  (of-object "GtkPopover")
+  (c-name "gtk_popover_set_cascade_popdown")
+  (return-type "none")
+  (parameters
+    '("gboolean" "cascade_popdown")
+  )
+)
+
+(define-method get_cascade_popdown
+  (of-object "GtkPopover")
+  (c-name "gtk_popover_get_cascade_popdown")
+  (return-type "gboolean")
+)
+
 (define-method set_default_widget
   (of-object "GtkPopover")
   (c-name "gtk_popover_set_default_widget")
@@ -18026,6 +18048,25 @@
   (return-type "GMenuModel*")
 )
 
+(define-method add_child
+  (of-object "GtkPopoverMenuBar")
+  (c-name "gtk_popover_menu_bar_add_child")
+  (return-type "gboolean")
+  (parameters
+    '("GtkWidget*" "child")
+    '("const-char*" "id")
+  )
+)
+
+(define-method remove_child
+  (of-object "GtkPopoverMenuBar")
+  (c-name "gtk_popover_menu_bar_remove_child")
+  (return-type "gboolean")
+  (parameters
+    '("GtkWidget*" "child")
+  )
+)
+
 
 
 ;; From gtkpopovermenu.h
@@ -18067,6 +18108,25 @@
   (return-type "GMenuModel*")
 )
 
+(define-method add_child
+  (of-object "GtkPopoverMenu")
+  (c-name "gtk_popover_menu_add_child")
+  (return-type "gboolean")
+  (parameters
+    '("GtkWidget*" "child")
+    '("const-char*" "id")
+  )
+)
+
+(define-method remove_child
+  (of-object "GtkPopoverMenu")
+  (c-name "gtk_popover_menu_remove_child")
+  (return-type "gboolean")
+  (parameters
+    '("GtkWidget*" "child")
+  )
+)
+
 
 
 ;; From gtkprintcontext.h
@@ -24081,20 +24141,6 @@
   )
 )
 
-(define-function gtk_render_insertion_cursor
-  (c-name "gtk_render_insertion_cursor")
-  (return-type "none")
-  (parameters
-    '("GtkStyleContext*" "context")
-    '("cairo_t*" "cr")
-    '("double" "x")
-    '("double" "y")
-    '("PangoLayout*" "layout")
-    '("int" "index")
-    '("PangoDirection" "direction")
-  )
-)
-
 (define-method to_string
   (of-object "GtkStyleContext")
   (c-name "gtk_style_context_to_string")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index ff0e4aaa..ded02fa9 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -7791,6 +7791,16 @@
   (construct-only #f)
 )
 
+(define-property cascade-popdown
+  (of-object "GtkPopover")
+  (prop-type "GParamBoolean")
+  (docs "Wether the popover pops down after a child popover")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+  (default-value "TRUE")
+)
+
 ;; From GtkPopoverMenu
 
 (define-property visible-submenu
@@ -9323,7 +9333,7 @@
   (readable #t)
   (writable #t)
   (construct-only #f)
-  (default-value "file,cups")
+  (default-value "")
 )
 
 (define-property gtk-print-preview-command


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