[gtkmm] Gtk: Regenerate docs.xml and .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk: Regenerate docs.xml and .defs files
- Date: Sun, 12 Jul 2020 10:02:54 +0000 (UTC)
commit 99289a816a31b1f940fc8420b21275584228057c
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Jul 12 12:00:09 2020 +0200
Gtk: Regenerate docs.xml and .defs files
and update gtk_docs_override.xml
gtk/src/gtk_docs.xml | 732 +++++++++++++++++++++++++-----------------
gtk/src/gtk_docs_override.xml | 1 +
gtk/src/gtk_enums.defs | 29 +-
gtk/src/gtk_methods.defs | 280 +++++++++-------
gtk/src/gtk_signals.defs | 60 ++--
5 files changed, 644 insertions(+), 458 deletions(-)
---
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index a759b964..084a2c0c 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -3219,6 +3219,13 @@ The #GType for elements of this object
</description>
</property>
+<property name="GtkDirectoryList:monitored">
+<description>
+%TRUE if the directory is monitored for changed
+
+</description>
+</property>
+
<property name="GtkDragIcon:child">
<description>
The widget to display as drag icon.
@@ -5024,77 +5031,32 @@ widget containing the expander upon expanding and collapsing.
</description>
</property>
-<signal name="GtkFileChooser::current-folder-changed">
+<property name="GtkFileChooser:create-folders">
<description>
-This signal is emitted when the current folder in a #GtkFileChooser
-changes. This can happen due to the user performing some action that
-changes folders, such as selecting a bookmark or visiting a folder on the
-file list. It can also happen as a result of calling a function to
-explicitly change the current folder in a file chooser.
-
-Normally you do not need to connect to this signal, unless you need to keep
-track of which folder a file chooser is showing.
-
-See also: gtk_file_chooser_set_current_folder(),
-gtk_file_chooser_get_current_folder(),
+Whether a file chooser not in %GTK_FILE_CHOOSER_ACTION_OPEN mode
+will offer the user to create new folders.
</description>
-<parameters>
-<parameter name="chooser">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
+</property>
-<signal name="GtkFileChooser::file-activated">
+<property name="GtkFileChooser:filters">
<description>
-This signal is emitted when the user "activates" a file in the file
-chooser. This can happen by double-clicking on a file in the file list, or
-by pressing `Enter`.
+A #GListModel containing the filters that have been
+added with gtk_file_chooser_add_filter().
-Normally you do not need to connect to this signal. It is used internally
-by #GtkFileChooserDialog to know when to activate the default button in the
-dialog.
-
-See also: gtk_file_chooser_get_file(), gtk_file_chooser_get_files()
+The returned object should not be modified. It may
+or may not be updated for later changes.
</description>
-<parameters>
-<parameter name="chooser">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
+</property>
-<signal name="GtkFileChooser::selection-changed">
+<property name="GtkFileChooser:shortcut-folders">
<description>
-This signal is emitted when there is a change in the set of selected files
-in a #GtkFileChooser. This can happen when the user modifies the selection
-with the mouse or the keyboard, or when explicitly calling functions to
-change the selection.
+A #GListModel containing the shortcut folders that have been
+added with gtk_file_chooser_add_shortcut().
-Normally you do not need to connect to this signal, as it is easier to wait
-for the file chooser to finish running, and then to get the list of
-selected files using the functions mentioned below.
-
-</description>
-<parameters>
-<parameter name="chooser">
-<parameter_description> the object which received the signal.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</signal>
-
-<property name="GtkFileChooser:create-folders">
-<description>
-Whether a file chooser not in %GTK_FILE_CHOOSER_ACTION_OPEN mode
-will offer the user to create new folders.
+The returned object should not be modified. It may
+or may not be updated for later changes.
</description>
</property>
@@ -5185,7 +5147,8 @@ adding a bookmark).
</parameter_description>
</parameter>
<parameter name="GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME">
-<parameter_description> Indicates an incomplete hostname (e.g. "http://foo" without a slash after
that).
+<parameter_description> Indicates an incomplete hostname
+(e.g. "http://foo" without a slash after that).
</parameter_description>
</parameter>
</parameters>
@@ -5473,33 +5436,6 @@ interface if there is a selectable list of filters.
</description>
</property>
-<enum name="GtkFileFilterFlags">
-<description>
-These flags indicate what parts of a #GtkFileFilterInfo struct
-are filled or need to be filled.
-
-</description>
-<parameters>
-<parameter name="GTK_FILE_FILTER_FILENAME">
-<parameter_description> the filename of the file being tested
-</parameter_description>
-</parameter>
-<parameter name="GTK_FILE_FILTER_URI">
-<parameter_description> the URI for the file being tested
-</parameter_description>
-</parameter>
-<parameter name="GTK_FILE_FILTER_DISPLAY_NAME">
-<parameter_description> the string that will be used to
-display the file in the file chooser
-</parameter_description>
-</parameter>
-<parameter name="GTK_FILE_FILTER_MIME_TYPE">
-<parameter_description> the mime type of the file
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
<property name="GtkFilter:changed">
<description>
This signal is emitted whenever the filter changed. Users of the filter
@@ -5551,9 +5487,9 @@ The filter for this model
</description>
</property>
-<property name="GtkFilterListModel:item-type">
+<property name="GtkFilterListModel:incremental">
<description>
-The #GType for elements of this object
+If the model should filter items incrementally
</description>
</property>
@@ -5565,6 +5501,13 @@ The model being filtered
</description>
</property>
+<property name="GtkFilterListModel:pending">
+<description>
+Number of items not yet filtered
+
+</description>
+</property>
+
<enum name="GtkFilterMatch">
<description>
Describes the known strictness of a filter.
@@ -5593,13 +5536,6 @@ gtk_filter_match() will alays return %TRUE.
</parameters>
</enum>
-<property name="GtkFlattenListModel:item-type">
-<description>
-The #GType for elements of this object
-
-</description>
-</property>
-
<property name="GtkFlattenListModel:model">
<description>
The model being flattened
@@ -8349,13 +8285,6 @@ If a map is set for this model
</description>
</property>
-<property name="GtkMapListModel:item-type">
-<description>
-The #GType for elements of this object
-
-</description>
-</property>
-
<property name="GtkMapListModel:model">
<description>
The model being mapped
@@ -11424,6 +11353,20 @@ The default bindings for this signal is Escape.
<return></return>
</signal>
+<property name="GtkSelectionFilterModel:item-type">
+<description>
+The #GType for elements of this object
+
+</description>
+</property>
+
+<property name="GtkSelectionFilterModel:model">
+<description>
+The model being filtered
+
+</description>
+</property>
+
<enum name="GtkSelectionMode">
<description>
Used to control what selections users are allowed to make.
@@ -12393,13 +12336,6 @@ width-for-height geometry management.
</parameters>
</enum>
-<property name="GtkSliceListModel:item-type">
-<description>
-The #GType for elements of this object
-
-</description>
-</property>
-
<property name="GtkSliceListModel:model">
<description>
Child model to take slice from
@@ -12421,13 +12357,6 @@ Maximum size of slice
</description>
</property>
-<property name="GtkSortListModel:item-type">
-<description>
-The #GType for items of this model
-
-</description>
-</property>
-
<property name="GtkSortListModel:model">
<description>
The model being sorted
@@ -12732,7 +12661,7 @@ change to make in gtk_spin_button_spin().
<property name="GtkStackPage:needs-attention">
<description>
-Sets a flag specifying whether the oage requires the user attention.
+Sets a flag specifying whether the page requires the user attention.
This is used by the #GtkStackSwitcher to change the appearance of the
corresponding button when a page needs attention and it is not the
current one.
@@ -20194,6 +20123,78 @@ G_MAXUINT is returned.
</return>
</function>
+<function name="gtk_bitset_get_nth">
+<description>
+Returns the value of the @nth item in self.
+
+If @nth is >= the size of @self, 0 is returned.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkBitset
+</parameter_description>
+</parameter>
+<parameter name="nth">
+<parameter_description> index of the item to get
+</parameter_description>
+</parameter>
+</parameters>
+<return> the value of the @nth item in @self
+</return>
+</function>
+
+<function name="gtk_bitset_get_size">
+<description>
+Gets the number of values that were added to the set.
+For example, if the set is empty, 0 is returned.
+
+Note that this function returns a #guint64, because when all values are
+set, the return value is #G_MAXUINT + 1. Unless you are sure this cannot
+happen (it can't with #GListModel), be sure to use a 64bit type.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkBitSet
+</parameter_description>
+</parameter>
+</parameters>
+<return> The number of values in the set.
+</return>
+</function>
+
+<function name="gtk_bitset_get_size_in_range">
+<description>
+Gets the number of values that are part of the set from @first to @last
+(inclusive).
+
+Note that this function returns a #guint64, because when all values are
+set, the return value is #G_MAXUINT + 1. Unless you are sure this cannot
+happen (it can't with #GListModel), be sure to use a 64bit type.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkBitSet
+</parameter_description>
+</parameter>
+<parameter name="first">
+<parameter_description> the first element to include
+</parameter_description>
+</parameter>
+<parameter name="last">
+<parameter_description> the last element to include
+</parameter_description>
+</parameter>
+</parameters>
+<return> The number of values in the set from @first to @last.
+</return>
+</function>
+
<function name="gtk_bitset_intersect">
<description>
Sets @self to be the intersection of @self and @other, that is remove
@@ -20400,7 +20401,27 @@ Creates a new empty bitset.
</description>
<parameters>
</parameters>
-<return> A new empty bitset.
+<return> A new empty bitset
+</return>
+</function>
+
+<function name="gtk_bitset_new_range">
+<description>
+Creates a bitset with the given range set.
+
+
+</description>
+<parameters>
+<parameter name="start">
+<parameter_description> first value to add
+</parameter_description>
+</parameter>
+<parameter name="n_items">
+<parameter_description> number of consecutive values to add
+</parameter_description>
+</parameter>
+</parameters>
+<return> A new bitset
</return>
</function>
@@ -20570,7 +20591,7 @@ that end up too large to be held in a #guint are discarded.
<return></return>
</function>
-<function name="gtk_bitset_slice">
+<function name="gtk_bitset_splice">
<description>
This is a support function for #GListModel handling, by mirroring
the #GlistModel::items-changed signal.
@@ -30605,6 +30626,23 @@ Gets the IO priority set via gtk_directory_list_set_io_priority().
</return>
</function>
+<function name="gtk_directory_list_get_monitored">
+<description>
+Returns whether the directory list is monitoring
+the directory for changes.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkDirectoryList
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the directory is monitored
+</return>
+</function>
+
<function name="gtk_directory_list_is_loading">
<description>
Returns %TRUE if the children enumeration is currently in
@@ -30713,6 +30751,32 @@ may increase responsiveness.
<return></return>
</function>
+<function name="gtk_directory_list_set_monitored">
+<description>
+Sets whether the directory list will monitor the directory
+for changes. If monitoring is enabled, the
+#GListModel::items-changed signal will be emitted when the
+directory contents change.
+
+When monitoring is turned on after the initial creation
+of the directory list, the directory is reloaded to avoid
+missing files that appeared between the initial loading
+and when monitoring was turned on.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkDirectoryList
+</parameter_description>
+</parameter>
+<parameter name="monitored">
+<parameter_description> %TRUE to monitor the directory for changes
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_disable_setlocale">
<description>
Prevents gtk_init(), gtk_init_check() and
@@ -35937,8 +36001,8 @@ use g_object_unref() to release it.
<function name="gtk_file_chooser_get_files">
<description>
-Lists all the selected files and subfolders in the current folder of @chooser
-as #GFile.
+Lists all the selected files and subfolders in the current folder
+of @chooser as #GFile.
</description>
@@ -35948,10 +36012,9 @@ as #GFile.
</parameter_description>
</parameter>
</parameters>
-<return> a list
-containing a #GFile for each selected file and subfolder in the
-current folder. Free the returned list with g_slist_free(), and
-the files with g_object_unref().
+<return> a list model containing a #GFile for each
+selected file and subfolder in the current folder. Free the returned
+list with g_object_unref().
</return>
</function>
@@ -35971,10 +36034,13 @@ Gets the current filter; see gtk_file_chooser_set_filter().
</return>
</function>
-<function name="gtk_file_chooser_get_select_multiple">
+<function name="gtk_file_chooser_get_filters">
<description>
-Gets whether multiple files can be selected in the file
-selector. See gtk_file_chooser_set_select_multiple().
+Gets the current set of user-selectable filters, as a list model; see
+gtk_file_chooser_add_filter(), gtk_file_chooser_remove_filter().
+
+You should not modify the returned list model. Future changes to
+@chooser may or may not affect the returned model.
</description>
@@ -35984,14 +36050,15 @@ selector. See gtk_file_chooser_set_select_multiple().
</parameter_description>
</parameter>
</parameters>
-<return> %TRUE if multiple files can be selected.
+<return> a #GListModel containing the current set
+of user-selectable filters.
</return>
</function>
-<function name="gtk_file_chooser_list_filters">
+<function name="gtk_file_chooser_get_select_multiple">
<description>
-Lists the current set of user-selectable filters; see
-gtk_file_chooser_add_filter(), gtk_file_chooser_remove_filter().
+Gets whether multiple files can be selected in the file
+selector. See gtk_file_chooser_set_select_multiple().
</description>
@@ -36001,18 +36068,18 @@ gtk_file_chooser_add_filter(), gtk_file_chooser_remove_filter().
</parameter_description>
</parameter>
</parameters>
-<return> a
-#GSList containing the current set of user selectable filters. The
-contents of the list are owned by GTK+, but you must free the list
-itself with g_slist_free() when you are done with it.
+<return> %TRUE if multiple files can be selected.
</return>
</function>
-<function name="gtk_file_chooser_list_shortcut_folders">
+<function name="gtk_file_chooser_get_shortcut_folders">
<description>
Queries the list of shortcut folders in the file chooser, as set by
gtk_file_chooser_add_shortcut_folder().
+You should not modify the returned list model. Future changes to
+@chooser may or may not affect the returned model.
+
</description>
<parameters>
@@ -36021,8 +36088,7 @@ gtk_file_chooser_add_shortcut_folder().
</parameter_description>
</parameter>
</parameters>
-<return> A list
-of folder filenames, or %NULL if there are no shortcut folders.
+<return> A list model of #GFiles
</return>
</function>
@@ -36508,42 +36574,6 @@ be embedded in custom windows, and it is the same widget that is used by
</return>
</function>
-<function name="gtk_file_filter_add_custom">
-<description>
-Adds rule to a filter that allows files based on a custom callback
-function. The bitfield @needed which is passed in provides information
-about what sorts of information that the filter function needs;
-this allows GTK+ to avoid retrieving expensive information when
-it isn’t needed by the filter.
-
-</description>
-<parameters>
-<parameter name="filter">
-<parameter_description> a #GtkFileFilter
-</parameter_description>
-</parameter>
-<parameter name="needed">
-<parameter_description> bitfield of flags indicating the information that the custom
-filter function needs.
-</parameter_description>
-</parameter>
-<parameter name="func">
-<parameter_description> callback function; if the function returns %TRUE, then
-the file will be displayed.
-</parameter_description>
-</parameter>
-<parameter name="data">
-<parameter_description> data to pass to @func
-</parameter_description>
-</parameter>
-<parameter name="notify">
-<parameter_description> function to call to free @data when it is no longer needed.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gtk_file_filter_add_mime_type">
<description>
Adds a rule allowing a given mime type to @filter.
@@ -36585,6 +36615,9 @@ Adds a rule allowing a shell style glob to a filter.
Adds a rule allowing image files in the formats supported
by GdkPixbuf.
+This is equivalent to calling gtk_file_filter_add_mime_type()
+for all the supported mime types.
+
</description>
<parameters>
<parameter name="filter">
@@ -36595,15 +36628,14 @@ by GdkPixbuf.
<return></return>
</function>
-<function name="gtk_file_filter_filter">
+<function name="gtk_file_filter_get_attributes">
<description>
-Tests whether a file should be displayed according to @filter.
-The #GtkFileFilterInfo @filter_info should include
-the fields returned from gtk_file_filter_get_needed().
+Gets the attributes that need to be filled in for the #GFileInfo
+passed to gtk_file_filter_filter()
-This function will not typically be used by applications; it
-is intended principally for use in the implementation of
-#GtkFileChooser.
+This function will not typically be used by applications;
+it is intended principally for use in the implementation
+of #GtkFileChooser.
</description>
@@ -36612,13 +36644,8 @@ is intended principally for use in the implementation of
<parameter_description> a #GtkFileFilter
</parameter_description>
</parameter>
-<parameter name="filter_info">
-<parameter_description> a #GtkFileFilterInfo containing information
-about a file.
-</parameter_description>
-</parameter>
</parameters>
-<return> %TRUE if the file should be displayed
+<return> the attributes
</return>
</function>
@@ -36635,41 +36662,21 @@ Gets the human-readable name for the filter. See gtk_file_filter_set_name().
</parameter>
</parameters>
<return> The human-readable name of the filter,
-or %NULL. This value is owned by GTK+ and must not
+or %NULL. This value is owned by GTK and must not
be modified or freed.
</return>
</function>
-<function name="gtk_file_filter_get_needed">
-<description>
-Gets the fields that need to be filled in for the #GtkFileFilterInfo
-passed to gtk_file_filter_filter()
-
-This function will not typically be used by applications; it
-is intended principally for use in the implementation of
-#GtkFileChooser.
-
-
-</description>
-<parameters>
-<parameter name="filter">
-<parameter_description> a #GtkFileFilter
-</parameter_description>
-</parameter>
-</parameters>
-<return> bitfield of flags indicating needed fields when
-calling gtk_file_filter_filter()
-</return>
-</function>
-
<function name="gtk_file_filter_new">
<description>
Creates a new #GtkFileFilter with no rules added to it.
+
Such a filter doesn’t accept any files, so is not
particularly useful until you add rules with
gtk_file_filter_add_mime_type(), gtk_file_filter_add_pattern(),
-or gtk_file_filter_add_custom(). To create a filter
-that accepts any file, use:
+or gtk_file_filter_add_pixbuf_formats().
+
+To create a filter that accepts any file, use:
|[<!-- language="C" -->
GtkFileFilter *filter = gtk_file_filter_new ();
gtk_file_filter_add_pattern (filter, "*");
@@ -36702,9 +36709,9 @@ the format produced by gtk_file_filter_to_gvariant().
<function name="gtk_file_filter_set_name">
<description>
-Sets the human-readable name of the filter; this is the string
-that will be displayed in the file selector user interface if
-there is a selectable list of filters.
+Sets a human-readable name of the filter; this is the string
+that will be displayed in the file chooser if there is a selectable
+list of filters.
</description>
<parameters>
@@ -36802,6 +36809,23 @@ or %NULL if the list isn't filtered
</return>
</function>
+<function name="gtk_filter_list_model_get_incremental">
+<description>
+Returns whether incremental filtering was enabled via
+gtk_filter_list_model_set_incremental().
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkFilterListModel
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if incremental filtering is enabled
+</return>
+</function>
+
<function name="gtk_filter_list_model_get_model">
<description>
Gets the model currently filtered or %NULL if none.
@@ -36818,6 +36842,29 @@ Gets the model currently filtered or %NULL if none.
</return>
</function>
+<function name="gtk_filter_list_model_get_pending">
+<description>
+Returns the number of items that have not been filtered yet.
+
+When incremental filtering is not enabled, this always returns 0.
+
+You can use this value to check if @self is busy filtering by
+comparing the return value to 0 or you can compute the percentage
+of the filter remaining by dividing the return value by
+g_list_model_get_n_items(gtk_filter_list_model_get_model (self)).
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkFilterListModel
+</parameter_description>
+</parameter>
+</parameters>
+<return> The number of items not yet filtered
+</return>
+</function>
+
<function name="gtk_filter_list_model_new">
<description>
Creates a new #GtkFilterListModel that will filter @model using the given
@@ -36839,27 +36886,37 @@ Creates a new #GtkFilterListModel that will filter @model using the given
</return>
</function>
-<function name="gtk_filter_list_model_new_for_type">
+<function name="gtk_filter_list_model_set_filter">
<description>
-Creates a new empty filter list model set up to return items of type @item_type.
-It is up to the application to set a proper filter and model to ensure
-the item type is matched.
-
+Sets the filter used to filter items.
</description>
<parameters>
-<parameter name="item_type">
-<parameter_description> the type of the items that will be returned
+<parameter name="self">
+<parameter_description> a #GtkFilterListModel
+</parameter_description>
+</parameter>
+<parameter name="filter">
+<parameter_description> filter to use or %NULL to not filter items
</parameter_description>
</parameter>
</parameters>
-<return> a new #GtkFilterListModel
-</return>
+<return></return>
</function>
-<function name="gtk_filter_list_model_set_filter">
+<function name="gtk_filter_list_model_set_incremental">
<description>
-Sets the filter used to filter items.
+When incremental filtering is enabled, the filterlistmodel will not run
+filters immediately, but will instead queue an idle handler that
+incrementally filters the items and adds them to the list. This of course
+means that items are not instantly added to the list, but only appear
+incrementally.
+
+When your filter blocks the UI while filtering, you might consider
+turning this on. Depending on your model and filters, this may become
+interesting around 10,000 to 100,000 items.
+
+By default, incremental filtering is disabled.
</description>
<parameters>
@@ -36867,8 +36924,8 @@ Sets the filter used to filter items.
<parameter_description> a #GtkFilterListModel
</parameter_description>
</parameter>
-<parameter name="filter">
-<parameter_description> filter to use or %NULL to not filter items
+<parameter name="incremental">
+<parameter_description> %TRUE to enable incremental filtering
</parameter_description>
</parameter>
</parameters>
@@ -37165,19 +37222,13 @@ Returns the model containing the item at the given position.
<function name="gtk_flatten_list_model_new">
<description>
-Creates a new #GtkFlattenListModel that flattens @list. The
-models returned by @model must conform to the given @item_type,
-either by having an identical type or a subtype.
+Creates a new #GtkFlattenListModel that flattens @list.
</description>
<parameters>
-<parameter name="item_type">
-<parameter_description> The type of items in the to-be-flattened models
-</parameter_description>
-</parameter>
<parameter name="model">
-<parameter_description> the item to be flattened
+<parameter_description> the model to be flattened
</parameter_description>
</parameter>
</parameters>
@@ -37187,8 +37238,7 @@ either by having an identical type or a subtype.
<function name="gtk_flatten_list_model_set_model">
<description>
-Sets a new model to be flattened. The model must contain items of
-#GListModel that conform to the item type of @self.
+Sets a new model to be flattened.
</description>
<parameters>
@@ -48451,10 +48501,6 @@ Creates a new #GtkMapListModel for the given arguments.
</description>
<parameters>
-<parameter name="item_type">
-<parameter_description> the #GType to use as the model's item type
-</parameter_description>
-</parameter>
<parameter name="model">
<parameter_description> The model to map or %NULL for none
</parameter_description>
@@ -50268,6 +50314,25 @@ Creates a new selection to handle @model.
</return>
</function>
+<function name="gtk_multi_selection_set_model">
+<description>
+Sets the model that @self should wrap. If @model is %NULL, @self
+will be empty.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkMultiSelection
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> A #GListModel to wrap
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_multi_sorter_append">
<description>
Add @sorter to @self to use for sorting at the end. @self
@@ -50687,6 +50752,25 @@ Creates a new selection to handle @model.
</return>
</function>
+<function name="gtk_no_selection_set_model">
+<description>
+Sets the model that @self should wrap. If @model is %NULL, this
+model will be empty.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkNoSelection
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> A #GListModel to wrap
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_notebook_append_page">
<description>
Appends a page to @notebook.
@@ -62946,6 +63030,80 @@ will reveal the entry in addition to triggering the search entry.
<return></return>
</function>
+<function name="gtk_selection_filter_model_get_model">
+<description>
+Gets the model currently filtered or %NULL if none.
+
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkSelectionFilterModel
+</parameter_description>
+</parameter>
+</parameters>
+<return> The model that gets filtered
+</return>
+</function>
+
+<function name="gtk_selection_filter_model_new">
+<description>
+Creates a new #GtkSelectionFilterModel that will include the
+selected items from the underlying selection model.
+
+
+</description>
+<parameters>
+<parameter name="model">
+<parameter_description> the selection model to filter
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GtkSelectionFilterModel
+</return>
+</function>
+
+<function name="gtk_selection_filter_model_new_for_type">
+<description>
+Creates a new empty selection filter model set up to return items
+of type @item_type. It is up to the application to set a proper
+selection model to ensure the item type is matched.
+
+
+</description>
+<parameters>
+<parameter name="item_type">
+<parameter_description> the type of the items that will be returned
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GtkSelectionFilterModel
+</return>
+</function>
+
+<function name="gtk_selection_filter_model_set_model">
+<description>
+Sets the model to be filtered.
+
+Note that GTK makes no effort to ensure that @model conforms to
+the item type of @self. It assumes that the caller knows what they
+are doing and have set up an appropriate filter to ensure that item
+types match.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkSelectionFilterModel
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> The model to be filtered
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_selection_model_get_selection">
<description>
Gets the set containing all currently selected items in the model.
@@ -64364,6 +64522,25 @@ both at the same time the same time..
<return></return>
</function>
+<function name="gtk_single_selection_set_model">
+<description>
+Sets the model that @self should wrap. If @model is %NULL, @self
+will be empty.
+
+</description>
+<parameters>
+<parameter name="self">
+<parameter_description> a #GtkSingleSelection
+</parameter_description>
+</parameter>
+<parameter name="model">
+<parameter_description> A #GListModel to wrap
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
<function name="gtk_single_selection_set_selected">
<description>
Selects the item at the given position. If the list does not have an item at
@@ -64574,23 +64751,6 @@ Creates a new slice model that presents the slice from @offset to
</return>
</function>
-<function name="gtk_slice_list_model_new_for_type">
-<description>
-Creates a new empty #GtkSliceListModel for the given @item_type that
-can be set up later.
-
-
-</description>
-<parameters>
-<parameter name="item_type">
-<parameter_description> the type of items
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new empty #GtkSliceListModel
-</return>
-</function>
-
<function name="gtk_slice_list_model_set_model">
<description>
Sets the model to show a slice of. The model's item type must conform
@@ -65748,24 +65908,6 @@ Creates a new sort list model that uses the @sorter to sort @model.
</return>
</function>
-<function name="gtk_sort_list_model_new_for_type">
-<description>
-Creates a new empty sort list model set up to return items of type @item_type.
-It is up to the application to set a proper sort function and model to ensure
-the item type is matched.
-
-
-</description>
-<parameters>
-<parameter name="item_type">
-<parameter_description> the type of the items that will be returned
-</parameter_description>
-</parameter>
-</parameters>
-<return> a new #GtkSortListModel
-</return>
-</function>
-
<function name="gtk_sort_list_model_set_model">
<description>
Sets the model to be sorted. The @model's item type must conform to
@@ -67551,8 +67693,8 @@ for a way to avoid that.
<function name="gtk_string_list_get_string">
<description>
-Gets the string that is at @position in @self. @position
-must be smaller than the current length of the list.
+Gets the string that is at @position in @self. If @self
+does not contain @position items, %NULL is returned.
This function returns the const char *. To get the
object wrapping it, use g_list_model_get_item().
@@ -67610,8 +67752,8 @@ be smaller than the current length of the list.
<function name="gtk_string_list_splice">
<description>
-Changes @self by removing @n_removals strings and adding @n_additions
-strings to it.
+Changes @self by removing @n_removals strings and adding @additions
+to it.
This function is more efficient than gtk_string_list_insert() and
gtk_string_list_remove(), because it only emits
@@ -67638,11 +67780,7 @@ of the list at the time this function is called).
</parameter_description>
</parameter>
<parameter name="additions">
-<parameter_description> the strings to add
-</parameter_description>
-</parameter>
-<parameter name="n_additions">
-<parameter_description> the number of items to add
+<parameter_description> The strings to add
</parameter_description>
</parameter>
</parameters>
@@ -67691,6 +67829,22 @@ Returns the string contained in a #GtkStringObject.
</return>
</function>
+<function name="gtk_string_object_new">
+<description>
+Wraps a string in an object for use with #GListModel
+
+
+</description>
+<parameters>
+<parameter name="string">
+<parameter_description> The string to wrap
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GtkStringObject
+</return>
+</function>
+
<function name="gtk_string_sorter_get_expression">
<description>
Gets the expression that is evaluated to obtain strings from items.
diff --git a/gtk/src/gtk_docs_override.xml b/gtk/src/gtk_docs_override.xml
index e43d4c52..eee95bbb 100644
--- a/gtk/src/gtk_docs_override.xml
+++ b/gtk/src/gtk_docs_override.xml
@@ -163,6 +163,7 @@
<substitute_enumerator_name from="G_FILE_ERROR" to="G_FILE_ERROR" />
<substitute_enumerator_name from="G_RESOURCE_ERROR" to="G_RESOURCE_ERROR" />
<substitute_enumerator_name from="G_MAXINT" to="G_MAXINT" />
+<substitute_enumerator_name from="G_MAXUINT" to="G_MAXUINT" />
<substitute_enumerator_name from="GDK_SELECTION_CLIPBOARD" to="GDK_SELECTION_CLIPBOARD" />
<substitute_enumerator_name from="GDK_SELECTION_PRIMARY" to="GDK_SELECTION_PRIMARY" />
<substitute_enumerator_name from="GDK_NONE" to="GDK_NONE" />
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index 5bfd3cb8..481c9851 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -1558,7 +1558,9 @@
;; GTK_FILE_CHOOSER_PROP_FILTER,
;; GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE,
;; GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS,
-;; GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS
+;; GTK_FILE_CHOOSER_PROP_FILTERS,
+;; GTK_FILE_CHOOSER_PROP_SHORTCUT_FOLDERS,
+;; GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_SHORTCUT_FOLDERS
;; } GtkFileChooserProp;
(define-enum-extended FileChooserProp
@@ -1570,28 +1572,9 @@
'("filter" "GTK_FILE_CHOOSER_PROP_FILTER" "4097")
'("select-multiple" "GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE" "4098")
'("create-folders" "GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS" "4099")
- '("last" "GTK_FILE_CHOOSER_PROP_LAST" "4099")
- )
-)
-
-;; From gtkfilefilter.h
-
-;; Original typedef:
-;; typedef enum {
-;; GTK_FILE_FILTER_FILENAME = 1 << 0,
-;; GTK_FILE_FILTER_URI = 1 << 1,
-;; GTK_FILE_FILTER_DISPLAY_NAME = 1 << 2,
-;; GTK_FILE_FILTER_MIME_TYPE = 1 << 3
-;; } GtkFileFilterFlags;
-
-(define-flags-extended FileFilterFlags
- (in-module "Gtk")
- (c-name "GtkFileFilterFlags")
- (values
- '("filename" "GTK_FILE_FILTER_FILENAME" "1 << 0")
- '("uri" "GTK_FILE_FILTER_URI" "1 << 1")
- '("display-name" "GTK_FILE_FILTER_DISPLAY_NAME" "1 << 2")
- '("mime-type" "GTK_FILE_FILTER_MIME_TYPE" "1 << 3")
+ '("filters" "GTK_FILE_CHOOSER_PROP_FILTERS" "4100")
+ '("shortcut-folders" "GTK_FILE_CHOOSER_PROP_SHORTCUT_FOLDERS" "4101")
+ '("last" "GTK_FILE_CHOOSER_PROP_LAST" "4101")
)
)
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 2e6020d7..36a9318c 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -1349,22 +1349,12 @@
'("filter" "GTK_FILE_CHOOSER_PROP_FILTER")
'("select-multiple" "GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE")
'("create-folders" "GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS")
+ '("filters" "GTK_FILE_CHOOSER_PROP_FILTERS")
+ '("shortcut-folders" "GTK_FILE_CHOOSER_PROP_SHORTCUT_FOLDERS")
'("last" "GTK_FILE_CHOOSER_PROP_LAST")
)
)
-(define-flags FileFilterFlags
- (in-module "Gtk")
- (c-name "GtkFileFilterFlags")
- (gtype-id "GTK_TYPE_FILE_FILTER_FLAGS")
- (values
- '("filename" "GTK_FILE_FILTER_FILENAME")
- '("uri" "GTK_FILE_FILTER_URI")
- '("display-name" "GTK_FILE_FILTER_DISPLAY_NAME")
- '("mime-type" "GTK_FILE_FILTER_MIME_TYPE")
- )
-)
-
(define-enum FilterMatch
(in-module "Gtk")
(c-name "GtkFilterMatch")
@@ -3481,6 +3471,31 @@
)
)
+(define-method get_size
+ (of-object "GtkBitset")
+ (c-name "gtk_bitset_get_size")
+ (return-type "guint64")
+)
+
+(define-method get_size_in_range
+ (of-object "GtkBitset")
+ (c-name "gtk_bitset_get_size_in_range")
+ (return-type "guint64")
+ (parameters
+ '("guint" "first")
+ '("guint" "last")
+ )
+)
+
+(define-method get_nth
+ (of-object "GtkBitset")
+ (c-name "gtk_bitset_get_nth")
+ (return-type "guint")
+ (parameters
+ '("guint" "nth")
+ )
+)
+
(define-method get_minimum
(of-object "GtkBitset")
(c-name "gtk_bitset_get_minimum")
@@ -3504,6 +3519,15 @@
(return-type "GtkBitset*")
)
+(define-function gtk_bitset_new_range
+ (c-name "gtk_bitset_new_range")
+ (return-type "GtkBitset*")
+ (parameters
+ '("guint" "start")
+ '("guint" "n_items")
+ )
+)
+
(define-method remove_all
(of-object "GtkBitset")
(c-name "gtk_bitset_remove_all")
@@ -3646,9 +3670,9 @@
)
)
-(define-method slice
+(define-method splice
(of-object "GtkBitset")
- (c-name "gtk_bitset_slice")
+ (c-name "gtk_bitset_splice")
(return-type "none")
(parameters
'("guint" "position")
@@ -7703,6 +7727,21 @@
(return-type "const-GError*")
)
+(define-method set_monitored
+ (of-object "GtkDirectoryList")
+ (c-name "gtk_directory_list_set_monitored")
+ (return-type "none")
+ (parameters
+ '("gboolean" "monitored")
+ )
+)
+
+(define-method get_monitored
+ (of-object "GtkDirectoryList")
+ (c-name "gtk_directory_list_get_monitored")
+ (return-type "gboolean")
+)
+
;; From gtkdragicon.h
@@ -10035,26 +10074,14 @@
(c-name "gtk_file_chooser_set_current_name")
(return-type "none")
(parameters
- '("const-gchar*" "name")
+ '("const-char*" "name")
)
)
(define-method get_current_name
(of-object "GtkFileChooser")
(c-name "gtk_file_chooser_get_current_name")
- (return-type "gchar*")
-)
-
-(define-method select_all
- (of-object "GtkFileChooser")
- (c-name "gtk_file_chooser_select_all")
- (return-type "none")
-)
-
-(define-method unselect_all
- (of-object "GtkFileChooser")
- (c-name "gtk_file_chooser_unselect_all")
- (return-type "none")
+ (return-type "char*")
)
(define-method get_file
@@ -10073,29 +10100,10 @@
)
)
-(define-method select_file
- (of-object "GtkFileChooser")
- (c-name "gtk_file_chooser_select_file")
- (return-type "gboolean")
- (parameters
- '("GFile*" "file")
- '("GError**" "error")
- )
-)
-
-(define-method unselect_file
- (of-object "GtkFileChooser")
- (c-name "gtk_file_chooser_unselect_file")
- (return-type "none")
- (parameters
- '("GFile*" "file")
- )
-)
-
(define-method get_files
(of-object "GtkFileChooser")
(c-name "gtk_file_chooser_get_files")
- (return-type "GSList*")
+ (return-type "GListModel*")
)
(define-method set_current_folder
@@ -10132,10 +10140,10 @@
)
)
-(define-method list_filters
+(define-method get_filters
(of-object "GtkFileChooser")
- (c-name "gtk_file_chooser_list_filters")
- (return-type "GSList*")
+ (c-name "gtk_file_chooser_get_filters")
+ (return-type "GListModel*")
)
(define-method set_filter
@@ -10173,10 +10181,10 @@
)
)
-(define-method list_shortcut_folders
+(define-method get_shortcut_folders
(of-object "GtkFileChooser")
- (c-name "gtk_file_chooser_list_shortcut_folders")
- (return-type "GSList*")
+ (c-name "gtk_file_chooser_get_shortcut_folders")
+ (return-type "GListModel*")
)
(define-method add_choice
@@ -10308,14 +10316,14 @@
(c-name "gtk_file_filter_set_name")
(return-type "none")
(parameters
- '("const-gchar*" "name")
+ '("const-char*" "name")
)
)
(define-method get_name
(of-object "GtkFileFilter")
(c-name "gtk_file_filter_get_name")
- (return-type "const-gchar*")
+ (return-type "const-char*")
)
(define-method add_mime_type
@@ -10323,7 +10331,7 @@
(c-name "gtk_file_filter_add_mime_type")
(return-type "none")
(parameters
- '("const-gchar*" "mime_type")
+ '("const-char*" "mime_type")
)
)
@@ -10332,7 +10340,7 @@
(c-name "gtk_file_filter_add_pattern")
(return-type "none")
(parameters
- '("const-gchar*" "pattern")
+ '("const-char*" "pattern")
)
)
@@ -10342,31 +10350,10 @@
(return-type "none")
)
-(define-method add_custom
- (of-object "GtkFileFilter")
- (c-name "gtk_file_filter_add_custom")
- (return-type "none")
- (parameters
- '("GtkFileFilterFlags" "needed")
- '("GtkFileFilterFunc" "func")
- '("gpointer" "data")
- '("GDestroyNotify" "notify")
- )
-)
-
-(define-method get_needed
- (of-object "GtkFileFilter")
- (c-name "gtk_file_filter_get_needed")
- (return-type "GtkFileFilterFlags")
-)
-
-(define-method filter
+(define-method get_attributes
(of-object "GtkFileFilter")
- (c-name "gtk_file_filter_filter")
- (return-type "gboolean")
- (parameters
- '("const-GtkFileFilterInfo*" "filter_info")
- )
+ (c-name "gtk_file_filter_get_attributes")
+ (return-type "const-char**")
)
(define-method to_gvariant
@@ -10433,14 +10420,6 @@
)
)
-(define-function gtk_filter_list_model_new_for_type
- (c-name "gtk_filter_list_model_new_for_type")
- (return-type "GtkFilterListModel*")
- (parameters
- '("GType" "item_type")
- )
-)
-
(define-method set_filter
(of-object "GtkFilterListModel")
(c-name "gtk_filter_list_model_set_filter")
@@ -10471,6 +10450,27 @@
(return-type "GListModel*")
)
+(define-method set_incremental
+ (of-object "GtkFilterListModel")
+ (c-name "gtk_filter_list_model_set_incremental")
+ (return-type "none")
+ (parameters
+ '("gboolean" "incremental")
+ )
+)
+
+(define-method get_incremental
+ (of-object "GtkFilterListModel")
+ (c-name "gtk_filter_list_model_get_incremental")
+ (return-type "gboolean")
+)
+
+(define-method get_pending
+ (of-object "GtkFilterListModel")
+ (c-name "gtk_filter_list_model_get_pending")
+ (return-type "guint")
+)
+
;; From gtkfixed.h
@@ -10581,7 +10581,6 @@
(is-constructor-of "GtkFlattenListModel")
(return-type "GtkFlattenListModel*")
(parameters
- '("GType" "item_type")
'("GListModel*" "model")
)
)
@@ -15237,7 +15236,6 @@
(is-constructor-of "GtkMapListModel")
(return-type "GtkMapListModel*")
(parameters
- '("GType" "item_type")
'("GListModel*" "model")
'("GtkMapListModelMapFunc" "map_func")
'("gpointer" "user_data")
@@ -15951,6 +15949,15 @@
(return-type "GListModel*")
)
+(define-method set_model
+ (of-object "GtkMultiSelection")
+ (c-name "gtk_multi_selection_set_model")
+ (return-type "none")
+ (parameters
+ '("GListModel*" "model")
+ )
+)
+
;; From gtkmultisorter.h
@@ -16111,6 +16118,15 @@
(return-type "GListModel*")
)
+(define-method set_model
+ (of-object "GtkNoSelection")
+ (c-name "gtk_no_selection_set_model")
+ (return-type "none")
+ (parameters
+ '("GListModel*" "model")
+ )
+)
+
;; From gtknotebook.h
@@ -21443,6 +21459,42 @@
+;; From gtkselectionfiltermodel.h
+
+(define-function gtk_selection_filter_model_new
+ (c-name "gtk_selection_filter_model_new")
+ (is-constructor-of "GtkSelectionFilterModel")
+ (return-type "GtkSelectionFilterModel*")
+ (parameters
+ '("GtkSelectionModel*" "model")
+ )
+)
+
+(define-function gtk_selection_filter_model_new_for_type
+ (c-name "gtk_selection_filter_model_new_for_type")
+ (return-type "GtkSelectionFilterModel*")
+ (parameters
+ '("GType" "item_type")
+ )
+)
+
+(define-method set_model
+ (of-object "GtkSelectionFilterModel")
+ (c-name "gtk_selection_filter_model_set_model")
+ (return-type "none")
+ (parameters
+ '("GtkSelectionModel*" "model")
+ )
+)
+
+(define-method get_model
+ (of-object "GtkSelectionFilterModel")
+ (c-name "gtk_selection_filter_model_get_model")
+ (return-type "GtkSelectionModel*")
+)
+
+
+
;; From gtkselectionmodel.h
(define-method is_selected
@@ -22039,6 +22091,15 @@
(return-type "GListModel*")
)
+(define-method set_model
+ (of-object "GtkSingleSelection")
+ (c-name "gtk_single_selection_set_model")
+ (return-type "none")
+ (parameters
+ '("GListModel*" "model")
+ )
+)
+
(define-method get_selected
(of-object "GtkSingleSelection")
(c-name "gtk_single_selection_get_selected")
@@ -22176,14 +22237,6 @@
)
)
-(define-function gtk_slice_list_model_new_for_type
- (c-name "gtk_slice_list_model_new_for_type")
- (return-type "GtkSliceListModel*")
- (parameters
- '("GType" "item_type")
- )
-)
-
(define-method set_model
(of-object "GtkSliceListModel")
(c-name "gtk_slice_list_model_set_model")
@@ -22687,14 +22740,6 @@
)
)
-(define-function gtk_sort_list_model_new_for_type
- (c-name "gtk_sort_list_model_new_for_type")
- (return-type "GtkSortListModel*")
- (parameters
- '("GType" "item_type")
- )
-)
-
(define-method set_sorter
(of-object "GtkSortListModel")
(c-name "gtk_sort_list_model_set_sorter")
@@ -23462,6 +23507,15 @@
;; From gtkstringlist.h
+(define-function gtk_string_object_new
+ (c-name "gtk_string_object_new")
+ (is-constructor-of "GtkStringObject")
+ (return-type "GtkStringObject*")
+ (parameters
+ '("const-char*" "string")
+ )
+)
+
(define-method get_string
(of-object "GtkStringObject")
(c-name "gtk_string_object_get_string")
@@ -23473,7 +23527,7 @@
(is-constructor-of "GtkStringList")
(return-type "GtkStringList*")
(parameters
- '("const-char**" "strings")
+ '("const-char*-const*" "strings")
)
)
@@ -23511,8 +23565,7 @@
(parameters
'("guint" "position")
'("guint" "n_removals")
- '("const-char**" "additions")
- '("guint" "n_additions")
+ '("const-char*-const*" "additions")
)
)
@@ -31848,11 +31901,6 @@
(return-type "GType")
)
-(define-function gtk_file_filter_flags_get_type
- (c-name "gtk_file_filter_flags_get_type")
- (return-type "GType")
-)
-
(define-function gtk_filter_match_get_type
(c-name "gtk_filter_match_get_type")
(return-type "GType")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 2c07ee24..08b811a1 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -2805,7 +2805,7 @@
(define-property contains-pointer
(of-object "GtkDropControllerMotion")
(prop-type "GParamBoolean")
- (docs "Whether the pointer is inthe controllers widget or a descendant")
+ (docs "Whether the pointer is in the controllers widget or a descendant")
(readable #t)
(writable #f)
(construct-only #f)
@@ -3870,7 +3870,7 @@
(define-property contains-pointer
(of-object "GtkEventControllerMotion")
(prop-type "GParamBoolean")
- (docs "Whether the pointer is inthe controllers widget or a descendant")
+ (docs "Whether the pointer is in the controllers widget or a descendant")
(readable #t)
(writable #f)
(construct-only #f)
@@ -4011,24 +4011,6 @@
;; From GtkFileChooser
-(define-signal current-folder-changed
- (of-object "GtkFileChooser")
- (return-type "void")
- (flags "Run Last")
-)
-
-(define-signal selection-changed
- (of-object "GtkFileChooser")
- (return-type "void")
- (flags "Run Last")
-)
-
-(define-signal file-activated
- (of-object "GtkFileChooser")
- (return-type "void")
- (flags "Run Last")
-)
-
(define-property action
(of-object "GtkFileChooser")
(prop-type "GParamEnum")
@@ -4058,6 +4040,15 @@
(construct-only #f)
)
+(define-property filters
+ (of-object "GtkFileChooser")
+ (prop-type "GParamObject")
+ (docs "List model of filters")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
(define-property select-multiple
(of-object "GtkFileChooser")
(prop-type "GParamBoolean")
@@ -4068,6 +4059,15 @@
(default-value "FALSE")
)
+(define-property shortcut-folders
+ (of-object "GtkFileChooser")
+ (prop-type "GParamObject")
+ (docs "List model of shortcut folders")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
;; From GtkFileChooserButton
(define-signal file-set
@@ -5103,7 +5103,7 @@
(readable #t)
(writable #t)
(construct-only #f)
- (default-value "FALSE")
+ (default-value "TRUE")
)
(define-property decoration-layout
@@ -5340,12 +5340,6 @@
;; From GtkIconView
-(define-signal selection-changed
- (of-object "GtkIconView")
- (return-type "void")
- (flags "Run First")
-)
-
(define-signal move-cursor
(of-object "GtkIconView")
(return-type "gboolean")
@@ -5379,6 +5373,12 @@
)
)
+(define-signal selection-changed
+ (of-object "GtkIconView")
+ (return-type "void")
+ (flags "Run First")
+)
+
(define-signal select-cursor-item
(of-object "GtkIconView")
(return-type "void")
@@ -6406,7 +6406,7 @@
(docs "List managed by this selection")
(readable #t)
(writable #t)
- (construct-only #t)
+ (construct-only #f)
)
;; From GtkNativeDialog
@@ -6467,7 +6467,7 @@
(docs "The model being managed")
(readable #t)
(writable #t)
- (construct-only #t)
+ (construct-only #f)
)
;; From GtkNotebook
@@ -9292,7 +9292,7 @@
(docs "The model being managed")
(readable #t)
(writable #t)
- (construct-only #t)
+ (construct-only #f)
)
;; From GtkSizeGroup
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]