[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files
- Date: Wed, 12 Feb 2020 14:42:03 +0000 (UTC)
commit 864b9b4972e70f933199962d443d3f4766cad4bf
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Wed Feb 12 15:34:39 2020 +0100
Gdk, Gtk: Regenerate docs.xml and .defs files
and update gtk_docs_override.xml, gtk_extra_objects.defs,
tools/extra_defs_gen/generate_defs_gtk.cc
gdk/src/gdk_docs.xml | 7 +-
gdk/src/gdk_methods.defs | 2 +-
gtk/src/gtk_docs.xml | 2349 ++++-------------------------
gtk/src/gtk_docs_override.xml | 1 -
gtk/src/gtk_enums.defs | 68 +-
gtk/src/gtk_extra_objects.defs | 18 -
gtk/src/gtk_methods.defs | 862 +----------
gtk/src/gtk_signals.defs | 353 +----
tools/extra_defs_gen/generate_defs_gtk.cc | 12 +-
9 files changed, 400 insertions(+), 3272 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 54b7bc2c..d68fcb16 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -241,12 +241,15 @@ the gdk-pixbuf library. Currently only RGB is supported.
</parameters>
</enum>
-<property name="GdkContentProvider:content-changed">
+<signal name="GdkContentProvider::content-changed">
<description>
Emitted whenever the content provided by this provider has changed.
</description>
-</property>
+<parameters>
+</parameters>
+<return></return>
+</signal>
<property name="GdkContentProvider:formats">
<description>
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 8f8068ed..4de92e00 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -3287,7 +3287,7 @@
(define-function gdk_keyval_name
(c-name "gdk_keyval_name")
- (return-type "gchar*")
+ (return-type "const-char*")
(parameters
'("guint" "keyval")
)
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index 8f105446..b382420f 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -929,6 +929,10 @@ Describes how the border of a UI element should be rendered.
<parameter_description> No visible border
</parameter_description>
</parameter>
+<parameter name="GTK_BORDER_STYLE_HIDDEN">
+<parameter_description> Same as @GTK_BORDER_STYLE_NONE
+</parameter_description>
+</parameter>
<parameter name="GTK_BORDER_STYLE_SOLID">
<parameter_description> A single line segment
</parameter_description>
@@ -941,10 +945,6 @@ Describes how the border of a UI element should be rendered.
<parameter_description> Looks as if the content is coming out of the canvas
</parameter_description>
</parameter>
-<parameter name="GTK_BORDER_STYLE_HIDDEN">
-<parameter_description> Same as @GTK_BORDER_STYLE_NONE
-</parameter_description>
-</parameter>
<parameter name="GTK_BORDER_STYLE_DOTTED">
<parameter_description> A series of round dots
</parameter_description>
@@ -1229,35 +1229,6 @@ Emitted when the user selects a day.
<return></return>
</signal>
-<signal name="GtkCalendar::day-selected-double-click">
-<description>
-Emitted when the user double-clicks a day.
-
-</description>
-<parameters>
-<parameter name="calendar">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkCalendar::month-changed">
-<description>
-Emitted when the user clicks a button to change the selected month on a
-calendar.
-
-</description>
-<parameters>
-<parameter name="calendar">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<signal name="GtkCalendar::next-month">
<description>
Emitted when the user switched to the next month.
@@ -1323,22 +1294,6 @@ This property gets initially set to the current day.
</description>
</property>
-<property name="GtkCalendar:detail-height-rows">
-<description>
-Height of a detail cell, in rows.
-A value of 0 allows any width. See gtk_calendar_set_detail_func().
-
-</description>
-</property>
-
-<property name="GtkCalendar:detail-width-chars">
-<description>
-Width of a detail cell, in characters.
-A value of 0 allows any width. See gtk_calendar_set_detail_func().
-
-</description>
-</property>
-
<property name="GtkCalendar:month">
<description>
The selected month (as a number between 0 and 11).
@@ -1347,13 +1302,6 @@ This property gets initially set to the current month.
</description>
</property>
-<property name="GtkCalendar:no-month-change">
-<description>
-Determines whether the selected month can be changed.
-
-</description>
-</property>
-
<property name="GtkCalendar:show-day-names">
<description>
Determines whether day names are displayed.
@@ -1361,15 +1309,6 @@ Determines whether day names are displayed.
</description>
</property>
-<property name="GtkCalendar:show-details">
-<description>
-Determines whether details are shown directly in the widget, or if they are
-available only as tooltip. When this property is set days with details are
-marked.
-
-</description>
-</property>
-
<property name="GtkCalendar:show-heading">
<description>
Determines whether a heading is displayed.
@@ -1392,37 +1331,6 @@ This property gets initially set to the current year.
</description>
</property>
-<enum name="GtkCalendarDisplayOptions">
-<description>
-These options can be used to influence the display and behaviour of a #GtkCalendar.
-
-</description>
-<parameters>
-<parameter name="GTK_CALENDAR_SHOW_HEADING">
-<parameter_description> Specifies that the month and year should be displayed.
-</parameter_description>
-</parameter>
-<parameter name="GTK_CALENDAR_SHOW_DAY_NAMES">
-<parameter_description> Specifies that three letter day descriptions should be present.
-</parameter_description>
-</parameter>
-<parameter name="GTK_CALENDAR_NO_MONTH_CHANGE">
-<parameter_description> Prevents the user from switching months with the calendar.
-</parameter_description>
-</parameter>
-<parameter name="GTK_CALENDAR_SHOW_WEEK_NUMBERS">
-<parameter_description> Displays each week numbers of the current year, down the
-left side of the calendar.
-</parameter_description>
-</parameter>
-<parameter name="GTK_CALENDAR_SHOW_DETAILS">
-<parameter_description> Just show an indicator, not the full details
-text when details are provided. See gtk_calendar_set_detail_func().
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
<signal name="GtkCellArea::add-editable">
<description>
Indicates that editing has started on @renderer and that @editable
@@ -6465,11 +6373,6 @@ Used to specify options for gtk_icon_theme_lookup_icon()
</description>
<parameters>
-<parameter name="GTK_ICON_LOOKUP_FORCE_SIZE">
-<parameter_description> Always get the icon scaled to the
-requested size
-</parameter_description>
-</parameter>
<parameter name="GTK_ICON_LOOKUP_FORCE_REGULAR">
<parameter_description> Try to always load regular icons, even
when symbolic icon names are given
@@ -6480,9 +6383,35 @@ when symbolic icon names are given
when regular icon names are given
</parameter_description>
</parameter>
+<parameter name="GTK_ICON_LOOKUP_PRELOAD">
+<parameter_description> Starts loading the texture in the background
+so it is ready when later needed.
+</parameter_description>
+</parameter>
</parameters>
</enum>
+<property name="GtkIconPaintable:file">
+<description>
+The file representing the icon, if any.
+
+</description>
+</property>
+
+<property name="GtkIconPaintable:icon-name">
+<description>
+The icon name that was chosen during lookup.
+
+</description>
+</property>
+
+<property name="GtkIconPaintable:is-symbolic">
+<description>
+Whether the icon is symbolic or not.
+
+</description>
+</property>
+
<enum name="GtkIconSize">
<description>
Built-in icon sizes.
@@ -7933,27 +7862,6 @@ An enumeration representing directional movements within a menu.
</parameters>
</enum>
-<signal name="GtkMenuToolButton::show-menu">
-<description>
-The ::show-menu signal is emitted before the menu is shown.
-
-It can be used to populate the menu on demand, using
-gtk_menu_tool_button_set_menu().
-
-Note that even if you populate the menu dynamically in this way,
-you must set an empty menu on the #GtkMenuToolButton beforehand,
-since the arrow is made insensitive if the menu is not set.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> the object on which the signal is emitted
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
<property name="GtkMessageDialog:message-area">
<description>
The #GtkBox that corresponds to the message area of this dialog. See
@@ -8380,7 +8288,7 @@ The orientation of the orientable.
<enum name="GtkOrientation">
<description>
Represents the orientation of widgets and other objects which can be switched
-between horizontal and vertical orientation on the fly, like #GtkToolbar or
+between horizontal and vertical orientation on the fly, like #GtkBox or
#GtkGesturePan.
</description>
@@ -9943,13 +9851,6 @@ Sets a new group for a radio button.
</description>
</property>
-<property name="GtkRadioToolButton:group">
-<description>
-Sets a new group for a radio tool button.
-
-</description>
-</property>
-
<signal name="GtkRange::adjust-bounds">
<description>
Emitted before clamping a value, to give the application a
@@ -10793,34 +10694,6 @@ The default bindings for this signal is Escape.
<return></return>
</signal>
-<property name="GtkSearchListModel:filter">
-<description>
-The filter determining the selected item
-
-</description>
-</property>
-
-<property name="GtkSearchListModel:model">
-<description>
-The model being managed
-
-</description>
-</property>
-
-<property name="GtkSearchListModel:selected">
-<description>
-Position of the selected item
-
-</description>
-</property>
-
-<property name="GtkSearchListModel:selected-item">
-<description>
-The selected item
-
-</description>
-</property>
-
<enum name="GtkSelectionMode">
<description>
Used to control what selections users are allowed to make.
@@ -12714,19 +12587,17 @@ See also: gtk_text_buffer_insert_child_anchor().
<return></return>
</signal>
-<signal name="GtkTextBuffer::insert-text">
+<signal name="GtkTextBuffer::insert-paintable">
<description>
-The ::insert-text signal is emitted to insert text in a #GtkTextBuffer.
-Insertion actually occurs in the default handler.
+The ::insert-paintable signal is emitted to insert a #GdkPaintable
+in a #GtkTextBuffer. Insertion actually occurs in the default handler.
-Note that if your handler runs before the default handler it must not
-invalidate the @location iter (or has to revalidate it).
-The default signal handler revalidates it to point to the end of the
-inserted text.
+Note that if your handler runs before the default handler it must not
+invalidate the @location iter (or has to revalidate it).
+The default signal handler revalidates it to be placed after the
+inserted @paintable.
-See also:
-gtk_text_buffer_insert(),
-gtk_text_buffer_insert_range().
+See also: gtk_text_buffer_insert_paintable().
</description>
<parameters>
@@ -12735,32 +12606,30 @@ gtk_text_buffer_insert_range().
</parameter_description>
</parameter>
<parameter name="location">
-<parameter_description> position to insert @text in @textbuffer
-</parameter_description>
-</parameter>
-<parameter name="text">
-<parameter_description> the UTF-8 text to be inserted
+<parameter_description> position to insert @paintable in @textbuffer
</parameter_description>
</parameter>
-<parameter name="len">
-<parameter_description> length of the inserted text in bytes
+<parameter name="paintable">
+<parameter_description> the #GdkPaintable to be inserted
</parameter_description>
</parameter>
</parameters>
<return></return>
</signal>
-<signal name="GtkTextBuffer::insert-texture">
+<signal name="GtkTextBuffer::insert-text">
<description>
-The ::insert-texture signal is emitted to insert a #GdkTexture
-in a #GtkTextBuffer. Insertion actually occurs in the default handler.
+The ::insert-text signal is emitted to insert text in a #GtkTextBuffer.
+Insertion actually occurs in the default handler.
-Note that if your handler runs before the default handler it must not
-invalidate the @location iter (or has to revalidate it).
-The default signal handler revalidates it to be placed after the
-inserted @texture.
+Note that if your handler runs before the default handler it must not
+invalidate the @location iter (or has to revalidate it).
+The default signal handler revalidates it to point to the end of the
+inserted text.
-See also: gtk_text_buffer_insert_texture().
+See also:
+gtk_text_buffer_insert(),
+gtk_text_buffer_insert_range().
</description>
<parameters>
@@ -12769,11 +12638,15 @@ See also: gtk_text_buffer_insert_texture().
</parameter_description>
</parameter>
<parameter name="location">
-<parameter_description> position to insert @texture in @textbuffer
+<parameter_description> position to insert @text in @textbuffer
</parameter_description>
</parameter>
-<parameter name="texture">
-<parameter_description> the #GdkTexture to be inserted
+<parameter name="text">
+<parameter_description> the UTF-8 text to be inserted
+</parameter_description>
+</parameter>
+<parameter name="len">
+<parameter_description> length of the inserted text in bytes
</parameter_description>
</parameter>
</parameters>
@@ -13084,7 +12957,7 @@ Flags affecting how a search is done.
If neither #GTK_TEXT_SEARCH_VISIBLE_ONLY nor #GTK_TEXT_SEARCH_TEXT_ONLY are
enabled, the match must be exact; the special 0xFFFC character will match
-embedded textures or child widgets.
+embedded paintables or child widgets.
</description>
<parameters>
@@ -13094,7 +12967,7 @@ have invisible text interspersed.
</parameter_description>
</parameter>
<parameter name="GTK_TEXT_SEARCH_TEXT_ONLY">
-<parameter_description> Search only text. A match may have textures or
+<parameter_description> Search only text. A match may have paintables or
child widgets mixed inside the matched range.
</parameter_description>
</parameter>
@@ -13818,204 +13691,6 @@ Should be connected if you wish to perform an action whenever the
<return></return>
</signal>
-<signal name="GtkToggleToolButton::toggled">
-<description>
-Emitted whenever the toggle tool button changes state.
-
-</description>
-<parameters>
-<parameter name="toggle_tool_button">
-<parameter_description> the object that emitted the signal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<property name="GtkToggleToolButton:active">
-<description>
-If the toggle tool button should be pressed in.
-
-</description>
-</property>
-
-<signal name="GtkToolButton::clicked">
-<description>
-This signal is emitted when the tool button is clicked with the mouse
-or activated with the keyboard.
-
-</description>
-<parameters>
-<parameter name="toolbutton">
-<parameter_description> the object that emitted the signal
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<property name="GtkToolButton:icon-name">
-<description>
-The name of the themed icon displayed on the item.
-This property only has an effect if not overridden by
-#GtkToolButton:label-widget or #GtkToolButton:icon-widget
-
-</description>
-</property>
-
-<signal name="GtkToolItem::toolbar-reconfigured">
-<description>
-This signal is emitted when some property of the toolbar that the
-item is a child of changes. For custom subclasses of #GtkToolItem,
-the default handler of this signal use the functions
-- gtk_tool_shell_get_orientation()
-- gtk_tool_shell_get_style()
-- gtk_tool_shell_get_icon_size()
-to find out what the toolbar should look like and change
-themselves accordingly.
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> the object the signal was emitted on
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<property name="GtkToolItem:overflow-text">
-<description>
-The text to use as label in the overflow menu item for this
-toolitem.
-
-If unset, #GtkToolButton:label is used for #GtkToolButtons.
-
-</description>
-</property>
-
-<signal name="GtkToolbar::focus-home-or-end">
-<description>
-A keybinding signal used internally by GTK+. This signal can't
-be used in application code
-
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> the #GtkToolbar which emitted the signal
-</parameter_description>
-</parameter>
-<parameter name="focus_home">
-<parameter_description> %TRUE if the first item should be focused
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the signal was handled, %FALSE if not
-</return>
-</signal>
-
-<signal name="GtkToolbar::orientation-changed">
-<description>
-Emitted when the orientation of the toolbar changes.
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> the object which emitted the signal
-</parameter_description>
-</parameter>
-<parameter name="orientation">
-<parameter_description> the new #GtkOrientation of the toolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<signal name="GtkToolbar::popup-context-menu">
-<description>
-Emitted when the user right-clicks the toolbar or uses the
-keybinding to display a popup menu.
-
-Application developers should handle this signal if they want
-to display a context menu on the toolbar. The context-menu should
-appear at the coordinates given by @x and @y. The mouse button
-number is given by the @button parameter. If the menu was popped
-up using the keyboard, @button is -1.
-
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> the #GtkToolbar which emitted the signal
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> the x coordinate of the point where the menu should appear
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> the y coordinate of the point where the menu should appear
-</parameter_description>
-</parameter>
-<parameter name="button">
-<parameter_description> the mouse button the user pressed, or -1
-</parameter_description>
-</parameter>
-</parameters>
-<return> return %TRUE if the signal was handled, %FALSE if not
-</return>
-</signal>
-
-<signal name="GtkToolbar::style-changed">
-<description>
-Emitted when the style of the toolbar changes.
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> The #GtkToolbar which emitted the signal
-</parameter_description>
-</parameter>
-<parameter name="style">
-<parameter_description> the new #GtkToolbarStyle of the toolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<enum name="GtkToolbarStyle">
-<description>
-Used to customize the appearance of a #GtkToolbar. Note that
-setting the toolbar style overrides the user’s preferences
-for the default toolbar style. Note that if the button has only
-a label set and GTK_TOOLBAR_ICONS is used, the label will be
-visible, and vice versa.
-
-</description>
-<parameters>
-<parameter name="GTK_TOOLBAR_ICONS">
-<parameter_description> Buttons display only icons in the toolbar.
-</parameter_description>
-</parameter>
-<parameter name="GTK_TOOLBAR_TEXT">
-<parameter_description> Buttons display only text labels in the toolbar.
-</parameter_description>
-</parameter>
-<parameter name="GTK_TOOLBAR_BOTH">
-<parameter_description> Buttons display text and icons in the toolbar.
-</parameter_description>
-</parameter>
-<parameter name="GTK_TOOLBAR_BOTH_HORIZ">
-<parameter_description> Buttons display icons and text alongside each
-other, rather than vertically stacked
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
<property name="GtkTreeListModel:autoexpand">
<description>
If all rows should be expanded by default
@@ -22080,7 +21755,6 @@ Remove all visual markers.
<function name="gtk_calendar_get_date">
<description>
-Obtains the selected date from a #GtkCalendar.
</description>
<parameters>
@@ -22088,23 +21762,10 @@ Obtains the selected date from a #GtkCalendar.
<parameter_description> a #GtkCalendar
</parameter_description>
</parameter>
-<parameter name="year">
-<parameter_description> location to store the year as a decimal
-number (e.g. 2011), or %NULL
-</parameter_description>
-</parameter>
-<parameter name="month">
-<parameter_description> location to store the month number
-(between 0 and 11), or %NULL
-</parameter_description>
-</parameter>
-<parameter name="day">
-<parameter_description> location to store the day number (between
-1 and 31), or %NULL
-</parameter_description>
-</parameter>
</parameters>
-<return></return>
+<return> A #GDateTime representing the shown
+year, month and the selected day, in the local time zone.
+</return>
</function>
<function name="gtk_calendar_get_day_is_marked">
@@ -22127,53 +21788,49 @@ Returns if the @day of the @calendar is already marked.
</return>
</function>
-<function name="gtk_calendar_get_detail_height_rows">
+<function name="gtk_calendar_get_day_names">
<description>
-Queries the height of detail cells, in rows.
-See #GtkCalendar:detail-width-chars.
-
</description>
<parameters>
-<parameter name="calendar">
-<parameter_description> a #GtkCalendar.
+<parameter name="self">
+<parameter_description> a #GtkCalendar
</parameter_description>
</parameter>
</parameters>
-<return> The height of detail cells, in rows.
+<return> Whether @self is currently showing the names
+of the week days above the day numbers, i.e. the value
+of the #GtkCalendar:show-day-names property.
</return>
</function>
-<function name="gtk_calendar_get_detail_width_chars">
+<function name="gtk_calendar_get_show_heading">
<description>
-Queries the width of detail cells, in characters.
-See #GtkCalendar:detail-width-chars.
-
</description>
<parameters>
-<parameter name="calendar">
-<parameter_description> a #GtkCalendar.
+<parameter name="self">
+<parameter_description> a #GtkCalendar
</parameter_description>
</parameter>
</parameters>
-<return> The width of detail cells, in characters.
+<return> Whether @self is currently showing the heading,
+i.e. the value of the #GtkCalendar:show-heading property.
</return>
</function>
-<function name="gtk_calendar_get_display_options">
+<function name="gtk_calendar_get_show_week_numbers">
<description>
-Returns the current display options of @calendar.
-
</description>
<parameters>
-<parameter name="calendar">
+<parameter name="self">
<parameter_description> a #GtkCalendar
</parameter_description>
</parameter>
</parameters>
-<return> the display options.
+<return> Whether @self is showing week numbers right now,
+i.e. the value of the #GtkCalendar:show-week-numbers property.
</return>
</function>
@@ -22209,7 +21866,7 @@ Creates a new calendar, with the current date being selected.
<function name="gtk_calendar_select_day">
<description>
-Selects a day from the current month.
+Will switch to @date's year and month and select its day.
</description>
<parameters>
@@ -22217,123 +21874,63 @@ Selects a day from the current month.
<parameter_description> a #GtkCalendar.
</parameter_description>
</parameter>
-<parameter name="day">
-<parameter_description> the day number between 1 and 31, or 0 to unselect
-the currently selected day.
+<parameter name="date">
+<parameter_description> a #GDateTime representing the day to select
</parameter_description>
</parameter>
</parameters>
<return></return>
</function>
-<function name="gtk_calendar_select_month">
+<function name="gtk_calendar_set_show_day_names">
<description>
-Shifts the calendar to a different month.
</description>
<parameters>
-<parameter name="calendar">
+<parameter name="self">
<parameter_description> a #GtkCalendar
</parameter_description>
</parameter>
-<parameter name="month">
-<parameter_description> a month number between 0 and 11.
-</parameter_description>
-</parameter>
-<parameter name="year">
-<parameter_description> the year the month is in.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_calendar_set_detail_func">
-<description>
-Installs a function which provides Pango markup with detail information
-for each day. Examples for such details are holidays or appointments. That
-information is shown below each day when #GtkCalendar:show-details is set.
-A tooltip containing with full detail information is provided, if the entire
-text should not fit into the details area, or if #GtkCalendar:show-details
-is not set.
-
-The size of the details area can be restricted by setting the
-#GtkCalendar:detail-width-chars and #GtkCalendar:detail-height-rows
-properties.
-
-</description>
-<parameters>
-<parameter name="calendar">
-<parameter_description> a #GtkCalendar.
-</parameter_description>
-</parameter>
-<parameter name="func">
-<parameter_description> a function providing details for each day.
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> data to pass to @func invokations.
-</parameter_description>
-</parameter>
-<parameter name="destroy">
-<parameter_description> a function for releasing @data.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_calendar_set_detail_height_rows">
-<description>
-Updates the height of detail cells.
-See #GtkCalendar:detail-height-rows.
-
-</description>
-<parameters>
-<parameter name="calendar">
-<parameter_description> a #GtkCalendar.
-</parameter_description>
-</parameter>
-<parameter name="rows">
-<parameter_description> detail height in rows.
+<parameter name="value">
+<parameter_description> Whether to show week day names above the
+day numbers
</parameter_description>
</parameter>
</parameters>
<return></return>
</function>
-<function name="gtk_calendar_set_detail_width_chars">
+<function name="gtk_calendar_set_show_heading">
<description>
-Updates the width of detail cells.
-See #GtkCalendar:detail-width-chars.
</description>
<parameters>
-<parameter name="calendar">
-<parameter_description> a #GtkCalendar.
+<parameter name="self">
+<parameter_description> a #GtkCalendar
</parameter_description>
</parameter>
-<parameter name="chars">
-<parameter_description> detail width in characters.
+<parameter name="value">
+<parameter_description> Whether to show the heading in the calendar,
+containing the current year and month as well as
+buttons for changing both.
</parameter_description>
</parameter>
</parameters>
<return></return>
</function>
-<function name="gtk_calendar_set_display_options">
+<function name="gtk_calendar_set_show_week_numbers">
<description>
-Sets display options (whether to display the heading and the month
-headings).
+Sets whether week numbers are shown in the calendar.
</description>
<parameters>
-<parameter name="calendar">
+<parameter name="self">
<parameter_description> a #GtkCalendar
</parameter_description>
</parameter>
-<parameter name="flags">
-<parameter_description> the display options to set
+<parameter name="value">
+<parameter_description> Whether to show week numbers on the left of the days
</parameter_description>
</parameter>
</parameters>
@@ -32888,32 +32485,6 @@ the events can be managed by calling gtk_event_controller_handle_event().
<return></return>
</function>
-<function name="gtk_events_pending">
-<description>
-Checks if any events are pending.
-
-This can be used to update the UI and invoke timeouts etc.
-while doing some time intensive computation.
-
-## Updating the UI during a long computation
-
-|[<!-- language="C" -->
-// computation going on...
-
-while (gtk_events_pending ())
-gtk_main_iteration ();
-
-// ...computation continued
-]|
-
-
-</description>
-<parameters>
-</parameters>
-<return> %TRUE if any events are pending, %FALSE otherwise
-</return>
-</function>
-
<function name="gtk_expander_get_expanded">
<description>
Queries a #GtkExpander and returns its current state. Returns %TRUE
@@ -38239,18 +37810,6 @@ gtk_widget_set_default_direction (direction);
</return>
</function>
-<function name="gtk_get_main_thread">
-<description>
-Get the thread from which GTK was initialized.
-
-
-</description>
-<parameters>
-</parameters>
-<return> The #GThread initialized for GTK, must not be freed
-</return>
-</function>
-
<function name="gtk_get_major_version">
<description>
Returns the major version number of the GTK library.
@@ -39871,10 +39430,10 @@ output values will be in the same range.
<return></return>
</function>
-<function name="gtk_icon_paintable_download_texture">
+<function name="gtk_icon_paintable_get_file">
<description>
-Tries to access the pixels of an icon. This can fail if the icon file is missing or
-there is some kind of problem loading the icon file.
+Gets the #GFile that was used to load the icon, or %NULL if the icon was
+not loaded from a file.
</description>
@@ -39883,19 +39442,23 @@ there is some kind of problem loading the icon file.
<parameter_description> a #GtkIcon
</parameter_description>
</parameter>
-<parameter name="error">
-<parameter_description> location to store error information on failure,
-or %NULL.
-</parameter_description>
-</parameter>
</parameters>
-<return> An texture with the contents of the icon, or %NULL on failure.
+<return> the #GFile for the icon, or %NULL.
+Free with g_object_unref().
</return>
</function>
-<function name="gtk_icon_paintable_get_filename">
+<function name="gtk_icon_paintable_get_icon_name">
<description>
-Gets the filename for the icon.
+Get the icon name being used for this icon.
+
+When an icon looked up in the icon theme was not available, the
+icon theme may use fallback icons - either those specified to
+gtk_icon_theme_lookup() or the always-available
+"image-missing". The icon chosen is returned by this function.
+
+If the icon was created without an icon theme, this function returns %NULL.
+
</description>
@@ -39905,8 +39468,8 @@ Gets the filename for the icon.
</parameter_description>
</parameter>
</parameters>
-<return> the filename for the icon, or %NULL
-if the icon is not represented by a filename.
+<return> the themed icon-name for the icon, or %NULL
+if its not a themed icon.
</return>
</function>
@@ -39928,6 +39491,32 @@ This behaviour may change in the future.
</return>
</function>
+<function name="gtk_icon_paintable_new_for_file">
+<description>
+Creates a #GtkIconPaintable for a file with a given size and scale
+#GtkIcon. The icon can then be rendered by using it as a #GdkPaintable.
+
+
+</description>
+<parameters>
+<parameter name="file">
+<parameter_description> a #GFile
+</parameter_description>
+</parameter>
+<parameter name="size">
+<parameter_description> desired icon size
+</parameter_description>
+</parameter>
+<parameter name="scale">
+<parameter_description> the desired scale
+</parameter_description>
+</parameter>
+</parameters>
+<return> a #GtkIconPaintable containing
+for the icon. Unref with g_object_unref()
+</return>
+</function>
+
<function name="gtk_icon_paintable_snapshot_with_colors">
<description>
This is similar to the implementation of gdk_paintable_snapshot(), but if the icon is
@@ -40174,8 +39763,7 @@ or you can get information such as the filename and size.
</parameter>
</parameters>
<return> a #GtkIconPaintable containing
-information about the icon, or %NULL if the icon wasn’t
-found. Unref with g_object_unref()
+information about the icon. Unref with g_object_unref()
</return>
</function>
@@ -40183,21 +39771,15 @@ found. Unref with g_object_unref()
<description>
Looks up a named icon for a desired size and window scale, returning a
#GtkIcon. The icon can then be rendered by using it as a #GdkPaintable,
-or you can get information such as the filename and size. The pixels
-of the texture can be access by using gtk_icon_paintable_download_texture().
-
-The icon icon size will be based on the requested @size, but may
-not be exactly this size; an icon theme may have icons that differ
-slightly from their nominal sizes, and in addition GTK+ will avoid
-scaling icons that it considers sufficiently close to the requested
-size or for which the source image would have to be scaled up too
-far. (This maintains sharpness.). This behaviour can be changed by
-passing the %GTK_ICON_LOOKUP_FORCE_SIZE flag, which causes the icon
-to be scaled to the exact size.
+or you can get information such as the filename and size.
If the available @icon_name is not available and @fallbacks are provided,
they will be tried in order.
+If no matching icon is found, then a paintable that renders the
+"missing icon" icon is returned. If you need to do something else
+for missing icons you need to use gtk_icon_theme_has_icon().
+
Note that you probably want to listen for icon theme changes and
update the icon. This is usually done by overriding the
#GtkWidget:css-changed function.
@@ -40214,11 +39796,11 @@ update the icon. This is usually done by overriding the
</parameter_description>
</parameter>
<parameter name="fallbacks">
-<parameter_description>
+<parameter_description>
</parameter_description>
</parameter>
<parameter name="size">
-<parameter_description> desired icon size. The resulting icon may not be exactly this size.
+<parameter_description> desired icon size.
</parameter_description>
</parameter>
<parameter name="scale">
@@ -40235,7 +39817,7 @@ update the icon. This is usually done by overriding the
</parameter>
</parameters>
<return> a #GtkIconPaintable object
-containing the icon, or %NULL if the icon wasn’t found.
+containing the icon.
</return>
</function>
@@ -45995,126 +45577,6 @@ Sets the #GPermission object that controls @button.
<return></return>
</function>
-<function name="gtk_main">
-<description>
-Runs the main loop until gtk_main_quit() is called.
-
-You can nest calls to gtk_main(). In that case gtk_main_quit()
-will make the innermost invocation of the main loop return.
-
-</description>
-<parameters>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_main_do_event">
-<description>
-Processes a single GDK event.
-
-This is public only to allow filtering of events between GDK and GTK.
-You will not usually need to call this function directly.
-
-While you should not call this function directly, you might want to
-know how exactly events are handled. So here is what this function
-does with the event:
-
-1. Compress enter/leave notify events. If the event passed build an
-enter/leave pair together with the next event (peeked from GDK), both
-events are thrown away. This is to avoid a backlog of (de-)highlighting
-widgets crossed by the pointer.
-
-2. Find the widget which got the event. If the widget can’t be determined
-the event is thrown away unless it belongs to a INCR transaction.
-
-3. Then the event is pushed onto a stack so you can query the currently
-handled event with gtk_get_current_event().
-
-4. The event is sent to a widget. If a grab is active all events for widgets
-that are not in the contained in the grab widget are sent to the latter
-with a few exceptions:
-- Deletion and destruction events are still sent to the event widget for
-obvious reasons.
-- Events which directly relate to the visual representation of the event
-widget.
-- Leave events are delivered to the event widget if there was an enter
-event delivered to it before without the paired leave event.
-- Drag events are not redirected because it is unclear what the semantics
-of that would be.
-
-5. After finishing the delivery the event is popped from the event stack.
-
-</description>
-<parameters>
-<parameter name="event">
-<parameter_description> An event to process (normally passed by GDK)
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_main_iteration">
-<description>
-Runs a single iteration of the mainloop.
-
-If no events are waiting to be processed GTK will block
-until the next event is noticed. If you don’t want to block
-look at gtk_main_iteration_do() or check if any events are
-pending with gtk_events_pending() first.
-
-
-</description>
-<parameters>
-</parameters>
-<return> %TRUE if gtk_main_quit() has been called for the
-innermost mainloop
-</return>
-</function>
-
-<function name="gtk_main_iteration_do">
-<description>
-Runs a single iteration of the mainloop.
-If no events are available either return or block depending on
-the value of @blocking.
-
-
-</description>
-<parameters>
-<parameter name="blocking">
-<parameter_description> %TRUE if you want GTK to block if no events are pending
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if gtk_main_quit() has been called for the
-innermost mainloop
-</return>
-</function>
-
-<function name="gtk_main_level">
-<description>
-Asks for the current nesting level of the main loop.
-
-
-</description>
-<parameters>
-</parameters>
-<return> the nesting level of the current invocation
-of the main loop
-</return>
-</function>
-
-<function name="gtk_main_quit">
-<description>
-Makes the innermost invocation of the main loop return
-when it regains control.
-
-</description>
-<parameters>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_map_list_model_get_model">
<description>
Gets the model that is curently being mapped or %NULL if none.
@@ -47502,85 +46964,6 @@ The default style is, as one can guess, %GTK_RELIEF_NORMAL.
<return></return>
</function>
-<function name="gtk_menu_tool_button_get_popover">
-<description>
-Returns the #GtkPopover that pops out of the button.
-If the button is not using a #GtkPopover, this function
-returns %NULL.
-
-
-</description>
-<parameters>
-<parameter name="menu_button">
-<parameter_description> a #GtkMenuToolButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #GtkPopover or %NULL
-</return>
-</function>
-
-<function name="gtk_menu_tool_button_new">
-<description>
-Creates a new #GtkMenuToolButton using @icon_widget as icon and
-@label as label.
-
-
-</description>
-<parameters>
-<parameter name="icon_widget">
-<parameter_description> a widget that will be used as icon widget, or %NULL
-</parameter_description>
-</parameter>
-<parameter name="label">
-<parameter_description> a string that will be used as label, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return> the new #GtkMenuToolButton
-</return>
-</function>
-
-<function name="gtk_menu_tool_button_set_arrow_tooltip_markup">
-<description>
-Sets the tooltip markup text to be used as tooltip for the arrow button
-which pops up the menu. See gtk_tool_item_set_tooltip_text() for setting
-a tooltip on the whole #GtkMenuToolButton.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkMenuToolButton
-</parameter_description>
-</parameter>
-<parameter name="markup">
-<parameter_description> markup text to be used as tooltip text for button’s arrow button
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_menu_tool_button_set_arrow_tooltip_text">
-<description>
-Sets the tooltip text to be used as tooltip for the arrow button which
-pops up the menu. See gtk_tool_item_set_tooltip_text() for setting a tooltip
-on the whole #GtkMenuToolButton.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkMenuToolButton
-</parameter_description>
-</parameter>
-<parameter name="text">
-<parameter_description> text to be used as tooltip text for button’s arrow button
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_menu_tracker_item_get_is_visible">
<description>
Don't use this unless you're tracking items for yourself -- normally
@@ -56267,16 +55650,10 @@ Sends an event to a widget, propagating the event to parent widgets
if the event remains unhandled. This function will emit the event
through all the hierarchy of @widget through all propagation phases.
-Events received by GTK from GDK normally begin in gtk_main_do_event().
+Events received by GTK from GDK normally begin at a #GtkRoot widget.
Depending on the type of event, existence of modal dialogs, grabs, etc.,
the event may be propagated; if so, this function is used.
-gtk_propagate_event() calls gtk_widget_event() on each widget it
-decides to send the event to. So gtk_widget_event() is the lowest-level
-function; it simply emits the #GtkWidget::event and possibly an
-event-specific signal on a widget. gtk_propagate_event() is a bit
-higher-level, and gtk_main_do_event() is the highest level.
-
All that said, you most likely don’t want to use any of these
functions; synthesizing events is rarely needed. There are almost
certainly better ways to achieve your goals. For example, use
@@ -56502,73 +55879,6 @@ button group, such as one returned from gtk_radio_button_get_group(), or %NULL.
<return></return>
</function>
-<function name="gtk_radio_tool_button_get_group">
-<description>
-Returns the radio button group @button belongs to.
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkRadioToolButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> The group @button belongs to.
-</return>
-</function>
-
-<function name="gtk_radio_tool_button_new">
-<description>
-Creates a new #GtkRadioToolButton, adding it to @group.
-
-
-</description>
-<parameters>
-<parameter name="group">
-<parameter_description> An
-existing radio button group, or %NULL if you are creating a new group
-</parameter_description>
-</parameter>
-</parameters>
-<return> The new #GtkRadioToolButton
-</return>
-</function>
-
-<function name="gtk_radio_tool_button_new_from_widget">
-<description>
-Creates a new #GtkRadioToolButton adding it to the same group as @gruup
-
-
-</description>
-<parameters>
-<parameter name="group">
-<parameter_description> An existing #GtkRadioToolButton, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return> The new #GtkRadioToolButton
-</return>
-</function>
-
-<function name="gtk_radio_tool_button_set_group">
-<description>
-Adds @button to @group, removing it from the group it belonged to before.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkRadioToolButton
-</parameter_description>
-</parameter>
-<parameter name="group">
-<parameter_description> an existing radio button group, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_range_get_adjustment">
<description>
Get the #GtkAdjustment which is the “model” object for #GtkRange.
@@ -60074,26 +59384,6 @@ will reveal the entry in addition to triggering the search entry.
<return></return>
</function>
-<function name="gtk_search_list_model_new">
-<description>
-Creates a new selection to handle @model.
-
-
-</description>
-<parameters>
-<parameter name="model">
-<parameter_description> the #GListModel to manage
-</parameter_description>
-</parameter>
-<parameter name="filter">
-<parameter_description> the #GtkFilter to use
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new #GtkSearchListModel
-</return>
-</function>
-
<function name="gtk_selection_data_copy">
<description>
Makes a copy of a #GtkSelectionData-struct and its data.
@@ -60760,55 +60050,6 @@ Creates a new #GtkSeparator with the given orientation.
</return>
</function>
-<function name="gtk_separator_tool_item_get_draw">
-<description>
-Returns whether @item is drawn as a line, or just blank.
-See gtk_separator_tool_item_set_draw().
-
-
-</description>
-<parameters>
-<parameter name="item">
-<parameter_description> a #GtkSeparatorToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if @item is drawn as a line, or just blank.
-</return>
-</function>
-
-<function name="gtk_separator_tool_item_new">
-<description>
-Create a new #GtkSeparatorToolItem
-
-
-</description>
-<parameters>
-</parameters>
-<return> the new #GtkSeparatorToolItem
-</return>
-</function>
-
-<function name="gtk_separator_tool_item_set_draw">
-<description>
-Whether @item is drawn as a vertical line, or just blank.
-Setting this to %FALSE along with gtk_tool_item_set_expand() is useful
-to create an item that forces following items to the end of the toolbar.
-
-</description>
-<parameters>
-<parameter name="item">
-<parameter_description> a #GtkSeparatorToolItem
-</parameter_description>
-</parameter>
-<parameter name="draw">
-<parameter_description> whether @item is drawn as a vertical line
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_set_debug_flags">
<description>
Sets the GTK debug flags.
@@ -61891,6 +61132,19 @@ The image is recorded until the next call to gtk_snapshot_pop().
<return></return>
</function>
+<function name="gtk_snapshot_push_collect">
+<description>
+PRIVATE.
+
+Puhses state so a later pop_collect call can collect all nodes
+appended until that point.
+
+</description>
+<parameters>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_snapshot_push_color_matrix">
<description>
Modifies the colors of an image by applying an affine transformation
@@ -65659,7 +64913,7 @@ embedded images, so byte and character indexes into
the returned string do correspond to byte
and character indexes into the buffer. Contrast with
gtk_text_buffer_get_text(). Note that 0xFFFC can occur in normal
-text as well, so it is not a reliable indicator that a texture or
+text as well, so it is not a reliable indicator that a paintable or
widget is in the buffer.
@@ -65945,9 +65199,38 @@ to the end of the inserted text on return.
<return></return>
</function>
+<function name="gtk_text_buffer_insert_paintable">
+<description>
+Inserts an image into the text buffer at @iter. The image will be
+counted as one character in character counts, and when obtaining
+the buffer contents as a string, will be represented by the Unicode
+“object replacement character” 0xFFFC. Note that the “slice”
+variants for obtaining portions of the buffer as a string include
+this character for paintable, but the “text” variants do
+not. e.g. see gtk_text_buffer_get_slice() and
+gtk_text_buffer_get_text().
+
+</description>
+<parameters>
+<parameter name="buffer">
+<parameter_description> a #GtkTextBuffer
+</parameter_description>
+</parameter>
+<parameter name="iter">
+<parameter_description> location to insert the paintable
+</parameter_description>
+</parameter>
+<parameter name="paintable">
+<parameter_description> a #GdkPaintable
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_text_buffer_insert_range">
<description>
-Copies text, tags, and texture between @start and @end (the order
+Copies text, tags, and paintables between @start and @end (the order
of @start and @end doesn’t matter) and inserts the copy at @iter.
Used instead of simply getting/inserting text because it preserves
images and tags. If @start and @end are in a different buffer from
@@ -66014,35 +65297,6 @@ gtk_text_view_get_editable() is appropriate here.
</return>
</function>
-<function name="gtk_text_buffer_insert_texture">
-<description>
-Inserts an image into the text buffer at @iter. The image will be
-counted as one character in character counts, and when obtaining
-the buffer contents as a string, will be represented by the Unicode
-“object replacement character” 0xFFFC. Note that the “slice”
-variants for obtaining portions of the buffer as a string include
-this character for texture, but the “text” variants do
-not. e.g. see gtk_text_buffer_get_slice() and
-gtk_text_buffer_get_text().
-
-</description>
-<parameters>
-<parameter name="buffer">
-<parameter_description> a #GtkTextBuffer
-</parameter_description>
-</parameter>
-<parameter name="iter">
-<parameter_description> location to insert the texture
-</parameter_description>
-</parameter>
-<parameter name="texture">
-<parameter_description> a #GdkTexture
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_text_buffer_insert_with_tags">
<description>
Inserts @text into @buffer at @iter, applying the list of tags to
@@ -67076,7 +66330,7 @@ instead of backward.
<function name="gtk_text_iter_backward_text_chars">
<description>
-Moves backward by @count text characters (textures, widgets,
+Moves backward by @count text characters (paintables, widgets,
etc. do not count as characters for this). Equivalent to moving
through the results of gtk_text_iter_get_text(), rather than
gtk_text_iter_get_slice().
@@ -67756,7 +67010,7 @@ negative, moves backward instead of forward.
<function name="gtk_text_iter_forward_text_chars">
<description>
-Moves forward by @count text characters (textures, widgets,
+Moves forward by @count text characters (paintables, widgets,
etc. do not count as characters for this). Equivalent to moving
through the results of gtk_text_iter_get_text(), rather than
gtk_text_iter_get_slice().
@@ -68227,6 +67481,23 @@ offset back into an iterator.
</return>
</function>
+<function name="gtk_text_iter_get_paintable">
+<description>
+If the element at @iter is a paintable, the paintable is returned
+(with no new reference count added). Otherwise, %NULL is returned.
+
+
+</description>
+<parameters>
+<parameter name="iter">
+<parameter_description> an iterator
+</parameter_description>
+</parameter>
+</parameters>
+<return> the paintable at @iter
+</return>
+</function>
+
<function name="gtk_text_iter_get_slice">
<description>
Returns the text in the given range. A “slice” is an array of
@@ -68235,7 +67506,7 @@ character 0xFFFC for iterable non-character elements in the buffer,
such as images. Because images are encoded in the slice, byte and
character offsets in the returned array will correspond to byte
offsets in the text buffer. Note that 0xFFFC can occur in normal
-text as well, so it is not a reliable indicator that a texture or
+text as well, so it is not a reliable indicator that a paintable or
widget is in the buffer.
@@ -68297,23 +67568,6 @@ gtk_text_iter_get_slice().
</return>
</function>
-<function name="gtk_text_iter_get_texture">
-<description>
-If the element at @iter is a texture, the texture is returned
-(with no new reference count added). Otherwise, %NULL is returned.
-
-
-</description>
-<parameters>
-<parameter name="iter">
-<parameter_description> an iterator
-</parameter_description>
-</parameter>
-</parameters>
-<return> the texture at @iter
-</return>
-</function>
-
<function name="gtk_text_iter_get_toggled_tags">
<description>
Returns a list of #GtkTextTag that are toggled on or off at this
@@ -71671,1075 +70925,6 @@ application ever to call this function.
<return></return>
</function>
-<function name="gtk_toggle_tool_button_get_active">
-<description>
-Queries a #GtkToggleToolButton and returns its current state.
-Returns %TRUE if the toggle button is pressed in and %FALSE if it is raised.
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToggleToolButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the toggle tool button is pressed in, %FALSE if not
-</return>
-</function>
-
-<function name="gtk_toggle_tool_button_new">
-<description>
-Returns a new #GtkToggleToolButton
-
-
-</description>
-<parameters>
-</parameters>
-<return> a newly created #GtkToggleToolButton
-</return>
-</function>
-
-<function name="gtk_toggle_tool_button_set_active">
-<description>
-Sets the status of the toggle tool button. Set to %TRUE if you
-want the GtkToggleButton to be “pressed in”, and %FALSE to raise it.
-This action causes the toggled signal to be emitted.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToggleToolButton
-</parameter_description>
-</parameter>
-<parameter name="is_active">
-<parameter_description> whether @button should be active
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_button_get_icon_name">
-<description>
-Returns the name of the themed icon for the tool button,
-see gtk_tool_button_set_icon_name().
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> the icon name or %NULL if the tool button has
-no themed icon
-</return>
-</function>
-
-<function name="gtk_tool_button_get_icon_widget">
-<description>
-Return the widget used as icon widget on @button.
-See gtk_tool_button_set_icon_widget().
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> The widget used as icon
-on @button, or %NULL.
-</return>
-</function>
-
-<function name="gtk_tool_button_get_label">
-<description>
-Returns the label used by the tool button, or %NULL if the tool button
-doesn’t have a label. The returned
-string is owned by GTK+, and must not be modified or freed.
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> The label, or %NULL
-</return>
-</function>
-
-<function name="gtk_tool_button_get_label_widget">
-<description>
-Returns the widget used as label on @button.
-See gtk_tool_button_set_label_widget().
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> The widget used as label
-on @button, or %NULL.
-</return>
-</function>
-
-<function name="gtk_tool_button_get_use_underline">
-<description>
-Returns whether underscores in the label property are used as mnemonics
-on menu items on the overflow menu. See gtk_tool_button_set_use_underline().
-
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if underscores in the label property are used as
-mnemonics on menu items on the overflow menu.
-</return>
-</function>
-
-<function name="gtk_tool_button_new">
-<description>
-Creates a new #GtkToolButton using @icon_widget as contents and @label as
-label.
-
-
-</description>
-<parameters>
-<parameter name="label">
-<parameter_description> a string that will be used as label, or %NULL
-</parameter_description>
-</parameter>
-<parameter name="icon_widget">
-<parameter_description> a widget that will be used as the button contents, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return> A new #GtkToolButton
-</return>
-</function>
-
-<function name="gtk_tool_button_set_icon_name">
-<description>
-Sets the icon for the tool button from a named themed icon.
-See the docs for #GtkIconTheme for more details.
-The #GtkToolButton:icon-name property only has an effect if not
-overridden by non-%NULL #GtkToolButton:label-widget or
-#GtkToolButton:icon-widget properties.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-<parameter name="icon_name">
-<parameter_description> the name of the themed icon
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_button_set_icon_widget">
-<description>
-Sets @icon as the widget used as icon on @button.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-<parameter name="icon_widget">
-<parameter_description> the widget used as icon, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_button_set_label">
-<description>
-Sets @label as the label used for the tool button. The #GtkToolButton:label
-property only has an effect if not overridden by a non-%NULL
-#GtkToolButton:label-widget property. If both the #GtkToolButton:label-widget
-and #GtkToolButton:label properties are %NULL, @button will not have a label.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-<parameter name="label">
-<parameter_description> a string that will be used as label, or %NULL.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_button_set_label_widget">
-<description>
-Sets @label_widget as the widget that will be used as the label
-for @button. If @label_widget is %NULL the #GtkToolButton:label property is used
-as label. If #GtkToolButton:label is also %NULL, @button does not have a label.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-<parameter name="label_widget">
-<parameter_description> the widget used as label, or %NULL
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_button_set_use_underline">
-<description>
-If set, an underline in the label property indicates that the next character
-should be used for the mnemonic accelerator key in the overflow menu. For
-example, if the label property is “_Open” and @use_underline is %TRUE,
-the label on the tool button will be “Open” and the item on the overflow
-menu will have an underlined “O”.
-
-Labels shown on tool buttons never have mnemonics on them; this property
-only affects the menu item on the overflow menu.
-
-</description>
-<parameters>
-<parameter name="button">
-<parameter_description> a #GtkToolButton
-</parameter_description>
-</parameter>
-<parameter name="use_underline">
-<parameter_description> whether the button label has the form “_Open”
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_get_ellipsize_mode">
-<description>
-Returns the ellipsize mode used for @tool_item. Custom subclasses of
-#GtkToolItem should call this function to find out how text should
-be ellipsized.
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #PangoEllipsizeMode indicating how text in @tool_item
-should be ellipsized.
-</return>
-</function>
-
-<function name="gtk_tool_item_get_expand">
-<description>
-Returns whether @tool_item is allocated extra space.
-See gtk_tool_item_set_expand().
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if @tool_item is allocated extra space.
-</return>
-</function>
-
-<function name="gtk_tool_item_get_homogeneous">
-<description>
-Returns whether @tool_item is the same size as other homogeneous
-items. See gtk_tool_item_set_homogeneous().
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the item is the same size as other homogeneous
-items.
-</return>
-</function>
-
-<function name="gtk_tool_item_get_is_important">
-<description>
-Returns whether @tool_item is considered important. See
-gtk_tool_item_set_is_important()
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if @tool_item is considered important.
-</return>
-</function>
-
-<function name="gtk_tool_item_get_orientation">
-<description>
-Returns the orientation used for @tool_item. Custom subclasses of
-#GtkToolItem should call this function to find out what size icons
-they should use.
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #GtkOrientation indicating the orientation
-used for @tool_item
-</return>
-</function>
-
-<function name="gtk_tool_item_get_overflow_text">
-<description>
-Gets the label that is used for @tool_item in the overflow menu.
-
-Return: the overflow menu label for @tool_item
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_get_text_alignment">
-<description>
-Returns the text alignment used for @tool_item. Custom subclasses of
-#GtkToolItem should call this function to find out how text should
-be aligned.
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem:
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #gfloat indicating the horizontal text alignment
-used for @tool_item
-</return>
-</function>
-
-<function name="gtk_tool_item_get_text_orientation">
-<description>
-Returns the text orientation used for @tool_item. Custom subclasses of
-#GtkToolItem should call this function to find out how text should
-be orientated.
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #GtkOrientation indicating the text orientation
-used for @tool_item
-</return>
-</function>
-
-<function name="gtk_tool_item_get_text_size_group">
-<description>
-Returns the size group used for labels in @tool_item.
-Custom subclasses of #GtkToolItem should call this function
-and use the size group for labels.
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> a #GtkSizeGroup
-</return>
-</function>
-
-<function name="gtk_tool_item_get_toolbar_style">
-<description>
-Returns the toolbar style used for @tool_item. Custom subclasses of
-#GtkToolItem should call this function in the handler of the
-GtkToolItem::toolbar_reconfigured signal to find out in what style
-the toolbar is displayed and change themselves accordingly
-
-Possibilities are:
-- %GTK_TOOLBAR_BOTH, meaning the tool item should show
-both an icon and a label, stacked vertically
-- %GTK_TOOLBAR_ICONS, meaning the toolbar shows only icons
-- %GTK_TOOLBAR_TEXT, meaning the tool item should only show text
-- %GTK_TOOLBAR_BOTH_HORIZ, meaning the tool item should show
-both an icon and a label, arranged horizontally
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> A #GtkToolbarStyle indicating the toolbar style used
-for @tool_item.
-</return>
-</function>
-
-<function name="gtk_tool_item_get_visible_horizontal">
-<description>
-Returns whether the @tool_item is visible on toolbars that are
-docked horizontally.
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if @tool_item is visible on toolbars that are
-docked horizontally.
-</return>
-</function>
-
-<function name="gtk_tool_item_get_visible_vertical">
-<description>
-Returns whether @tool_item is visible when the toolbar is docked vertically.
-See gtk_tool_item_set_visible_vertical().
-
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return> Whether @tool_item is visible when the toolbar is docked vertically
-</return>
-</function>
-
-<function name="gtk_tool_item_new">
-<description>
-Creates a new #GtkToolItem
-
-
-</description>
-<parameters>
-</parameters>
-<return> the new #GtkToolItem
-</return>
-</function>
-
-<function name="gtk_tool_item_rebuild_menu">
-<description>
-Calling this function signals to the toolbar that the
-overflow menu item for @tool_item has changed. If the
-overflow menu is visible when this function it called,
-the menu will be rebuilt.
-
-The function must be called when the tool item changes what it
-will do in response to the #GtkToolItem::create-menu-proxy signal.
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_set_expand">
-<description>
-Sets whether @tool_item is allocated extra space when there
-is more room on the toolbar then needed for the items. The
-effect is that the item gets bigger when the toolbar gets bigger
-and smaller when the toolbar gets smaller.
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="expand">
-<parameter_description> Whether @tool_item is allocated extra space
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_set_homogeneous">
-<description>
-Sets whether @tool_item is to be allocated the same size as other
-homogeneous items. The effect is that all homogeneous items will have
-the same width as the widest of the items.
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="homogeneous">
-<parameter_description> whether @tool_item is the same size as other homogeneous items
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_set_is_important">
-<description>
-Sets whether @tool_item should be considered important. The #GtkToolButton
-class uses this property to determine whether to show or hide its label
-when the toolbar style is %GTK_TOOLBAR_BOTH_HORIZ. The result is that
-only tool buttons with the “is_important” property set have labels, an
-effect known as “priority text”
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="is_important">
-<parameter_description> whether the tool item should be considered important
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_set_overflow_text">
-<description>
-Sets the label to use for @tool_item in the overflow menu.
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="overflow_text">
-<parameter_description> Label to use in the overflow menu
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_set_tooltip_markup">
-<description>
-Sets the markup text to be displayed as tooltip on the item.
-See gtk_widget_set_tooltip_markup().
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="markup">
-<parameter_description> markup text to be used as tooltip for @tool_item
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_set_tooltip_text">
-<description>
-Sets the text to be displayed as tooltip on the item.
-See gtk_widget_set_tooltip_text().
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="text">
-<parameter_description> text to be used as tooltip for @tool_item
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_set_visible_horizontal">
-<description>
-Sets whether @tool_item is visible when the toolbar is docked horizontally.
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="visible_horizontal">
-<parameter_description> Whether @tool_item is visible when in horizontal mode
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_set_visible_vertical">
-<description>
-Sets whether @tool_item is visible when the toolbar is docked
-vertically. Some tool items, such as text entries, are too wide to be
-useful on a vertically docked toolbar. If @visible_vertical is %FALSE
-@tool_item will not appear on toolbars that are docked vertically.
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="visible_vertical">
-<parameter_description> whether @tool_item is visible when the toolbar
-is in vertical mode
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_item_toolbar_reconfigured">
-<description>
-Emits the signal #GtkToolItem::toolbar_reconfigured on @tool_item.
-#GtkToolbar and other #GtkToolShell implementations use this function
-to notify children, when some aspect of their configuration changes.
-
-</description>
-<parameters>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_tool_shell_get_ellipsize_mode">
-<description>
-Retrieves the current ellipsize mode for the tool shell. Tool items must not
-call this function directly, but rely on gtk_tool_item_get_ellipsize_mode()
-instead.
-
-
-</description>
-<parameters>
-<parameter name="shell">
-<parameter_description> a #GtkToolShell
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current ellipsize mode of @shell
-</return>
-</function>
-
-<function name="gtk_tool_shell_get_orientation">
-<description>
-Retrieves the current orientation for the tool shell. Tool items must not
-call this function directly, but rely on gtk_tool_item_get_orientation()
-instead.
-
-
-</description>
-<parameters>
-<parameter name="shell">
-<parameter_description> a #GtkToolShell
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current orientation of @shell
-</return>
-</function>
-
-<function name="gtk_tool_shell_get_style">
-<description>
-Retrieves whether the tool shell has text, icons, or both. Tool items must
-not call this function directly, but rely on gtk_tool_item_get_toolbar_style()
-instead.
-
-
-</description>
-<parameters>
-<parameter name="shell">
-<parameter_description> a #GtkToolShell
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current style of @shell
-</return>
-</function>
-
-<function name="gtk_tool_shell_get_text_alignment">
-<description>
-Retrieves the current text alignment for the tool shell. Tool items must not
-call this function directly, but rely on gtk_tool_item_get_text_alignment()
-instead.
-
-
-</description>
-<parameters>
-<parameter name="shell">
-<parameter_description> a #GtkToolShell
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current text alignment of @shell
-</return>
-</function>
-
-<function name="gtk_tool_shell_get_text_orientation">
-<description>
-Retrieves the current text orientation for the tool shell. Tool items must not
-call this function directly, but rely on gtk_tool_item_get_text_orientation()
-instead.
-
-
-</description>
-<parameters>
-<parameter name="shell">
-<parameter_description> a #GtkToolShell
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current text orientation of @shell
-</return>
-</function>
-
-<function name="gtk_tool_shell_get_text_size_group">
-<description>
-Retrieves the current text size group for the tool shell. Tool items must not
-call this function directly, but rely on gtk_tool_item_get_text_size_group()
-instead.
-
-
-</description>
-<parameters>
-<parameter name="shell">
-<parameter_description> a #GtkToolShell
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current text size group of @shell
-</return>
-</function>
-
-<function name="gtk_tool_shell_rebuild_menu">
-<description>
-Calling this function signals the tool shell that the overflow menu item for
-tool items have changed. If there is an overflow menu and if it is visible
-when this function it called, the menu will be rebuilt.
-
-Tool items must not call this function directly, but rely on
-gtk_tool_item_rebuild_menu() instead.
-
-</description>
-<parameters>
-<parameter name="shell">
-<parameter_description> a #GtkToolShell
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_toolbar_get_drop_index">
-<description>
-Returns the position corresponding to the indicated point on
-@toolbar. This is useful when dragging items to the toolbar:
-this function returns the position a new item should be
-inserted.
-
-@x and @y are in @toolbar coordinates.
-
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-<parameter name="x">
-<parameter_description> x coordinate of a point on the toolbar
-</parameter_description>
-</parameter>
-<parameter name="y">
-<parameter_description> y coordinate of a point on the toolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return> The position corresponding to the point (@x, @y) on the toolbar.
-</return>
-</function>
-
-<function name="gtk_toolbar_get_item_index">
-<description>
-Returns the position of @item on the toolbar, starting from 0.
-It is an error if @item is not a child of the toolbar.
-
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-<parameter name="item">
-<parameter_description> a #GtkToolItem that is a child of @toolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return> the position of item on the toolbar.
-</return>
-</function>
-
-<function name="gtk_toolbar_get_n_items">
-<description>
-Returns the number of items on the toolbar.
-
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return> the number of items on the toolbar
-</return>
-</function>
-
-<function name="gtk_toolbar_get_nth_item">
-<description>
-Returns the @n'th item on @toolbar, or %NULL if the
-toolbar does not contain an @n'th item.
-
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-<parameter name="n">
-<parameter_description> A position on the toolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return> The @n'th #GtkToolItem on @toolbar,
-or %NULL if there isn’t an @n'th item.
-</return>
-</function>
-
-<function name="gtk_toolbar_get_show_arrow">
-<description>
-Returns whether the toolbar has an overflow menu.
-See gtk_toolbar_set_show_arrow().
-
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the toolbar has an overflow menu.
-</return>
-</function>
-
-<function name="gtk_toolbar_get_style">
-<description>
-Retrieves whether the toolbar has text, icons, or both . See
-gtk_toolbar_set_style().
-
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return> the current style of @toolbar
-</return>
-</function>
-
-<function name="gtk_toolbar_insert">
-<description>
-Insert a #GtkToolItem into the toolbar at position @pos. If @pos is
-0 the item is prepended to the start of the toolbar. If @pos is
-negative, the item is appended to the end of the toolbar.
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-<parameter name="item">
-<parameter_description> a #GtkToolItem
-</parameter_description>
-</parameter>
-<parameter name="pos">
-<parameter_description> the position of the new item
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_toolbar_new">
-<description>
-Creates a new toolbar.
-
-
-</description>
-<parameters>
-</parameters>
-<return> the newly-created toolbar.
-</return>
-</function>
-
-<function name="gtk_toolbar_set_drop_highlight_item">
-<description>
-Highlights @toolbar to give an idea of what it would look like
-if @item was added to @toolbar at the position indicated by @index_.
-If @item is %NULL, highlighting is turned off. In that case @index_
-is ignored.
-
-The @tool_item passed to this function must not be part of any widget
-hierarchy. When an item is set as drop highlight item it can not
-added to any widget hierarchy or used as highlight item for another
-toolbar.
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-<parameter name="tool_item">
-<parameter_description> a #GtkToolItem, or %NULL to turn of highlighting
-</parameter_description>
-</parameter>
-<parameter name="index_">
-<parameter_description> a position on @toolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_toolbar_set_show_arrow">
-<description>
-Sets whether to show an overflow menu when @toolbar isn’t allocated enough
-size to show all of its items. If %TRUE, items which can’t fit in @toolbar,
-and which have a proxy menu item set by gtk_tool_item_set_proxy_menu_item()
-or #GtkToolItem::create-menu-proxy, will be available in an overflow menu,
-which can be opened by an added arrow button. If %FALSE, @toolbar will
-request enough size to fit all of its child items without any overflow.
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-<parameter name="show_arrow">
-<parameter_description> Whether to show an overflow menu
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_toolbar_set_style">
-<description>
-Alters the view of @toolbar to display either icons only, text only, or both.
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar.
-</parameter_description>
-</parameter>
-<parameter name="style">
-<parameter_description> the new style for @toolbar.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_toolbar_unset_style">
-<description>
-Unsets a toolbar style set with gtk_toolbar_set_style(), so that
-user preferences will be used to determine the toolbar style.
-
-</description>
-<parameters>
-<parameter name="toolbar">
-<parameter_description> a #GtkToolbar
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_tooltip_set_custom">
<description>
Replaces the widget packed into the tooltip with
@@ -80324,14 +78509,10 @@ added to a widget yet
<return></return>
</function>
-<function name="gtk_widget_add_mnemonic_label">
+<function name="gtk_widget_add_css_class">
<description>
-Adds a widget to the list of mnemonic labels for
-this widget. (See gtk_widget_list_mnemonic_labels()). Note the
-list of mnemonic labels for the widget is cleared when the
-widget is destroyed, so the caller must make sure to update
-its internal state at this point as well, by using a connection
-to the #GtkWidget::destroy signal or a weak notifier.
+Adds @css_class to @widget. After calling this function, @widget's
+style will match for @css_class, after the CSS matching rules.
</description>
<parameters>
@@ -80339,18 +78520,23 @@ to the #GtkWidget::destroy signal or a weak notifier.
<parameter_description> a #GtkWidget
</parameter_description>
</parameter>
-<parameter name="label">
-<parameter_description> a #GtkWidget that acts as a mnemonic label for @widget
+<parameter name="css_class">
+<parameter_description> The style class to add to @widget, without
+the leading '.' used for notation of style classes
</parameter_description>
</parameter>
</parameters>
<return></return>
</function>
-<function name="gtk_widget_add_style_class">
+<function name="gtk_widget_add_mnemonic_label">
<description>
-Adds @style_class to @widget. After calling this function, @widget's
-style will match for @style_class, after the CSS matching rules.
+Adds a widget to the list of mnemonic labels for
+this widget. (See gtk_widget_list_mnemonic_labels()). Note the
+list of mnemonic labels for the widget is cleared when the
+widget is destroyed, so the caller must make sure to update
+its internal state at this point as well, by using a connection
+to the #GtkWidget::destroy signal or a weak notifier.
</description>
<parameters>
@@ -80358,9 +78544,8 @@ style will match for @style_class, after the CSS matching rules.
<parameter_description> a #GtkWidget
</parameter_description>
</parameter>
-<parameter name="style_class">
-<parameter_description> The style class to add to @widget, without
-the leading '.' used for notation of style classes
+<parameter name="label">
+<parameter_description> a #GtkWidget that acts as a mnemonic label for @widget
</parameter_description>
</parameter>
</parameters>
@@ -82633,6 +80818,28 @@ should not have an effect, and return %TRUE.
</return>
</function>
+<function name="gtk_widget_has_css_class">
+<description>
+Returns whether @css_class is currently applied to @widget.
+
+
+</description>
+<parameters>
+<parameter name="widget">
+<parameter_description> a #GtkWidget
+</parameter_description>
+</parameter>
+<parameter name="css_class">
+<parameter_description> A CSS style class, without the leading '.'
+used for notation of style classes
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if @css_class is currently applied to @widget,
+%FALSE otherwise.
+</return>
+</function>
+
<function name="gtk_widget_has_default">
<description>
Determines whether @widget is the current default widget within its
@@ -82688,28 +80895,6 @@ See also gtk_grab_add().
</return>
</function>
-<function name="gtk_widget_has_style_class">
-<description>
-Returns whether @style_class is currently applied to @widget.
-
-
-</description>
-<parameters>
-<parameter name="widget">
-<parameter_description> a #GtkWidget
-</parameter_description>
-</parameter>
-<parameter name="style_class">
-<parameter_description> A CSS style class, without the leading '.'
-used for notation of style classes
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if @style_class is currently applied to @widget,
-%FALSE otherwise.
-</return>
-</function>
-
<function name="gtk_widget_has_visible_focus">
<description>
Determines if the widget should show a visible indication that
@@ -83508,12 +81693,10 @@ are destroyed, there is normally no need to call this function.
<return></return>
</function>
-<function name="gtk_widget_remove_mnemonic_label">
+<function name="gtk_widget_remove_css_class">
<description>
-Removes a widget from the list of mnemonic labels for
-this widget. (See gtk_widget_list_mnemonic_labels()). The widget
-must have previously been added to the list with
-gtk_widget_add_mnemonic_label().
+Removes @css_class from @widget. After this, the style of @widget
+will stop matching for @css_class.
</description>
<parameters>
@@ -83521,19 +81704,21 @@ gtk_widget_add_mnemonic_label().
<parameter_description> a #GtkWidget
</parameter_description>
</parameter>
-<parameter name="label">
-<parameter_description> a #GtkWidget that was previously set as a mnemonic label for
-@widget with gtk_widget_add_mnemonic_label().
+<parameter name="css_class">
+<parameter_description> The style class to remove from @widget, without
+the leading '.' used for notation of style classes
</parameter_description>
</parameter>
</parameters>
<return></return>
</function>
-<function name="gtk_widget_remove_style_class">
+<function name="gtk_widget_remove_mnemonic_label">
<description>
-Removes @style_class from @widget. After this, the style of @widget
-will stop matching for @style_class.
+Removes a widget from the list of mnemonic labels for
+this widget. (See gtk_widget_list_mnemonic_labels()). The widget
+must have previously been added to the list with
+gtk_widget_add_mnemonic_label().
</description>
<parameters>
@@ -83541,9 +81726,9 @@ will stop matching for @style_class.
<parameter_description> a #GtkWidget
</parameter_description>
</parameter>
-<parameter name="style_class">
-<parameter_description> The style class to remove from @widget, without
-the leading '.' used for notation of style classes
+<parameter name="label">
+<parameter_description> a #GtkWidget that was previously set as a mnemonic label for
+@widget with gtk_widget_add_mnemonic_label().
</parameter_description>
</parameter>
</parameters>
diff --git a/gtk/src/gtk_docs_override.xml b/gtk/src/gtk_docs_override.xml
index 0a0d1b2d..43b8227a 100644
--- a/gtk/src/gtk_docs_override.xml
+++ b/gtk/src/gtk_docs_override.xml
@@ -93,7 +93,6 @@
<substitute_enumerator_name from_prefix="GTK_TEXT_SEARCH_" to_prefix="Gtk::TextSearchFlags::" />
<substitute_enumerator_name from_prefix="PANGO_UNDERLINE_" to_prefix="Pango::Underline::" />
<substitute_enumerator_name from_prefix="GTK_TEXT_WINDOW_" to_prefix="Gtk::TextWindowType::" />
-<substitute_enumerator_name from_prefix="GTK_TOOLBAR_" to_prefix="Gtk::ToolbarStyle::" />
<substitute_enumerator_name from_prefix="GTK_TREE_MODEL_" to_prefix="Gtk::TreeModel::Flags::" />
<substitute_enumerator_name from_prefix="GTK_TREE_VIEW_COLUMN_" to_prefix="Gtk::TreeViewColumn::Sizing::" />
<substitute_enumerator_name from_prefix="GTK_ORIENTATION_" to_prefix="Gtk::Orientation::" />
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index 928dcadf..01373d81 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -194,30 +194,6 @@
)
)
-;; From gtkcalendar.h
-
-;; Original typedef:
-;; typedef enum
-;; {
-;; GTK_CALENDAR_SHOW_HEADING = 1 << 0,
-;; GTK_CALENDAR_SHOW_DAY_NAMES = 1 << 1,
-;; GTK_CALENDAR_NO_MONTH_CHANGE = 1 << 2,
-;; GTK_CALENDAR_SHOW_WEEK_NUMBERS = 1 << 3,
-;; GTK_CALENDAR_SHOW_DETAILS = 1 << 5
-;; } GtkCalendarDisplayOptions;
-
-(define-flags-extended GtkCalendarDisplayOptions
- (in-module "Gsk")
- (c-name "GtkCalendarDisplayOptions")
- (values
- '("show-heading" "GTK_CALENDAR_SHOW_HEADING" "1 << 0")
- '("show-day-names" "GTK_CALENDAR_SHOW_DAY_NAMES" "1 << 1")
- '("no-month-change" "GTK_CALENDAR_NO_MONTH_CHANGE" "1 << 2")
- '("show-week-numbers" "GTK_CALENDAR_SHOW_WEEK_NUMBERS" "1 << 3")
- '("show-details" "GTK_CALENDAR_SHOW_DETAILS" "1 << 5")
- )
-)
-
;; From gtkcellrendereraccel.h
;; Original typedef:
@@ -297,7 +273,6 @@
;; GTK_DEBUG_BUILDER = 1 << 7,
;; GTK_DEBUG_SIZE_REQUEST = 1 << 8,
;; GTK_DEBUG_NO_CSS_CACHE = 1 << 9,
-;; GTK_DEBUG_BASELINES = 1 << 10,
;; GTK_DEBUG_INTERACTIVE = 1 << 11,
;; GTK_DEBUG_TOUCHSCREEN = 1 << 12,
;; GTK_DEBUG_ACTIONS = 1 << 13,
@@ -321,7 +296,6 @@
'("builder" "GTK_DEBUG_BUILDER" "1 << 7")
'("size-request" "GTK_DEBUG_SIZE_REQUEST" "1 << 8")
'("no-css-cache" "GTK_DEBUG_NO_CSS_CACHE" "1 << 9")
- '("baselines" "GTK_DEBUG_BASELINES" "1 << 10")
'("interactive" "GTK_DEBUG_INTERACTIVE" "1 << 11")
'("touchscreen" "GTK_DEBUG_TOUCHSCREEN" "1 << 12")
'("actions" "GTK_DEBUG_ACTIONS" "1 << 13")
@@ -893,26 +867,6 @@
)
)
-;; Original typedef:
-;; typedef enum
-;; {
-;; GTK_TOOLBAR_ICONS,
-;; GTK_TOOLBAR_TEXT,
-;; GTK_TOOLBAR_BOTH,
-;; GTK_TOOLBAR_BOTH_HORIZ
-;; } GtkToolbarStyle;
-
-(define-enum-extended GtkToolbarStyle
- (in-module "Gsk")
- (c-name "GtkToolbarStyle")
- (values
- '("icons" "GTK_TOOLBAR_ICONS" "0")
- '("text" "GTK_TOOLBAR_TEXT" "1")
- '("both" "GTK_TOOLBAR_BOTH" "2")
- '("both-horiz" "GTK_TOOLBAR_BOTH_HORIZ" "3")
- )
-)
-
;; Original typedef:
;; typedef enum
;; {
@@ -1211,10 +1165,10 @@
;; Original typedef:
;; typedef enum {
;; GTK_BORDER_STYLE_NONE,
+;; GTK_BORDER_STYLE_HIDDEN,
;; GTK_BORDER_STYLE_SOLID,
;; GTK_BORDER_STYLE_INSET,
;; GTK_BORDER_STYLE_OUTSET,
-;; GTK_BORDER_STYLE_HIDDEN,
;; GTK_BORDER_STYLE_DOTTED,
;; GTK_BORDER_STYLE_DASHED,
;; GTK_BORDER_STYLE_DOUBLE,
@@ -1227,10 +1181,10 @@
(c-name "GtkBorderStyle")
(values
'("none" "GTK_BORDER_STYLE_NONE" "0")
- '("solid" "GTK_BORDER_STYLE_SOLID" "1")
- '("inset" "GTK_BORDER_STYLE_INSET" "2")
- '("outset" "GTK_BORDER_STYLE_OUTSET" "3")
- '("hidden" "GTK_BORDER_STYLE_HIDDEN" "4")
+ '("hidden" "GTK_BORDER_STYLE_HIDDEN" "1")
+ '("solid" "GTK_BORDER_STYLE_SOLID" "2")
+ '("inset" "GTK_BORDER_STYLE_INSET" "3")
+ '("outset" "GTK_BORDER_STYLE_OUTSET" "4")
'("dotted" "GTK_BORDER_STYLE_DOTTED" "5")
'("dashed" "GTK_BORDER_STYLE_DASHED" "6")
'("double" "GTK_BORDER_STYLE_DOUBLE" "7")
@@ -1745,18 +1699,18 @@
;; Original typedef:
;; typedef enum
;; {
-;; GTK_ICON_LOOKUP_FORCE_SIZE = 1 << 0,
-;; GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 1,
-;; GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 2
+;; GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 0,
+;; GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 1,
+;; GTK_ICON_LOOKUP_PRELOAD = 1 << 2,
;; } GtkIconLookupFlags;
(define-flags-extended GtkIconLookupFlags
(in-module "Gsk")
(c-name "GtkIconLookupFlags")
(values
- '("size" "GTK_ICON_LOOKUP_FORCE_SIZE" "1 << 0")
- '("regular" "GTK_ICON_LOOKUP_FORCE_REGULAR" "1 << 1")
- '("symbolic" "GTK_ICON_LOOKUP_FORCE_SYMBOLIC" "1 << 2")
+ '("force-regular" "GTK_ICON_LOOKUP_FORCE_REGULAR" "1 << 0")
+ '("force-symbolic" "GTK_ICON_LOOKUP_FORCE_SYMBOLIC" "1 << 1")
+ '("preload" "GTK_ICON_LOOKUP_PRELOAD" "1 << 2")
)
)
diff --git a/gtk/src/gtk_extra_objects.defs b/gtk/src/gtk_extra_objects.defs
index 1fd86430..3db5627c 100644
--- a/gtk/src/gtk_extra_objects.defs
+++ b/gtk/src/gtk_extra_objects.defs
@@ -316,12 +316,6 @@
(gtype-id "GTK_TYPE_MENU_BUTTON")
)
-(define-object MenuToolButton
- (in-module "Gtk")
- (c-name "GtkMenuToolButton")
- (gtype-id "GTK_TYPE_MENU_TOOL_BUTTON")
-)
-
(define-object MessageDialog
(in-module "Gtk")
(c-name "GtkMessageDialog")
@@ -460,12 +454,6 @@
(gtype-id "GTK_TYPE_SELECTION_MODEL")
)
-(define-object SeparatorToolItem
- (in-module "Gtk")
- (c-name "GtkSeparatorToolItem")
- (gtype-id "GTK_TYPE_SEPARATOR_TOOL_ITEM")
-)
-
(define-object SingleSelection
(in-module "Gtk")
(c-name "GtkSingleSelection")
@@ -538,12 +526,6 @@
(gtype-id "GTK_TYPE_TEXT_TAG_TABLE")
)
-(define-object Toolbar
- (in-module "Gtk")
- (c-name "GtkToolbar")
- (gtype-id "GTK_TYPE_TOOLBAR")
-)
-
(define-object Tooltip
(in-module "Gtk")
(c-name "GtkTooltip")
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index a91aa8db..80842788 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -238,12 +238,6 @@
(gtype-id "GTK_TYPE_TEXT_TAG")
)
-(define-object ToolShell
- (in-module "Gtk")
- (c-name "GtkToolShell")
- (gtype-id "GTK_TYPE_TOOL_SHELL")
-)
-
(define-object TreeDragDest
(in-module "Gtk")
(c-name "GtkTreeDragDest")
@@ -373,27 +367,6 @@
(gtype-id "GTK_TYPE_BIN")
)
-(define-object ToolItem
- (in-module "Gtk")
- (parent "GtkBin")
- (c-name "GtkToolItem")
- (gtype-id "GTK_TYPE_TOOL_ITEM")
-)
-
-(define-object ToolButton
- (in-module "Gtk")
- (parent "GtkToolItem")
- (c-name "GtkToolButton")
- (gtype-id "GTK_TYPE_TOOL_BUTTON")
-)
-
-(define-object ToggleToolButton
- (in-module "Gtk")
- (parent "GtkToolButton")
- (c-name "GtkToggleToolButton")
- (gtype-id "GTK_TYPE_TOGGLE_TOOL_BUTTON")
-)
-
(define-object Popover
(in-module "Gtk")
(parent "GtkBin")
@@ -611,19 +584,6 @@
)
)
-(define-flags CalendarDisplayOptions
- (in-module "Gtk")
- (c-name "GtkCalendarDisplayOptions")
- (gtype-id "GTK_TYPE_CALENDAR_DISPLAY_OPTIONS")
- (values
- '("show-heading" "GTK_CALENDAR_SHOW_HEADING")
- '("show-day-names" "GTK_CALENDAR_SHOW_DAY_NAMES")
- '("no-month-change" "GTK_CALENDAR_NO_MONTH_CHANGE")
- '("show-week-numbers" "GTK_CALENDAR_SHOW_WEEK_NUMBERS")
- '("show-details" "GTK_CALENDAR_SHOW_DETAILS")
- )
-)
-
(define-enum CellRendererAccelMode
(in-module "Gtk")
(c-name "GtkCellRendererAccelMode")
@@ -675,7 +635,6 @@
'("builder" "GTK_DEBUG_BUILDER")
'("size-request" "GTK_DEBUG_SIZE_REQUEST")
'("no-css-cache" "GTK_DEBUG_NO_CSS_CACHE")
- '("baselines" "GTK_DEBUG_BASELINES")
'("interactive" "GTK_DEBUG_INTERACTIVE")
'("touchscreen" "GTK_DEBUG_TOUCHSCREEN")
'("actions" "GTK_DEBUG_ACTIONS")
@@ -1013,18 +972,6 @@
)
)
-(define-enum ToolbarStyle
- (in-module "Gtk")
- (c-name "GtkToolbarStyle")
- (gtype-id "GTK_TYPE_TOOLBAR_STYLE")
- (values
- '("icons" "GTK_TOOLBAR_ICONS")
- '("text" "GTK_TOOLBAR_TEXT")
- '("both" "GTK_TOOLBAR_BOTH")
- '("both-horiz" "GTK_TOOLBAR_BOTH_HORIZ")
- )
-)
-
(define-enum WrapMode
(in-module "Gtk")
(c-name "GtkWrapMode")
@@ -1207,10 +1154,10 @@
(gtype-id "GTK_TYPE_BORDER_STYLE")
(values
'("none" "GTK_BORDER_STYLE_NONE")
+ '("hidden" "GTK_BORDER_STYLE_HIDDEN")
'("solid" "GTK_BORDER_STYLE_SOLID")
'("inset" "GTK_BORDER_STYLE_INSET")
'("outset" "GTK_BORDER_STYLE_OUTSET")
- '("hidden" "GTK_BORDER_STYLE_HIDDEN")
'("dotted" "GTK_BORDER_STYLE_DOTTED")
'("dashed" "GTK_BORDER_STYLE_DASHED")
'("double" "GTK_BORDER_STYLE_DOUBLE")
@@ -1519,9 +1466,9 @@
(c-name "GtkIconLookupFlags")
(gtype-id "GTK_TYPE_ICON_LOOKUP_FLAGS")
(values
- '("size" "GTK_ICON_LOOKUP_FORCE_SIZE")
- '("regular" "GTK_ICON_LOOKUP_FORCE_REGULAR")
- '("symbolic" "GTK_ICON_LOOKUP_FORCE_SYMBOLIC")
+ '("force-regular" "GTK_ICON_LOOKUP_FORCE_REGULAR")
+ '("force-symbolic" "GTK_ICON_LOOKUP_FORCE_SYMBOLIC")
+ '("preload" "GTK_ICON_LOOKUP_PRELOAD")
)
)
@@ -2011,6 +1958,15 @@
)
)
+(define-method set_shape_handler
+ (of-object "GskPangoRenderer")
+ (c-name "gsk_pango_renderer_set_shape_handler")
+ (return-type "none")
+ (parameters
+ '("GskPangoShapeHandler" "handler")
+ )
+)
+
(define-function gsk_pango_renderer_acquire
(c-name "gsk_pango_renderer_acquire")
(return-type "GskPangoRenderer*")
@@ -4660,22 +4616,12 @@
(return-type "GtkWidget*")
)
-(define-method select_month
- (of-object "GtkCalendar")
- (c-name "gtk_calendar_select_month")
- (return-type "none")
- (parameters
- '("guint" "month")
- '("guint" "year")
- )
-)
-
(define-method select_day
(of-object "GtkCalendar")
(c-name "gtk_calendar_select_day")
(return-type "none")
(parameters
- '("guint" "day")
+ '("GDateTime*" "date")
)
)
@@ -4703,71 +4649,55 @@
(return-type "none")
)
-(define-method set_display_options
+(define-method set_show_week_numbers
(of-object "GtkCalendar")
- (c-name "gtk_calendar_set_display_options")
+ (c-name "gtk_calendar_set_show_week_numbers")
(return-type "none")
(parameters
- '("GtkCalendarDisplayOptions" "flags")
+ '("gboolean" "value")
)
)
-(define-method get_display_options
+(define-method get_show_week_numbers
(of-object "GtkCalendar")
- (c-name "gtk_calendar_get_display_options")
- (return-type "GtkCalendarDisplayOptions")
-)
-
-(define-method get_date
- (of-object "GtkCalendar")
- (c-name "gtk_calendar_get_date")
- (return-type "none")
- (parameters
- '("guint*" "year")
- '("guint*" "month")
- '("guint*" "day")
- )
+ (c-name "gtk_calendar_get_show_week_numbers")
+ (return-type "gboolean")
)
-(define-method set_detail_func
+(define-method set_show_heading
(of-object "GtkCalendar")
- (c-name "gtk_calendar_set_detail_func")
+ (c-name "gtk_calendar_set_show_heading")
(return-type "none")
(parameters
- '("GtkCalendarDetailFunc" "func")
- '("gpointer" "data")
- '("GDestroyNotify" "destroy")
+ '("gboolean" "value")
)
)
-(define-method set_detail_width_chars
+(define-method get_show_heading
(of-object "GtkCalendar")
- (c-name "gtk_calendar_set_detail_width_chars")
- (return-type "none")
- (parameters
- '("gint" "chars")
- )
+ (c-name "gtk_calendar_get_show_heading")
+ (return-type "gboolean")
)
-(define-method set_detail_height_rows
+(define-method set_show_day_names
(of-object "GtkCalendar")
- (c-name "gtk_calendar_set_detail_height_rows")
+ (c-name "gtk_calendar_set_show_day_names")
(return-type "none")
(parameters
- '("gint" "rows")
+ '("gboolean" "value")
)
)
-(define-method get_detail_width_chars
+(define-method get_show_day_names
(of-object "GtkCalendar")
- (c-name "gtk_calendar_get_detail_width_chars")
- (return-type "gint")
+ (c-name "gtk_calendar_get_show_day_names")
+ (return-type "gboolean")
)
-(define-method get_detail_height_rows
+(define-method get_date
(of-object "GtkCalendar")
- (c-name "gtk_calendar_get_detail_height_rows")
- (return-type "gint")
+ (c-name "gtk_calendar_get_date")
+ (return-type "GDateTime*")
)
(define-method get_day_is_marked
@@ -11900,6 +11830,16 @@
)
)
+(define-function gtk_icon_paintable_new_for_file
+ (c-name "gtk_icon_paintable_new_for_file")
+ (return-type "GtkIconPaintable*")
+ (parameters
+ '("GFile*" "file")
+ '("gint" "size")
+ '("gint" "scale")
+ )
+)
+
(define-method list_icons
(of-object "GtkIconTheme")
(c-name "gtk_icon_theme_list_icons")
@@ -11911,9 +11851,15 @@
(return-type "GType")
)
-(define-method get_filename
+(define-method get_file
+ (of-object "GtkIconPaintable")
+ (c-name "gtk_icon_paintable_get_file")
+ (return-type "GFile*")
+)
+
+(define-method get_icon_name
(of-object "GtkIconPaintable")
- (c-name "gtk_icon_paintable_get_filename")
+ (c-name "gtk_icon_paintable_get_icon_name")
(return-type "const-gchar*")
)
@@ -11923,15 +11869,6 @@
(return-type "gboolean")
)
-(define-method download_texture
- (of-object "GtkIconPaintable")
- (c-name "gtk_icon_paintable_download_texture")
- (return-type "GdkTexture*")
- (parameters
- '("GError**" "error")
- )
-)
-
;; From gtkiconview.h
@@ -14309,11 +14246,6 @@
(return-type "gboolean")
)
-(define-function gtk_get_main_thread
- (c-name "gtk_get_main_thread")
- (return-type "GThread*")
-)
-
(define-function gtk_init_abi_check
(c-name "gtk_init_abi_check")
(return-type "none")
@@ -14349,47 +14281,6 @@
(return-type "GtkTextDirection")
)
-(define-function gtk_events_pending
- (c-name "gtk_events_pending")
- (return-type "gboolean")
-)
-
-(define-function gtk_main_do_event
- (c-name "gtk_main_do_event")
- (return-type "none")
- (parameters
- '("GdkEvent*" "event")
- )
-)
-
-(define-function gtk_main
- (c-name "gtk_main")
- (return-type "none")
-)
-
-(define-function gtk_main_level
- (c-name "gtk_main_level")
- (return-type "guint")
-)
-
-(define-function gtk_main_quit
- (c-name "gtk_main_quit")
- (return-type "none")
-)
-
-(define-function gtk_main_iteration
- (c-name "gtk_main_iteration")
- (return-type "gboolean")
-)
-
-(define-function gtk_main_iteration_do
- (c-name "gtk_main_iteration_do")
- (return-type "gboolean")
- (parameters
- '("gboolean" "blocking")
- )
-)
-
(define-function gtk_grab_add
(c-name "gtk_grab_add")
(return-type "none")
@@ -14478,15 +14369,6 @@
)
)
-(define-function gtk_propagate_event
- (c-name "gtk_propagate_event")
- (return-type "gboolean")
- (parameters
- '("GtkWidget*" "widget")
- '("GdkEvent*" "event")
- )
-)
-
;; From gtkmaplistmodel.h
@@ -15040,58 +14922,6 @@
-;; From gtkmenutoolbutton.h
-
-(define-function gtk_menu_tool_button_get_type
- (c-name "gtk_menu_tool_button_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_menu_tool_button_new
- (c-name "gtk_menu_tool_button_new")
- (is-constructor-of "GtkMenuToolButton")
- (return-type "GtkToolItem*")
- (parameters
- '("GtkWidget*" "icon_widget")
- '("const-gchar*" "label")
- )
-)
-
-(define-method set_popover
- (of-object "GtkMenuToolButton")
- (c-name "gtk_menu_tool_button_set_popover")
- (return-type "none")
- (parameters
- '("GtkWidget*" "popover")
- )
-)
-
-(define-method get_popover
- (of-object "GtkMenuToolButton")
- (c-name "gtk_menu_tool_button_get_popover")
- (return-type "GtkWidget*")
-)
-
-(define-method set_arrow_tooltip_text
- (of-object "GtkMenuToolButton")
- (c-name "gtk_menu_tool_button_set_arrow_tooltip_text")
- (return-type "none")
- (parameters
- '("const-gchar*" "text")
- )
-)
-
-(define-method set_arrow_tooltip_markup
- (of-object "GtkMenuToolButton")
- (c-name "gtk_menu_tool_button_set_arrow_tooltip_markup")
- (return-type "none")
- (parameters
- '("const-gchar*" "markup")
- )
-)
-
-
-
;; From gtkmessagedialog.h
(define-function gtk_message_dialog_get_type
@@ -19047,45 +18877,6 @@
-;; From gtkradiotoolbutton.h
-
-(define-function gtk_radio_tool_button_get_type
- (c-name "gtk_radio_tool_button_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_radio_tool_button_new
- (c-name "gtk_radio_tool_button_new")
- (is-constructor-of "GtkRadioToolButton")
- (return-type "GtkToolItem*")
- (parameters
- '("GSList*" "group")
- )
-)
-
-(define-method new_from_widget
- (of-object "GtkRadioToolButton")
- (c-name "gtk_radio_tool_button_new_from_widget")
- (return-type "GtkToolItem*")
-)
-
-(define-method get_group
- (of-object "GtkRadioToolButton")
- (c-name "gtk_radio_tool_button_get_group")
- (return-type "GSList*")
-)
-
-(define-method set_group
- (of-object "GtkRadioToolButton")
- (c-name "gtk_radio_tool_button_set_group")
- (return-type "none")
- (parameters
- '("GSList*" "group")
- )
-)
-
-
-
;; From gtkrange.h
(define-function gtk_range_get_type
@@ -20496,32 +20287,6 @@
-;; From gtksearchlistmodel.h
-
-(define-function gtk_search_list_model_new
- (c-name "gtk_search_list_model_new")
- (is-constructor-of "GtkSearchListModel")
- (return-type "GtkSearchListModel*")
- (parameters
- '("GListModel*" "model")
- '("GtkFilter*" "filter")
- )
-)
-
-(define-method next_match
- (of-object "GtkSearchListModel")
- (c-name "gtk_search_list_model_next_match")
- (return-type "gboolean")
-)
-
-(define-method previous_match
- (of-object "GtkSearchListModel")
- (c-name "gtk_search_list_model_previous_match")
- (return-type "gboolean")
-)
-
-
-
;; From gtkselection.h
(define-method get_target
@@ -20825,36 +20590,6 @@
-;; From gtkseparatortoolitem.h
-
-(define-function gtk_separator_tool_item_get_type
- (c-name "gtk_separator_tool_item_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_separator_tool_item_new
- (c-name "gtk_separator_tool_item_new")
- (is-constructor-of "GtkSeparatorToolItem")
- (return-type "GtkToolItem*")
-)
-
-(define-method get_draw
- (of-object "GtkSeparatorToolItem")
- (c-name "gtk_separator_tool_item_get_draw")
- (return-type "gboolean")
-)
-
-(define-method set_draw
- (of-object "GtkSeparatorToolItem")
- (c-name "gtk_separator_tool_item_set_draw")
- (return-type "none")
- (parameters
- '("gboolean" "draw")
- )
-)
-
-
-
;; From gtksettings.h
(define-function gtk_settings_get_type
@@ -22798,13 +22533,13 @@
)
)
-(define-method insert_texture
+(define-method insert_paintable
(of-object "GtkTextBuffer")
- (c-name "gtk_text_buffer_insert_texture")
+ (c-name "gtk_text_buffer_insert_paintable")
(return-type "none")
(parameters
'("GtkTextIter*" "iter")
- '("GdkTexture*" "texture")
+ '("GdkPaintable*" "texture")
)
)
@@ -23616,10 +23351,10 @@
)
)
-(define-method get_texture
+(define-method get_paintable
(of-object "GtkTextIter")
- (c-name "gtk_text_iter_get_texture")
- (return-type "GdkTexture*")
+ (c-name "gtk_text_iter_get_paintable")
+ (return-type "GdkPaintable*")
)
(define-method get_marks
@@ -25063,457 +24798,6 @@
-;; From gtktoggletoolbutton.h
-
-(define-function gtk_toggle_tool_button_get_type
- (c-name "gtk_toggle_tool_button_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_toggle_tool_button_new
- (c-name "gtk_toggle_tool_button_new")
- (is-constructor-of "GtkToggleToolButton")
- (return-type "GtkToolItem*")
-)
-
-(define-method set_active
- (of-object "GtkToggleToolButton")
- (c-name "gtk_toggle_tool_button_set_active")
- (return-type "none")
- (parameters
- '("gboolean" "is_active")
- )
-)
-
-(define-method get_active
- (of-object "GtkToggleToolButton")
- (c-name "gtk_toggle_tool_button_get_active")
- (return-type "gboolean")
-)
-
-
-
-;; From gtktoolbar.h
-
-(define-function gtk_toolbar_get_type
- (c-name "gtk_toolbar_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_toolbar_new
- (c-name "gtk_toolbar_new")
- (is-constructor-of "GtkToolbar")
- (return-type "GtkWidget*")
-)
-
-(define-method insert
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_insert")
- (return-type "none")
- (parameters
- '("GtkToolItem*" "item")
- '("gint" "pos")
- )
-)
-
-(define-method get_item_index
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_get_item_index")
- (return-type "gint")
- (parameters
- '("GtkToolItem*" "item")
- )
-)
-
-(define-method get_n_items
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_get_n_items")
- (return-type "gint")
-)
-
-(define-method get_nth_item
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_get_nth_item")
- (return-type "GtkToolItem*")
- (parameters
- '("gint" "n")
- )
-)
-
-(define-method get_show_arrow
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_get_show_arrow")
- (return-type "gboolean")
-)
-
-(define-method set_show_arrow
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_set_show_arrow")
- (return-type "none")
- (parameters
- '("gboolean" "show_arrow")
- )
-)
-
-(define-method get_style
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_get_style")
- (return-type "GtkToolbarStyle")
-)
-
-(define-method set_style
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_set_style")
- (return-type "none")
- (parameters
- '("GtkToolbarStyle" "style")
- )
-)
-
-(define-method unset_style
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_unset_style")
- (return-type "none")
-)
-
-(define-method get_drop_index
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_get_drop_index")
- (return-type "gint")
- (parameters
- '("gint" "x")
- '("gint" "y")
- )
-)
-
-(define-method set_drop_highlight_item
- (of-object "GtkToolbar")
- (c-name "gtk_toolbar_set_drop_highlight_item")
- (return-type "none")
- (parameters
- '("GtkToolItem*" "tool_item")
- '("gint" "index_")
- )
-)
-
-
-
-;; From gtktoolbutton.h
-
-(define-function gtk_tool_button_get_type
- (c-name "gtk_tool_button_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_tool_button_new
- (c-name "gtk_tool_button_new")
- (is-constructor-of "GtkToolButton")
- (return-type "GtkToolItem*")
- (parameters
- '("GtkWidget*" "icon_widget")
- '("const-gchar*" "label")
- )
-)
-
-(define-method set_label
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_set_label")
- (return-type "none")
- (parameters
- '("const-gchar*" "label")
- )
-)
-
-(define-method get_label
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_get_label")
- (return-type "const-gchar*")
-)
-
-(define-method set_use_underline
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_set_use_underline")
- (return-type "none")
- (parameters
- '("gboolean" "use_underline")
- )
-)
-
-(define-method get_use_underline
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_get_use_underline")
- (return-type "gboolean")
-)
-
-(define-method set_icon_name
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_set_icon_name")
- (return-type "none")
- (parameters
- '("const-gchar*" "icon_name")
- )
-)
-
-(define-method get_icon_name
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_get_icon_name")
- (return-type "const-gchar*")
-)
-
-(define-method set_icon_widget
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_set_icon_widget")
- (return-type "none")
- (parameters
- '("GtkWidget*" "icon_widget")
- )
-)
-
-(define-method get_icon_widget
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_get_icon_widget")
- (return-type "GtkWidget*")
-)
-
-(define-method set_label_widget
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_set_label_widget")
- (return-type "none")
- (parameters
- '("GtkWidget*" "label_widget")
- )
-)
-
-(define-method get_label_widget
- (of-object "GtkToolButton")
- (c-name "gtk_tool_button_get_label_widget")
- (return-type "GtkWidget*")
-)
-
-
-
-;; From gtktoolitem.h
-
-(define-function gtk_tool_item_get_type
- (c-name "gtk_tool_item_get_type")
- (return-type "GType")
-)
-
-(define-function gtk_tool_item_new
- (c-name "gtk_tool_item_new")
- (is-constructor-of "GtkToolItem")
- (return-type "GtkToolItem*")
-)
-
-(define-method set_homogeneous
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_homogeneous")
- (return-type "none")
- (parameters
- '("gboolean" "homogeneous")
- )
-)
-
-(define-method get_homogeneous
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_homogeneous")
- (return-type "gboolean")
-)
-
-(define-method set_expand
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_expand")
- (return-type "none")
- (parameters
- '("gboolean" "expand")
- )
-)
-
-(define-method get_expand
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_expand")
- (return-type "gboolean")
-)
-
-(define-method set_tooltip_text
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_tooltip_text")
- (return-type "none")
- (parameters
- '("const-gchar*" "text")
- )
-)
-
-(define-method set_tooltip_markup
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_tooltip_markup")
- (return-type "none")
- (parameters
- '("const-gchar*" "markup")
- )
-)
-
-(define-method set_visible_horizontal
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_visible_horizontal")
- (return-type "none")
- (parameters
- '("gboolean" "visible_horizontal")
- )
-)
-
-(define-method get_visible_horizontal
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_visible_horizontal")
- (return-type "gboolean")
-)
-
-(define-method set_visible_vertical
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_visible_vertical")
- (return-type "none")
- (parameters
- '("gboolean" "visible_vertical")
- )
-)
-
-(define-method get_visible_vertical
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_visible_vertical")
- (return-type "gboolean")
-)
-
-(define-method get_is_important
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_is_important")
- (return-type "gboolean")
-)
-
-(define-method set_is_important
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_is_important")
- (return-type "none")
- (parameters
- '("gboolean" "is_important")
- )
-)
-
-(define-method get_ellipsize_mode
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_ellipsize_mode")
- (return-type "PangoEllipsizeMode")
-)
-
-(define-method get_orientation
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_orientation")
- (return-type "GtkOrientation")
-)
-
-(define-method get_toolbar_style
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_toolbar_style")
- (return-type "GtkToolbarStyle")
-)
-
-(define-method get_text_alignment
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_text_alignment")
- (return-type "gfloat")
-)
-
-(define-method get_text_orientation
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_text_orientation")
- (return-type "GtkOrientation")
-)
-
-(define-method get_text_size_group
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_text_size_group")
- (return-type "GtkSizeGroup*")
-)
-
-(define-method get_overflow_text
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_overflow_text")
- (return-type "const-char*")
-)
-
-(define-method set_overflow_text
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_overflow_text")
- (return-type "none")
- (parameters
- '("const-char*" "overflow_text")
- )
-)
-
-(define-method rebuild_menu
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_rebuild_menu")
- (return-type "none")
-)
-
-(define-method toolbar_reconfigured
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_toolbar_reconfigured")
- (return-type "none")
-)
-
-
-
-;; From gtktoolshell.h
-
-(define-function gtk_tool_shell_get_type
- (c-name "gtk_tool_shell_get_type")
- (return-type "GType")
-)
-
-(define-method get_orientation
- (of-object "GtkToolShell")
- (c-name "gtk_tool_shell_get_orientation")
- (return-type "GtkOrientation")
-)
-
-(define-method get_style
- (of-object "GtkToolShell")
- (c-name "gtk_tool_shell_get_style")
- (return-type "GtkToolbarStyle")
-)
-
-(define-method rebuild_menu
- (of-object "GtkToolShell")
- (c-name "gtk_tool_shell_rebuild_menu")
- (return-type "none")
-)
-
-(define-method get_text_orientation
- (of-object "GtkToolShell")
- (c-name "gtk_tool_shell_get_text_orientation")
- (return-type "GtkOrientation")
-)
-
-(define-method get_text_alignment
- (of-object "GtkToolShell")
- (c-name "gtk_tool_shell_get_text_alignment")
- (return-type "gfloat")
-)
-
-(define-method get_ellipsize_mode
- (of-object "GtkToolShell")
- (c-name "gtk_tool_shell_get_ellipsize_mode")
- (return-type "PangoEllipsizeMode")
-)
-
-(define-method get_text_size_group
- (of-object "GtkToolShell")
- (c-name "gtk_tool_shell_get_text_size_group")
- (return-type "GtkSizeGroup*")
-)
-
-
-
;; From gtktooltip.h
(define-function gtk_tooltip_get_type
@@ -29811,30 +29095,30 @@
(return-type "gboolean")
)
-(define-method add_style_class
+(define-method add_css_class
(of-object "GtkWidget")
- (c-name "gtk_widget_add_style_class")
+ (c-name "gtk_widget_add_css_class")
(return-type "none")
(parameters
- '("const-char*" "style_class")
+ '("const-char*" "css_class")
)
)
-(define-method remove_style_class
+(define-method remove_css_class
(of-object "GtkWidget")
- (c-name "gtk_widget_remove_style_class")
+ (c-name "gtk_widget_remove_css_class")
(return-type "none")
(parameters
- '("const-char*" "style_class")
+ '("const-char*" "css_class")
)
)
-(define-method has_style_class
+(define-method has_css_class
(of-object "GtkWidget")
- (c-name "gtk_widget_has_style_class")
+ (c-name "gtk_widget_has_css_class")
(return-type "gboolean")
(parameters
- '("const-char*" "style_class")
+ '("const-char*" "css_class")
)
)
@@ -30797,11 +30081,6 @@
(return-type "GType")
)
-(define-function gtk_calendar_display_options_get_type
- (c-name "gtk_calendar_display_options_get_type")
- (return-type "GType")
-)
-
(define-function gtk_cell_renderer_state_get_type
(c-name "gtk_cell_renderer_state_get_type")
(return-type "GType")
@@ -30947,11 +30226,6 @@
(return-type "GType")
)
-(define-function gtk_toolbar_style_get_type
- (c-name "gtk_toolbar_style_get_type")
- (return-type "GType")
-)
-
(define-function gtk_wrap_mode_get_type
(c-name "gtk_wrap_mode_get_type")
(return-type "GType")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index c32bcb05..f82b046c 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -893,24 +893,12 @@
;; From GtkCalendar
-(define-signal month-changed
- (of-object "GtkCalendar")
- (return-type "void")
- (flags "Run First")
-)
-
(define-signal day-selected
(of-object "GtkCalendar")
(return-type "void")
(flags "Run First")
)
-(define-signal day-selected-double-click
- (of-object "GtkCalendar")
- (return-type "void")
- (flags "Run First")
-)
-
(define-signal prev-month
(of-object "GtkCalendar")
(return-type "void")
@@ -942,7 +930,7 @@
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "0")
+ (default-value "1")
)
(define-property month
@@ -985,16 +973,6 @@
(default-value "TRUE")
)
-(define-property no-month-change
- (of-object "GtkCalendar")
- (prop-type "GParamBoolean")
- (docs "If TRUE, the selected month cannot be changed")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
(define-property show-week-numbers
(of-object "GtkCalendar")
(prop-type "GParamBoolean")
@@ -1005,36 +983,6 @@
(default-value "FALSE")
)
-(define-property show-details
- (of-object "GtkCalendar")
- (prop-type "GParamBoolean")
- (docs "If TRUE, details are shown")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
-(define-property detail-width-chars
- (of-object "GtkCalendar")
- (prop-type "GParamInt")
- (docs "Details width in characters")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
-(define-property detail-height-rows
- (of-object "GtkCalendar")
- (prop-type "GParamInt")
- (docs "Details height in rows")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "0")
-)
-
;; From GtkCheckButton
(define-property draw-indicator
@@ -5120,14 +5068,6 @@
(default-value "FALSE")
)
-;; From GtkIconTheme
-
-(define-signal changed
- (of-object "GtkIconTheme")
- (return-type "void")
- (flags "Run Last")
-)
-
;; From GtkImage
(define-property paintable
@@ -5265,6 +5205,45 @@
(default-value "TRUE")
)
+;; From GtkIconPaintable
+
+(define-property file
+ (of-object "GtkIconPaintable")
+ (prop-type "GParamObject")
+ (docs "The file representing the icon")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+)
+
+(define-property icon-name
+ (of-object "GtkIconPaintable")
+ (prop-type "GParamString")
+ (docs "The icon name choosen during lookup")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+ (default-value "")
+)
+
+(define-property is-symbolic
+ (of-object "GtkIconPaintable")
+ (prop-type "GParamBoolean")
+ (docs "If the icon is symbolic")
+ (readable #t)
+ (writable #t)
+ (construct-only #t)
+ (default-value "FALSE")
+)
+
+;; From GtkIconTheme
+
+(define-signal changed
+ (of-object "GtkIconTheme")
+ (return-type "void")
+ (flags "Run Last")
+)
+
;; From GtkIconView
(define-signal selection-changed
@@ -6271,23 +6250,6 @@
(default-value "GTK_RELIEF_NORMAL")
)
-;; From GtkMenuToolButton
-
-(define-signal show-menu
- (of-object "GtkMenuToolButton")
- (return-type "void")
- (flags "Run First")
-)
-
-(define-property popover
- (of-object "GtkMenuToolButton")
- (prop-type "GParamObject")
- (docs "The dropdown popover")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
;; From GtkMessageDialog
(define-property message-type
@@ -7729,17 +7691,6 @@
(construct-only #f)
)
-;; From GtkRadioToolButton
-
-(define-property group
- (of-object "GtkRadioToolButton")
- (prop-type "GParamObject")
- (docs "The radio tool button whose group this button belongs to.")
- (readable #f)
- (writable #t)
- (construct-only #f)
-)
-
;; From GtkRange
(define-signal value-changed
@@ -8331,18 +8282,6 @@
;; From GtkSeparator
-;; From GtkSeparatorToolItem
-
-(define-property draw
- (of-object "GtkSeparatorToolItem")
- (prop-type "GParamBoolean")
- (docs "Whether the separator is drawn, or just blank")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
;; From GtkSettings
(define-property gtk-double-click-time
@@ -9543,208 +9482,6 @@
(default-value "FALSE")
)
-;; From GtkToggleButton
-
-(define-signal toggled
- (of-object "GtkToggleButton")
- (return-type "void")
- (flags "Run First")
-)
-
-(define-property active
- (of-object "GtkToggleButton")
- (prop-type "GParamBoolean")
- (docs "If the toggle button should be pressed in")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-;; From GtkToolbar
-
-(define-signal orientation-changed
- (of-object "GtkToolbar")
- (return-type "void")
- (flags "Run First")
- (parameters
- '("GtkOrientation" "p0")
- )
-)
-
-(define-signal style-changed
- (of-object "GtkToolbar")
- (return-type "void")
- (flags "Run First")
- (parameters
- '("GtkToolbarStyle" "p0")
- )
-)
-
-(define-signal popup-context-menu
- (of-object "GtkToolbar")
- (return-type "gboolean")
- (flags "Run Last")
- (parameters
- '("gint" "p0")
- '("gint" "p1")
- '("gint" "p2")
- )
-)
-
-(define-signal focus-home-or-end
- (of-object "GtkToolbar")
- (return-type "gboolean")
- (flags "Run Last, Action")
- (parameters
- '("gboolean" "p0")
- )
-)
-
-(define-property toolbar-style
- (of-object "GtkToolbar")
- (prop-type "GParamEnum")
- (docs "How to draw the toolbar")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "GTK_TOOLBAR_BOTH_HORIZ")
-)
-
-(define-property show-arrow
- (of-object "GtkToolbar")
- (prop-type "GParamBoolean")
- (docs "If an arrow should be shown if the toolbar doesn’t fit")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
-;; From GtkToolItem
-
-(define-signal toolbar-reconfigured
- (of-object "GtkToolItem")
- (return-type "void")
- (flags "Run Last")
-)
-
-(define-property visible-horizontal
- (of-object "GtkToolItem")
- (prop-type "GParamBoolean")
- (docs "Whether the toolbar item is visible when the toolbar is in a horizontal orientation.")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
-(define-property visible-vertical
- (of-object "GtkToolItem")
- (prop-type "GParamBoolean")
- (docs "Whether the toolbar item is visible when the toolbar is in a vertical orientation.")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "TRUE")
-)
-
-(define-property is-important
- (of-object "GtkToolItem")
- (prop-type "GParamBoolean")
- (docs "Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in
GTK_TOOLBAR_BOTH_HORIZ mode")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-property homogeneous
- (of-object "GtkToolItem")
- (prop-type "GParamBoolean")
- (docs "Whether the item should be the same size as other homogeneous items")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-property expand-item
- (of-object "GtkToolItem")
- (prop-type "GParamBoolean")
- (docs "Whether the item should receive extra space when the toolbar grows")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-property overflow-text
- (of-object "GtkToolItem")
- (prop-type "GParamString")
- (docs "Label to use in the overflow menu")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
-;; From GtkToolButton
-
-(define-signal clicked
- (of-object "GtkToolButton")
- (return-type "void")
- (flags "Run First, Action")
-)
-
-(define-property label
- (of-object "GtkToolButton")
- (prop-type "GParamString")
- (docs "Text to show in the item.")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
-(define-property use-underline
- (of-object "GtkToolButton")
- (prop-type "GParamBoolean")
- (docs "If set, an underline in the label property indicates that the next character should be used for the
mnemonic accelerator key in the overflow menu")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "FALSE")
-)
-
-(define-property label-widget
- (of-object "GtkToolButton")
- (prop-type "GParamObject")
- (docs "Widget to use as the item label")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
-(define-property icon-name
- (of-object "GtkToolButton")
- (prop-type "GParamString")
- (docs "The name of the themed icon displayed on the item")
- (readable #t)
- (writable #t)
- (construct-only #f)
- (default-value "")
-)
-
-(define-property icon-widget
- (of-object "GtkToolButton")
- (prop-type "GParamObject")
- (docs "Icon widget to display in the item")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
;; From GtkText
(define-signal activate
@@ -10023,13 +9760,13 @@
)
)
-(define-signal insert-texture
+(define-signal insert-paintable
(of-object "GtkTextBuffer")
(return-type "void")
(flags "Run Last")
(parameters
'("GtkTextIter*" "p0")
- '("GdkTexture*" "p1")
+ '("GdkPaintable*" "p1")
)
)
@@ -11304,16 +11041,16 @@
(construct-only #f)
)
-;; From GtkToggleToolButton
+;; From GtkToggleButton
(define-signal toggled
- (of-object "GtkToggleToolButton")
+ (of-object "GtkToggleButton")
(return-type "void")
(flags "Run First")
)
(define-property active
- (of-object "GtkToggleToolButton")
+ (of-object "GtkToggleButton")
(prop-type "GParamBoolean")
(docs "If the toggle button should be pressed in")
(readable #t)
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index a069a2a0..fe79f28d 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -131,9 +131,10 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_GRID_LAYOUT )
<< get_defs( GTK_TYPE_GRID_LAYOUT_CHILD )
<< get_defs( GTK_TYPE_HEADER_BAR )
- << get_defs( GTK_TYPE_ICON_THEME )
<< get_defs( GTK_TYPE_IMAGE )
<< get_defs( GTK_TYPE_INFO_BAR )
+ << get_defs( GTK_TYPE_ICON_PAINTABLE )
+ << get_defs( GTK_TYPE_ICON_THEME )
<< get_defs( GTK_TYPE_ICON_VIEW )
<< get_defs( GTK_TYPE_LABEL )
<< get_defs( GTK_TYPE_LAYOUT_CHILD )
@@ -146,7 +147,6 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_MEDIA_FILE )
<< get_defs( GTK_TYPE_MEDIA_STREAM )
<< get_defs( GTK_TYPE_MENU_BUTTON )
- << get_defs( GTK_TYPE_MENU_TOOL_BUTTON )
<< get_defs( GTK_TYPE_MESSAGE_DIALOG )
<< get_defs( GTK_TYPE_NATIVE_DIALOG )
<< get_defs( GTK_TYPE_NO_SELECTION )
@@ -175,7 +175,6 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_PRINT_OPERATION_PREVIEW )
<< get_defs( GTK_TYPE_PROGRESS_BAR )
<< get_defs( GTK_TYPE_RADIO_BUTTON )
- << get_defs( GTK_TYPE_RADIO_TOOL_BUTTON )
<< get_defs( GTK_TYPE_RANGE )
<< get_defs( GTK_TYPE_RECENT_MANAGER )
<< get_defs( GTK_TYPE_REVEALER )
@@ -189,7 +188,6 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_SEARCH_ENTRY )
<< get_defs( GTK_TYPE_SELECTION_MODEL )
<< get_defs( GTK_TYPE_SEPARATOR )
- << get_defs( GTK_TYPE_SEPARATOR_TOOL_ITEM )
<< get_defs( GTK_TYPE_SETTINGS )
<< get_defs( GTK_TYPE_SHORTCUT_LABEL )
<< get_defs( GTK_TYPE_SHORTCUTS_GROUP )
@@ -208,17 +206,13 @@ int main(int /* argc */, char** /* argv */)
<< get_defs( GTK_TYPE_STYLE_CONTEXT )
<< get_defs( GTK_TYPE_STYLE_PROVIDER )
<< get_defs( GTK_TYPE_SWITCH )
- << get_defs( GTK_TYPE_TOGGLE_BUTTON )
- << get_defs( GTK_TYPE_TOOLBAR )
- << get_defs( GTK_TYPE_TOOL_ITEM )
- << get_defs( GTK_TYPE_TOOL_BUTTON )
<< get_defs( GTK_TYPE_TEXT )
<< get_defs( GTK_TYPE_TEXT_BUFFER )
<< get_defs( GTK_TYPE_TEXT_MARK )
<< get_defs( GTK_TYPE_TEXT_TAG )
<< get_defs( GTK_TYPE_TEXT_TAG_TABLE )
<< get_defs( GTK_TYPE_TEXT_VIEW )
- << get_defs( GTK_TYPE_TOGGLE_TOOL_BUTTON )
+ << get_defs( GTK_TYPE_TOGGLE_BUTTON )
<< get_defs( GTK_TYPE_TOOLTIP )
<< get_defs( GTK_TYPE_TREE_MODEL )
<< get_defs( GTK_TYPE_TREE_SELECTION )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]