[gtkmm/dboles/fix-compilation: 2/3] Regenerate gtk_docs|enums|methods|signals.xml|defs
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/dboles/fix-compilation: 2/3] Regenerate gtk_docs|enums|methods|signals.xml|defs
- Date: Sat, 15 Jun 2019 20:35:29 +0000 (UTC)
commit 67a5c0605b35189209db19b35bc3ebc6327a37ae
Author: Daniel Boles <dboles src gnome org>
Date: Sat Jun 15 21:14:42 2019 +0100
Regenerate gtk_docs|enums|methods|signals.xml|defs
gtk/src/gtk_docs.xml | 522 ++++++++++++++++++++++++++----------------
gtk/src/gtk_enums.defs | 23 +-
gtk/src/gtk_methods.defs | 582 +++++++++++++++++++++--------------------------
gtk/src/gtk_signals.defs | 113 +++++----
4 files changed, 648 insertions(+), 592 deletions(-)
---
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 74bd267d..ff34933b 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -1156,6 +1156,10 @@ The role specifies the desired appearance of a #GtkModelButton.
<parameter_description> A radio button
</parameter_description>
</parameter>
+<parameter name="GTK_BUTTON_ROLE_TITLE">
+<parameter_description> The title for a submenu
+</parameter_description>
+</parameter>
</parameters>
</enum>
@@ -3165,6 +3169,14 @@ The auxiliary completion object to use with the entry.
</description>
</property>
+<property name="GtkEntry:extra-menu">
+<description>
+A menu model whose contents will be appended to
+the context menu.
+
+</description>
+</property>
+
<property name="GtkEntry:im-module">
<description>
Which IM (input method) module should be used for this entry.
@@ -3221,14 +3233,6 @@ and unfocused.
</description>
</property>
-<property name="GtkEntry:populate-all">
-<description>
-If :populate-all is %TRUE, the #GtkEntry::populate-popup
-signal is also emitted for touch popups.
-
-</description>
-</property>
-
<property name="GtkEntry:primary-icon-activatable">
<description>
Whether the primary icon is activatable.
@@ -6844,29 +6848,6 @@ There are too many key combinations to list them all here.
<return></return>
</signal>
-<signal name="GtkLabel::populate-popup">
-<description>
-The ::populate-popup signal gets emitted before showing the
-context menu of the label. Note that only selectable labels
-have context menus.
-
-If you need to add items to the context menu, connect
-to this signal and append your menuitems to the @menu.
-
-</description>
-<parameters>
-<parameter name="label">
-<parameter_description> The label on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="menu">
-<parameter_description> the menu that is being populated
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<property name="GtkLabel:ellipsize">
<description>
The preferred place to ellipsize the string, if the label does
@@ -6884,6 +6865,14 @@ gtk_label_set_width_chars().
</description>
</property>
+<property name="GtkLabel:extra-menu">
+<description>
+A menu model whose contents will be appended to
+the context menu.
+
+</description>
+</property>
+
<property name="GtkLabel:label">
<description>
The contents of the label.
@@ -8021,14 +8010,6 @@ The state of the button. This is reflecting the state of the associated
</description>
</property>
-<property name="GtkModelButton:centered">
-<description>
-Whether to render the button contents centered instead of left-aligned.
-This property should be set for title-like items.
-
-</description>
-</property>
-
<property name="GtkModelButton:icon">
<description>
A #GIcon that will be used if iconic appearance for the button is
@@ -8046,11 +8027,11 @@ horizontal sections of linked buttons.
</description>
</property>
-<property name="GtkModelButton:inverted">
+<property name="GtkModelButton:indicator-size-group">
<description>
-Whether to show the submenu indicator at the opposite side than normal.
-This property should be set for model buttons that 'go back' to a parent
-menu.
+Containers like #GtkPopoverMenu can provide a size group
+in this property to align the checks and radios of all
+the model buttons in a menu.
</description>
</property>
@@ -8731,6 +8712,14 @@ between two notebooks, whose tab rows would otherwise merge visually).
</description>
</property>
+<property name="GtkPasswordEntry:extra-menu">
+<description>
+A menu model whose contents will be appended to
+the context menu.
+
+</description>
+</property>
+
<enum name="GtkPickFlags">
<description>
Flags that influence the behavior of gtk_widget_pick()
@@ -8839,6 +8828,16 @@ of the window that it is attached to
</parameters>
</enum>
+<property name="GtkPopoverMenuBar:menu-model">
+<description>
+The #GMenuModel from which the menu bar is created.
+
+The model should only contain submenus as toplevel
+items.
+
+</description>
+</property>
+
<enum name="GtkPositionType">
<description>
Describes which edge of a widget a certain feature is positioned at, e.g. the
@@ -12436,35 +12435,6 @@ Ctrl-v and Shift-Insert.
<return></return>
</signal>
-<signal name="GtkText::populate-popup">
-<description>
-The ::populate-popup signal gets emitted before showing the
-context menu of the self.
-
-If you need to add items to the context menu, connect
-to this signal and append your items to the @widget, which
-will be a #GtkMenu in this case.
-
-If #GtkText:populate-all is %TRUE, this signal will
-also be emitted to populate touch popups. In this case,
-@widget will be a different container, e.g. a #GtkToolbar.
-The signal handler should not make assumptions about the
-type of @widget.
-
-</description>
-<parameters>
-<parameter name="self">
-<parameter_description> The self on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="widget">
-<parameter_description> the container that is being populated
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<signal name="GtkText::preedit-changed">
<description>
If an input method is used, the typed text will not immediately
@@ -12485,16 +12455,6 @@ connect to this signal.
<return></return>
</signal>
-<signal name="GtkText::tabs">
-<description>
-A list of tabstops to apply to the text of the self.
-
-</description>
-<parameters>
-</parameters>
-<return></return>
-</signal>
-
<signal name="GtkText::toggle-overwrite">
<description>
The ::toggle-overwrite signal is a
@@ -12525,6 +12485,14 @@ The #PangoAttribute's @start_index and @end_index must refer to the
</description>
</property>
+<property name="GtkText:extra-menu">
+<description>
+A menu model whose contents will be appended to
+the context menu.
+
+</description>
+</property>
+
<property name="GtkText:im-module">
<description>
Which IM (input method) module should be used for this self.
@@ -12581,10 +12549,9 @@ and unfocused.
</description>
</property>
-<property name="GtkText:populate-all">
+<property name="GtkText:tabs">
<description>
-If :populate-all is %TRUE, the #GtkText::populate-popup
-signal is also emitted for touch popups.
+A list of tabstops to apply to the text of the self.
</description>
</property>
@@ -13537,37 +13504,6 @@ Ctrl-v and Shift-Insert.
<return></return>
</signal>
-<signal name="GtkTextView::populate-popup">
-<description>
-The ::populate-popup signal gets emitted before showing the
-context menu of the text view.
-
-If you need to add items to the context menu, connect
-to this signal and append your items to the @popup, which
-will be a #GtkMenu in this case.
-
-If #GtkTextView:populate-all is %TRUE, this signal will
-also be emitted to populate touch popups. In this case,
-@popup will be a different container, e.g. a #GtkToolbar.
-
-The signal handler should not make assumptions about the
-type of @widget, but check whether @popup is a #GtkMenu
-or #GtkToolbar or another kind of container.
-
-</description>
-<parameters>
-<parameter name="text_view">
-<parameter_description> The text view on which the signal is emitted
-</parameter_description>
-</parameter>
-<parameter name="popup">
-<parameter_description> the container that is being populated
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<signal name="GtkTextView::preedit-changed">
<description>
If an input method is used, the typed text will not immediately
@@ -13729,10 +13665,10 @@ Don't confuse this property with #GtkWidget:margin-left.
</description>
</property>
-<property name="GtkTextView:populate-all">
+<property name="GtkTextView:monospace">
<description>
-If :populate-all is %TRUE, the #GtkTextView::populate-popup
-signal is also emitted for touch popups.
+If %TRUE, set the %GTK_STYLE_CLASS_MONOSPACE style class on the
+text view to indicate that a monospace font is desired.
</description>
</property>
@@ -13819,14 +13755,6 @@ Used to reference the parts of #GtkTextView.
</parameters>
</enum>
-<property name="GtkTextview:monospace">
-<description>
-If %TRUE, set the %GTK_STYLE_CLASS_MONOSPACE style class on the
-text view to indicate that a monospace font is desired.
-
-</description>
-</property>
-
<signal name="GtkToggleButton::toggled">
<description>
Should be connected if you wish to perform an action whenever the
@@ -30968,6 +30896,22 @@ DND operation, or -1.
</return>
</function>
+<function name="gtk_entry_get_extra_menu">
+<description>
+Gets the menu model set with gtk_entry_set_extra_menu().
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> the menu model
+</return>
+</function>
+
<function name="gtk_entry_get_has_frame">
<description>
Gets the value set by gtk_entry_set_has_frame().
@@ -31591,6 +31535,25 @@ All further configuration of the completion mechanism is done on
<return></return>
</function>
+<function name="gtk_entry_set_extra_menu">
+<description>
+Sets a menu model to add when constructing
+the context menu for @entry.
+
+</description>
+<parameters>
+<parameter name="entry">
+<parameter_description> a #GtkEntry
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> a #GMenuModel
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_entry_set_has_frame">
<description>
Sets whether the entry has a beveled frame around it.
@@ -43199,6 +43162,22 @@ Returns the ellipsizing position of the label. See gtk_label_set_ellipsize().
</return>
</function>
+<function name="gtk_label_get_extra_menu">
+<description>
+Gets the menu model set with gtk_label_set_extra_menu().
+
+
+</description>
+<parameters>
+<parameter name="label">
+<parameter_description> a #GtkLabel
+</parameter_description>
+</parameter>
+</parameters>
+<return> the menu model
+</return>
+</function>
+
<function name="gtk_label_get_justify">
<description>
Returns the justification of the label. See gtk_label_set_justify().
@@ -43707,6 +43686,25 @@ if there is not enough space to render the entire string.
<return></return>
</function>
+<function name="gtk_label_set_extra_menu">
+<description>
+Sets a menu model to add when constructing
+the context menu for @label.
+
+</description>
+<parameters>
+<parameter name="label">
+<parameter_description> a #GtkLabel
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> a #GMenuModel
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_label_set_justify">
<description>
Sets the alignment of the lines in the text of the label relative to
@@ -52460,6 +52458,22 @@ This function adds the paper size from @size to @key_file.
<return></return>
</function>
+<function name="gtk_password_entry_get_extra_menu">
+<description>
+Gets the menu model set with gtk_password_entry_set_extra_menu().
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> the menu model
+</return>
+</function>
+
<function name="gtk_password_entry_get_show_peek_icon">
<description>
Returns whether the entry is showing a clickable icon
@@ -52489,6 +52503,25 @@ Creates a #GtkPasswordEntry.
</return>
</function>
+<function name="gtk_password_entry_set_extra_menu">
+<description>
+Sets a menu model to add when constructing
+the context menu for @entry.
+
+</description>
+<parameters>
+<parameter name="entry">
+<parameter_description> a #GtkPasswordEntry
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> a #GMenuModel
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_password_entry_set_show_peek_icon">
<description>
Sets whether the entry should have a clickable icon
@@ -52880,52 +52913,6 @@ This is a utility function that calls gtk_picture_set_file(),
<return></return>
</function>
-<function name="gtk_popover_bind_model">
-<description>
-Establishes a binding between a #GtkPopover and a #GMenuModel.
-
-The contents of @popover are removed and then refilled with menu items
-according to @model. When @model changes, @popover is updated.
-Calling this function twice on @popover with different @model will
-cause the first binding to be replaced with a binding to the new
-model. If @model is %NULL then any previous binding is undone and
-all children are removed.
-
-If @action_namespace is non-%NULL then the effect is as if all
-actions mentioned in the @model have their names prefixed with the
-namespace, plus a dot. For example, if the action “quit” is
-mentioned and @action_namespace is “app” then the effective action
-name is “app.quit”.
-
-This function uses #GtkActionable to define the action name and
-target values on the created menu items. If you want to use an
-action group other than “app” and “win”, or if you want to use a
-#GtkMenuShell outside of a #GtkApplicationWindow, then you will need
-to attach your own action group to the widget hierarchy using
-gtk_widget_insert_action_group(). As an example, if you created a
-group with a “quit” action and inserted it with the name “mygroup”
-then you would use the action name “mygroup.quit” in your
-#GMenuModel.
-
-</description>
-<parameters>
-<parameter name="popover">
-<parameter_description> a #GtkPopover
-</parameter_description>
-</parameter>
-<parameter name="model">
-<parameter_description> the #GMenuModel to bind to or %NULL to remove
-binding
-</parameter_description>
-</parameter>
-<parameter name="action_namespace">
-<parameter_description> the namespace for actions in @model
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_popover_get_autohide">
<description>
Returns whether the popover is modal.
@@ -53051,47 +53038,76 @@ Adds a submenu to the popover menu.
<return></return>
</function>
-<function name="gtk_popover_menu_new">
+<function name="gtk_popover_menu_bar_get_menu_model">
<description>
-Creates a new popover menu.
+Returns the model from which the contents of @bar are taken.
</description>
<parameters>
+<parameter name="bar">
+<parameter_description> a #GtkPopoverMenuBar
+</parameter_description>
+</parameter>
</parameters>
-<return> a new #GtkPopoverMenu
+<return> a #GMenuModel
</return>
</function>
-<function name="gtk_popover_menu_open_submenu">
+<function name="gtk_popover_menu_bar_new_from_model">
<description>
-Opens a submenu of the @popover. The @name
-must be one of the names given to the submenus
-of @popover with #GtkPopoverMenu:submenu, or
-"main" to switch back to the main menu.
+Creates a #GtkPopoverMenuBar from a #GMenuModel.
-#GtkModelButton will open submenus automatically
-when the #GtkModelButton:menu-name property is set,
-so this function is only needed when you are using
-other kinds of widgets to initiate menu changes.
</description>
<parameters>
-<parameter name="popover">
-<parameter_description> a #GtkPopoverMenu
+<parameter name="model">
+<parameter_description> a #GMenuModel
</parameter_description>
</parameter>
-<parameter name="name">
-<parameter_description> the name of the menu to switch to
+</parameters>
+<return> a new #GtkPopoverMenuBar
+</return>
+</function>
+
+<function name="gtk_popover_menu_bar_set_menu_model">
+<description>
+Sets a menu model from which @bar should take
+its contents.
+
+</description>
+<parameters>
+<parameter name="bar">
+<parameter_description> a #GtkPopoverMenuBar
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> a #GMenuModel
</parameter_description>
</parameter>
</parameters>
<return></return>
</function>
-<function name="gtk_popover_new_from_model">
+<function name="gtk_popover_menu_new">
+<description>
+Creates a new popover menu.
+
+
+</description>
+<parameters>
+<parameter name="relative_to">
+<parameter_description> #GtkWidget the popover is related to
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GtkPopoverMenu
+</return>
+</function>
+
+<function name="gtk_popover_menu_new_from_model">
<description>
-Creates a #GtkPopover and populates it according to
+Creates a #GtkPopoverMenu and populates it according to
@model. The popover is pointed to the @relative_to widget.
The created buttons are connected to actions found in the
@@ -53114,10 +53130,36 @@ on the menus attach widget or on any of its parent widgets.
</parameter_description>
</parameter>
</parameters>
-<return> the new #GtkPopover
+<return> the new #GtkPopoverMenu
</return>
</function>
+<function name="gtk_popover_menu_open_submenu">
+<description>
+Opens a submenu of the @popover. The @name
+must be one of the names given to the submenus
+of @popover with #GtkPopoverMenu:submenu, or
+"main" to switch back to the main menu.
+
+#GtkModelButton will open submenus automatically
+when the #GtkModelButton:menu-name property is set,
+so this function is only needed when you are using
+other kinds of widgets to initiate menu changes.
+
+</description>
+<parameters>
+<parameter name="popover">
+<parameter_description> a #GtkPopoverMenu
+</parameter_description>
+</parameter>
+<parameter name="name">
+<parameter_description> the name of the menu to switch to
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_popover_popdown">
<description>
Pops @popover down.This is different than a gtk_widget_hide() call
@@ -61151,7 +61193,7 @@ scrollbars. See gtk_scrolled_window_set_policy().
</parameter_description>
</parameter>
<parameter name="hscrollbar_policy">
-<parameter_description> location to store the policy
+<parameter_description> location to store the policy
for the horizontal scrollbar, or %NULL
</parameter_description>
</parameter>
@@ -61312,7 +61354,7 @@ Sets the #GtkAdjustment for the horizontal scrollbar.
</parameter_description>
</parameter>
<parameter name="hadjustment">
-<parameter_description> horizontal scroll adjustment
+<parameter_description> the #GtkAdjustment to use, or %NULL to create a new one
</parameter_description>
</parameter>
</parameters>
@@ -61573,7 +61615,7 @@ Sets the #GtkAdjustment for the vertical scrollbar.
</parameter_description>
</parameter>
<parameter name="vadjustment">
-<parameter_description> vertical scroll adjustment
+<parameter_description> the #GtkAdjustment to use, or %NULL to create a new one
</parameter_description>
</parameter>
</parameters>
@@ -68390,6 +68432,22 @@ this self.
</return>
</function>
+<function name="gtk_text_get_extra_menu">
+<description>
+Gets the menu model set with gtk_text_set_extra_menu().
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+</parameters>
+<return> the menu model
+</return>
+</function>
+
<function name="gtk_text_get_input_hints">
<description>
Gets the value of the #GtkText:input-hints property.
@@ -71276,6 +71334,25 @@ this widget.
<return></return>
</function>
+<function name="gtk_text_set_extra_menu">
+<description>
+Sets a menu model to add when constructing
+the context menu for @self.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkText
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> a #GMenuModel
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_set_input_hints">
<description>
Sets the #GtkText:input-hints property, which
@@ -72058,6 +72135,22 @@ buffer may override this setting for some ranges of text.
</return>
</function>
+<function name="gtk_text_view_get_extra_menu">
+<description>
+Gets the menu model set with gtk_text_view_set_extra_menu().
+
+
+</description>
+<parameters>
+<parameter name="text_view">
+<parameter_description> a #GtkTextView
+</parameter_description>
+</parameter>
+</parameters>
+<return> the menu model
+</return>
+</function>
+
<function name="gtk_text_view_get_indent">
<description>
Gets the default indentation of paragraphs in @text_view.
@@ -72939,6 +73032,25 @@ attribute of tags.
<return></return>
</function>
+<function name="gtk_text_view_set_extra_menu">
+<description>
+Sets a menu model to add when constructing
+the context menu for @text_view.
+
+</description>
+<parameters>
+<parameter name="text_view">
+<parameter_description> a #GtkTextView
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> a #GMenuModel
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_view_set_indent">
<description>
Sets the default indentation for paragraphs in @text_view.
@@ -86887,6 +86999,26 @@ some condition.
<return></return>
</function>
+<function name="gtk_widget_should_layout">
+<description>
+Returns whether @widget should contribute to
+the measuring and allocation of its parent.
+This is %FALSE for invisible children, but also
+for children that have their own surface.
+
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a widget
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if child should be included in
+measuring and allocating
+</return>
+</function>
+
<function name="gtk_widget_show">
<description>
Flags a widget to be displayed. Any widget that isn’t shown will
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index c9688863..90541d08 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -1743,25 +1743,6 @@
)
)
-;; From gtkmenutrackeritem.h
-
-;; Original typedef:
-;; typedef enum {
-;; GTK_MENU_TRACKER_ITEM_ROLE_NORMAL,
-;; GTK_MENU_TRACKER_ITEM_ROLE_CHECK,
-;; GTK_MENU_TRACKER_ITEM_ROLE_RADIO,
-;; } GtkMenuTrackerItemRole;
-
-(define-enum-extended MenuTrackerItemRole
- (in-module "Gtk")
- (c-name "GtkMenuTrackerItemRole")
- (values
- '("normal" "GTK_MENU_TRACKER_ITEM_ROLE_NORMAL" "0")
- '("check" "GTK_MENU_TRACKER_ITEM_ROLE_CHECK" "1")
- '("radio" "GTK_MENU_TRACKER_ITEM_ROLE_RADIO" "2")
- )
-)
-
;; From gtkmessagedialog.h
;; Original typedef:
@@ -1794,7 +1775,8 @@
;; typedef enum {
;; GTK_BUTTON_ROLE_NORMAL,
;; GTK_BUTTON_ROLE_CHECK,
-;; GTK_BUTTON_ROLE_RADIO
+;; GTK_BUTTON_ROLE_RADIO,
+;; GTK_BUTTON_ROLE_TITLE
;; } GtkButtonRole;
(define-enum-extended ButtonRole
@@ -1804,6 +1786,7 @@
'("normal" "GTK_BUTTON_ROLE_NORMAL" "0")
'("check" "GTK_BUTTON_ROLE_CHECK" "1")
'("radio" "GTK_BUTTON_ROLE_RADIO" "2")
+ '("title" "GTK_BUTTON_ROLE_TITLE" "3")
)
)
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index a503e5f4..fcf86bc4 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -1540,17 +1540,6 @@
)
)
-(define-enum MenuTrackerItemRole
- (in-module "Gtk")
- (c-name "GtkMenuTrackerItemRole")
- (gtype-id "GTK_TYPE_MENU_TRACKER_ITEM_ROLE")
- (values
- '("normal" "GTK_MENU_TRACKER_ITEM_ROLE_NORMAL")
- '("check" "GTK_MENU_TRACKER_ITEM_ROLE_CHECK")
- '("radio" "GTK_MENU_TRACKER_ITEM_ROLE_RADIO")
- )
-)
-
(define-enum ButtonsType
(in-module "Gtk")
(c-name "GtkButtonsType")
@@ -1573,6 +1562,7 @@
'("normal" "GTK_BUTTON_ROLE_NORMAL")
'("check" "GTK_BUTTON_ROLE_CHECK")
'("radio" "GTK_BUTTON_ROLE_RADIO")
+ '("title" "GTK_BUTTON_ROLE_TITLE")
)
)
@@ -2838,100 +2828,6 @@
-;; From gtkactionobservable.h
-
-(define-function gtk_action_observable_get_type
- (c-name "gtk_action_observable_get_type")
- (return-type "GType")
-)
-
-(define-method register_observer
- (of-object "GtkActionObservable")
- (c-name "gtk_action_observable_register_observer")
- (return-type "none")
- (parameters
- '("const-gchar*" "action_name")
- '("GtkActionObserver*" "observer")
- )
-)
-
-(define-method unregister_observer
- (of-object "GtkActionObservable")
- (c-name "gtk_action_observable_unregister_observer")
- (return-type "none")
- (parameters
- '("const-gchar*" "action_name")
- '("GtkActionObserver*" "observer")
- )
-)
-
-
-
-;; From gtkactionobserver.h
-
-(define-function gtk_action_observer_get_type
- (c-name "gtk_action_observer_get_type")
- (return-type "GType")
-)
-
-(define-method action_added
- (of-object "GtkActionObserver")
- (c-name "gtk_action_observer_action_added")
- (return-type "none")
- (parameters
- '("GtkActionObservable*" "observable")
- '("const-gchar*" "action_name")
- '("const-GVariantType*" "parameter_type")
- '("gboolean" "enabled")
- '("GVariant*" "state")
- )
-)
-
-(define-method action_enabled_changed
- (of-object "GtkActionObserver")
- (c-name "gtk_action_observer_action_enabled_changed")
- (return-type "none")
- (parameters
- '("GtkActionObservable*" "observable")
- '("const-gchar*" "action_name")
- '("gboolean" "enabled")
- )
-)
-
-(define-method action_state_changed
- (of-object "GtkActionObserver")
- (c-name "gtk_action_observer_action_state_changed")
- (return-type "none")
- (parameters
- '("GtkActionObservable*" "observable")
- '("const-gchar*" "action_name")
- '("GVariant*" "state")
- )
-)
-
-(define-method action_removed
- (of-object "GtkActionObserver")
- (c-name "gtk_action_observer_action_removed")
- (return-type "none")
- (parameters
- '("GtkActionObservable*" "observable")
- '("const-gchar*" "action_name")
- )
-)
-
-(define-method primary_accel_changed
- (of-object "GtkActionObserver")
- (c-name "gtk_action_observer_primary_accel_changed")
- (return-type "none")
- (parameters
- '("GtkActionObservable*" "observable")
- '("const-gchar*" "action_name")
- '("const-gchar*" "action_and_target")
- )
-)
-
-
-
;; From gtkadjustment.h
(define-function gtk_adjustment_get_type
@@ -8467,6 +8363,21 @@
(return-type "none")
)
+(define-method set_extra_menu
+ (of-object "GtkEntry")
+ (c-name "gtk_entry_set_extra_menu")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
+(define-method get_extra_menu
+ (of-object "GtkEntry")
+ (c-name "gtk_entry_get_extra_menu")
+ (return-type "GMenuModel*")
+)
+
;; From gtkenums.h
@@ -13295,6 +13206,21 @@
(return-type "gfloat")
)
+(define-method set_extra_menu
+ (of-object "GtkLabel")
+ (c-name "gtk_label_set_extra_menu")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
+(define-method get_extra_menu
+ (of-object "GtkLabel")
+ (c-name "gtk_label_get_extra_menu")
+ (return-type "GMenuModel*")
+)
+
;; From gtklayoutchild.h
@@ -15290,26 +15216,6 @@
-;; From gtkmenusectionbox.h
-
-(define-function gtk_menu_section_box_get_type
- (c-name "gtk_menu_section_box_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_menu_section_box_new_toplevel
- (c-name "gtk_menu_section_box_new_toplevel")
- (return-type "none")
- (parameters
- '("GtkStack*" "stack")
- '("GMenuModel*" "model")
- '("const-gchar*" "action_namespace")
- '("GtkPopover*" "popover")
- )
-)
-
-
-
;; From gtkmenushell.h
(define-function gtk_menu_shell_get_type
@@ -15483,175 +15389,6 @@
-;; From gtkmenutracker.h
-
-(define-function gtk_menu_tracker_new
- (c-name "gtk_menu_tracker_new")
- (is-constructor-of "GtkMenuTracker")
- (return-type "GtkMenuTracker*")
- (parameters
- '("GtkActionObservable*" "observer")
- '("GMenuModel*" "model")
- '("gboolean" "with_separators")
- '("gboolean" "merge_sections")
- '("gboolean" "mac_os_mode")
- '("const-gchar*" "action_namespace")
- '("GtkMenuTrackerInsertFunc" "insert_func")
- '("GtkMenuTrackerRemoveFunc" "remove_func")
- '("gpointer" "user_data")
- )
-)
-
-(define-function gtk_menu_tracker_new_for_item_link
- (c-name "gtk_menu_tracker_new_for_item_link")
- (return-type "GtkMenuTracker*")
- (parameters
- '("GtkMenuTrackerItem*" "item")
- '("const-gchar*" "link_name")
- '("gboolean" "merge_sections")
- '("gboolean" "mac_os_mode")
- '("GtkMenuTrackerInsertFunc" "insert_func")
- '("GtkMenuTrackerRemoveFunc" "remove_func")
- '("gpointer" "user_data")
- )
-)
-
-(define-method free
- (of-object "GtkMenuTracker")
- (c-name "gtk_menu_tracker_free")
- (return-type "none")
-)
-
-
-
-;; From gtkmenutrackeritem.h
-
-(define-function gtk_menu_tracker_item_get_type
- (c-name "gtk_menu_tracker_item_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_menu_tracker_item_role_get_type
- (c-name "gtk_menu_tracker_item_role_get_type")
- (return-type "GType")
-)
-
-(define-method get_special
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_special")
- (return-type "const-gchar*")
-)
-
-(define-method get_display_hint
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_display_hint")
- (return-type "const-gchar*")
-)
-
-(define-method get_text_direction
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_text_direction")
- (return-type "const-gchar*")
-)
-
-(define-method get_is_separator
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_is_separator")
- (return-type "gboolean")
-)
-
-(define-method get_has_link
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_has_link")
- (return-type "gboolean")
- (parameters
- '("const-gchar*" "link_name")
- )
-)
-
-(define-method get_label
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_label")
- (return-type "const-gchar*")
-)
-
-(define-method get_icon
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_icon")
- (return-type "GIcon*")
-)
-
-(define-method get_verb_icon
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_verb_icon")
- (return-type "GIcon*")
-)
-
-(define-method get_sensitive
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_sensitive")
- (return-type "gboolean")
-)
-
-(define-method get_role
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_role")
- (return-type "GtkMenuTrackerItemRole")
-)
-
-(define-method get_toggled
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_toggled")
- (return-type "gboolean")
-)
-
-(define-method get_accel
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_accel")
- (return-type "const-gchar*")
-)
-
-(define-method may_disappear
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_may_disappear")
- (return-type "gboolean")
-)
-
-(define-method get_is_visible
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_is_visible")
- (return-type "gboolean")
-)
-
-(define-method get_should_request_show
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_should_request_show")
- (return-type "gboolean")
-)
-
-(define-method activated
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_activated")
- (return-type "none")
-)
-
-(define-method request_submenu_shown
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_request_submenu_shown")
- (return-type "none")
- (parameters
- '("gboolean" "shown")
- )
-)
-
-(define-method get_submenu_shown
- (of-object "GtkMenuTrackerItem")
- (c-name "gtk_menu_tracker_item_get_submenu_shown")
- (return-type "gboolean")
-)
-
-
-
;; From gtkmessagedialog.h
(define-function gtk_message_dialog_get_type
@@ -15742,10 +15479,6 @@
-;; From gtkmodelmenuitem.h
-
-
-
;; From gtkmountoperation.h
(define-function gtk_mount_operation_get_type
@@ -17083,6 +16816,21 @@
(return-type "gboolean")
)
+(define-method set_extra_menu
+ (of-object "GtkPasswordEntry")
+ (c-name "gtk_password_entry_set_extra_menu")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
+(define-method get_extra_menu
+ (of-object "GtkPasswordEntry")
+ (c-name "gtk_password_entry_get_extra_menu")
+ (return-type "GMenuModel*")
+)
+
;; From gtkpathbar.h
@@ -17262,25 +17010,6 @@
)
)
-(define-function gtk_popover_new_from_model
- (c-name "gtk_popover_new_from_model")
- (return-type "GtkWidget*")
- (parameters
- '("GtkWidget*" "relative_to")
- '("GMenuModel*" "model")
- )
-)
-
-(define-method bind_model
- (of-object "GtkPopover")
- (c-name "gtk_popover_bind_model")
- (return-type "none")
- (parameters
- '("GMenuModel*" "model")
- '("const-gchar*" "action_namespace")
- )
-)
-
(define-method set_relative_to
(of-object "GtkPopover")
(c-name "gtk_popover_set_relative_to")
@@ -17387,6 +17116,38 @@
+;; From gtkpopovermenubar.h
+
+(define-function gtk_popover_menu_bar_get_type
+ (c-name "gtk_popover_menu_bar_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_popover_menu_bar_new_from_model
+ (c-name "gtk_popover_menu_bar_new_from_model")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
+(define-method set_menu_model
+ (of-object "GtkPopoverMenuBar")
+ (c-name "gtk_popover_menu_bar_set_menu_model")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
+(define-method get_menu_model
+ (of-object "GtkPopoverMenuBar")
+ (c-name "gtk_popover_menu_bar_get_menu_model")
+ (return-type "GMenuModel*")
+)
+
+
+
;; From gtkpopovermenu.h
(define-function gtk_popover_menu_get_type
@@ -17398,6 +17159,18 @@
(c-name "gtk_popover_menu_new")
(is-constructor-of "GtkPopoverMenu")
(return-type "GtkWidget*")
+ (parameters
+ '("GtkWidget*" "relative_to")
+ )
+)
+
+(define-function gtk_popover_menu_new_from_model
+ (c-name "gtk_popover_menu_new_from_model")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWidget*" "relative_to")
+ '("GMenuModel*" "model")
+ )
)
(define-method add_submenu
@@ -24160,6 +23933,21 @@
(return-type "none")
)
+(define-method set_extra_menu
+ (of-object "GtkText")
+ (c-name "gtk_text_set_extra_menu")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
+(define-method get_extra_menu
+ (of-object "GtkText")
+ (c-name "gtk_text_get_extra_menu")
+ (return-type "GMenuModel*")
+)
+
;; From gtktextiter.h
@@ -25653,6 +25441,21 @@
(return-type "gboolean")
)
+(define-method set_extra_menu
+ (of-object "GtkTextView")
+ (c-name "gtk_text_view_set_extra_menu")
+ (return-type "none")
+ (parameters
+ '("GMenuModel*" "model")
+ )
+)
+
+(define-method get_extra_menu
+ (of-object "GtkTextView")
+ (c-name "gtk_text_view_get_extra_menu")
+ (return-type "GMenuModel*")
+)
+
;; From gtktogglebutton.h
@@ -30520,6 +30323,12 @@
)
)
+(define-method should_layout
+ (of-object "GtkWidget")
+ (c-name "gtk_widget_should_layout")
+ (return-type "gboolean")
+)
+
;; From gtkwidgetpaintable.h
@@ -31687,6 +31496,145 @@
+;; From gtk-text-input-client-protocol.h
+
+(define-function gtk_text_input_add_listener
+ (c-name "gtk_text_input_add_listener")
+ (return-type "int")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("const-struct-gtk_text_input_listener*" "listener")
+ '("void*" "data")
+ )
+)
+
+(define-function gtk_text_input_set_user_data
+ (c-name "gtk_text_input_set_user_data")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("void*" "user_data")
+ )
+)
+
+(define-function gtk_text_input_get_user_data
+ (c-name "gtk_text_input_get_user_data")
+ (return-type "void*")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_get_version
+ (c-name "gtk_text_input_get_version")
+ (return-type "uint32_t")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_destroy
+ (c-name "gtk_text_input_destroy")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_enable
+ (c-name "gtk_text_input_enable")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("uint32_t" "serial")
+ '("uint32_t" "show_input_panel")
+ )
+)
+
+(define-function gtk_text_input_disable
+ (c-name "gtk_text_input_disable")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_set_surrounding_text
+ (c-name "gtk_text_input_set_surrounding_text")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("const-char*" "text")
+ '("int32_t" "cursor")
+ '("int32_t" "anchor")
+ )
+)
+
+(define-function gtk_text_input_set_content_type
+ (c-name "gtk_text_input_set_content_type")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("uint32_t" "hint")
+ '("uint32_t" "purpose")
+ )
+)
+
+(define-function gtk_text_input_set_cursor_rectangle
+ (c-name "gtk_text_input_set_cursor_rectangle")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ '("int32_t" "x")
+ '("int32_t" "y")
+ '("int32_t" "width")
+ '("int32_t" "height")
+ )
+)
+
+(define-function gtk_text_input_commit
+ (c-name "gtk_text_input_commit")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input*" "gtk_text_input")
+ )
+)
+
+(define-function gtk_text_input_manager_set_user_data
+ (c-name "gtk_text_input_manager_set_user_data")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
+ '("void*" "user_data")
+ )
+)
+
+(define-function gtk_text_input_manager_get_user_data
+ (c-name "gtk_text_input_manager_get_user_data")
+ (return-type "void*")
+ (parameters
+ '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
+ )
+)
+
+(define-function gtk_text_input_manager_get_version
+ (c-name "gtk_text_input_manager_get_version")
+ (return-type "uint32_t")
+ (parameters
+ '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
+ )
+)
+
+(define-function gtk_text_input_manager_destroy
+ (c-name "gtk_text_input_manager_destroy")
+ (return-type "none")
+ (parameters
+ '("struct-gtk_text_input_manager*" "gtk_text_input_manager")
+ )
+)
+
+
+
;; From gtktypebuiltins.h
(define-function gtk_license_get_type
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 678a2b11..cec8099b 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -3129,20 +3129,19 @@
(construct-only #f)
)
-(define-property populate-all
+(define-property tabs
(of-object "GtkEntry")
- (prop-type "GParamBoolean")
- (docs "Whether to emit ::populate-popup for touch popups")
+ (prop-type "GParamBoxed")
+ (docs "A list of tabstop locations to apply to the text of the entry")
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "FALSE")
)
-(define-property tabs
+(define-property extra-menu
(of-object "GtkEntry")
- (prop-type "GParamBoxed")
- (docs "A list of tabstop locations to apply to the text of the entry")
+ (prop-type "GParamObject")
+ (docs "Model menu to append to the context menu")
(readable #t)
(writable #t)
(construct-only #f)
@@ -5220,15 +5219,6 @@
)
)
-(define-signal populate-popup
- (of-object "GtkLabel")
- (return-type "void")
- (flags "Run Last")
- (parameters
- '("GtkMenu*" "p0")
- )
-)
-
(define-signal move-cursor
(of-object "GtkLabel")
(return-type "void")
@@ -5460,6 +5450,15 @@
(default-value "0.5")
)
+(define-property extra-menu
+ (of-object "GtkLabel")
+ (prop-type "GParamObject")
+ (docs "Menu model to append to the context menu")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkLayoutChild
(define-property layout-manager
@@ -6440,34 +6439,33 @@
(default-value "")
)
-(define-property inverted
+(define-property iconic
(of-object "GtkModelButton")
(prop-type "GParamBoolean")
- (docs "Whether the menu is a parent")
+ (docs "Whether to prefer the icon over text")
(readable #t)
(writable #t)
(construct-only #f)
(default-value "FALSE")
)
-(define-property centered
+(define-property accel
(of-object "GtkModelButton")
- (prop-type "GParamBoolean")
- (docs "Whether to center the contents")
+ (prop-type "GParamString")
+ (docs "The accelerator")
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "FALSE")
+ (default-value "")
)
-(define-property iconic
+(define-property indicator-size-group
(of-object "GtkModelButton")
- (prop-type "GParamBoolean")
- (docs "Whether to prefer the icon over text")
+ (prop-type "GParamObject")
+ (docs "Size group for checks and radios")
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "FALSE")
)
;; From GtkNativeDialog
@@ -7008,6 +7006,15 @@
(default-value "FALSE")
)
+(define-property extra-menu
+ (of-object "GtkPasswordEntry")
+ (prop-type "GParamObject")
+ (docs "Model menu to append to the context menu")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkPicture
(define-property paintable
@@ -7066,6 +7073,12 @@
(flags "Run Last")
)
+(define-signal activate-default
+ (of-object "GtkPopover")
+ (return-type "void")
+ (flags "Run Last, Action")
+)
+
(define-property relative-to
(of-object "GtkPopover")
(prop-type "GParamObject")
@@ -9849,15 +9862,6 @@
;; From GtkText
-(define-signal populate-popup
- (of-object "GtkText")
- (return-type "void")
- (flags "Run Last")
- (parameters
- '("GtkWidget*" "p0")
- )
-)
-
(define-signal activate
(of-object "GtkText")
(return-type "void")
@@ -10077,16 +10081,6 @@
(construct-only #f)
)
-(define-property populate-all
- (of-object "GtkText")
- (prop-type "GParamBoolean")
- (docs "Whether to emit ::populate-popup for touch popups")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
(define-property tabs
(of-object "GtkText")
(prop-type "GParamBoxed")
@@ -10116,6 +10110,15 @@
(default-value "FALSE")
)
+(define-property extra-menu
+ (of-object "GtkText")
+ (prop-type "GParamObject")
+ (docs "Menu model to append to the context menu")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkTextBuffer
(define-signal changed
@@ -11049,15 +11052,6 @@
;; From GtkTextView
-(define-signal populate-popup
- (of-object "GtkTextView")
- (return-type "void")
- (flags "Run Last")
- (parameters
- '("GtkWidget*" "p0")
- )
-)
-
(define-signal move-cursor
(of-object "GtkTextView")
(return-type "void")
@@ -11364,24 +11358,23 @@
(default-value "GTK_INPUT_HINT_NONE")
)
-(define-property populate-all
+(define-property monospace
(of-object "GtkTextView")
(prop-type "GParamBoolean")
- (docs "Whether to emit ::populate-popup for touch popups")
+ (docs "Whether to use a monospace font")
(readable #t)
(writable #t)
(construct-only #f)
(default-value "FALSE")
)
-(define-property monospace
+(define-property extra-menu
(of-object "GtkTextView")
- (prop-type "GParamBoolean")
- (docs "Whether to use a monospace font")
+ (prop-type "GParamObject")
+ (docs "Menu model to append to the context menu")
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "FALSE")
)
;; From GtkToggleToolButton
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]