Returns this, for use in with statements.
Get builder for gtk.recent_chooser_dialog.RecentChooserDialog
Get filter property.
Set filter property.
Get limit property.
Set limit property.
Get localOnly property.
Set localOnly property.
Get selectMultiple property.
Set selectMultiple property.
Get showIcons property.
Set showIcons property.
Get showNotFound property.
Set showNotFound property.
Get showTips property.
Set showTips property.
Get sortType property.
Set sortType property.
Adds filter to the list of #GtkRecentFilter objects held by chooser.
Gets the #GtkRecentInfo currently selected by chooser.
Gets the URI currently selected by chooser.
Gets the #GtkRecentFilter object currently used by chooser to affect the display of the recently used resources.
Gets the list of recently used resources in form of #GtkRecentInfo objects.
Gets the number of items returned by gtk.recent_chooser.RecentChooser.getItems and gtk.recent_chooser.RecentChooser.getUris.
Gets whether only local resources should be shown in the recently used resources selector. See gtk.recent_chooser.RecentChooser.setLocalOnly
Gets whether chooser can select multiple items.
Retrieves whether chooser should show an icon near the resource.
Retrieves whether chooser should show the recently used resources that were not found.
Returns whether chooser should display recently used resources registered as private.
Gets whether chooser should display tooltips containing the full path of a recently user resource.
Gets the value set by gtk.recent_chooser.RecentChooser.setSortType.
Gets the URI of the recently used resources.
Gets the #GtkRecentFilter objects held by chooser.
Removes filter from the list of #GtkRecentFilter objects held by chooser.
Selects all the items inside chooser, if the chooser supports multiple selection.
Selects uri inside chooser.
Sets uri as the current URI for chooser.
Sets filter as the current #GtkRecentFilter object used by chooser to affect the displayed recently used resources.
Sets the number of items that should be returned by gtk.recent_chooser.RecentChooser.getItems and gtk.recent_chooser.RecentChooser.getUris.
Sets whether only local resources, that is resources using the file:// URI scheme, should be shown in the recently used resources selector. If local_only is true (the default) then the shown resources are guaranteed to be accessible through the operating system native file system.
Sets whether chooser can select multiple items.
Sets whether chooser should show an icon near the resource when displaying it.
Sets whether chooser should display the recently used resources that it didn’t find. This only applies to local resources.
Whether to show recently used resources marked registered as private.
Sets whether to show a tooltips containing the full path of each recently used resource in a #GtkRecentChooser widget.
Sets the comparison function used when sorting to be sort_func. If the chooser has the sort type set to #GTK_RECENT_SORT_CUSTOM then the chooser will sort using this function.
Changes the sorting order of the recently used resources list displayed by chooser.
Unselects all the items inside chooser.
Unselects uri inside chooser.
Connect to ItemActivated signal.
Connect to SelectionChanged signal.
Returns this, for use in with statements.
Get builder for gtk.dialog.Dialog
Get useHeaderBar property.
Adds an activatable widget to the action area of a #GtkDialog, connecting a signal handler that will emit the #GtkDialog::response signal on the dialog when the widget is activated. The widget is appended to the end of the dialog’s action area. If you want to add a non-activatable widget, simply pack it into the action_area field of the #GtkDialog struct.
Adds a button with the given text and sets things up so that clicking the button will emit the #GtkDialog::response signal with the given response_id. The button is appended to the end of the dialog’s action area. The button widget is returned, but usually you don’t need it.
Returns the action area of dialog.
Returns the content area of dialog.
Returns the header bar of dialog. Note that the headerbar is only used by the dialog if the #GtkDialog:use-header-bar property is true.
Gets the response id of a widget in the action area of a dialog.
Gets the widget button that uses the given response ID in the action area of a dialog.
Emits the #GtkDialog::response signal with the given response ID. Used to indicate that the user has responded to the dialog in some way; typically either you or gtk.dialog.Dialog.run will be monitoring the ::response signal and take appropriate action.
Blocks in a recursive main loop until the dialog either emits the #GtkDialog::response signal, or is destroyed. If the dialog is destroyed during the call to gtk.dialog.Dialog.run, gtk.dialog.Dialog.run returns #GTK_RESPONSE_NONE. Otherwise, it returns the response ID from the ::response signal emission.
Sets an alternative button order. If the #GtkSettings:gtk-alternative-button-order setting is set to true, the dialog buttons are reordered according to the order of the response ids in new_order.
Sets the last widget in the dialog’s action area with the given response_id as the default widget for the dialog. Pressing “Enter” normally activates the default widget.
Calls gtk_widget_set_sensitive (widget, setting) for each widget in the dialog’s action area with the given response_id. A convenient way to sensitize/desensitize dialog buttons.
Connect to Close signal.
Connect to Response signal.
Get filter property.
Set filter property.
Get limit property.
Set limit property.
Get localOnly property.
Set localOnly property.
Get selectMultiple property.
Set selectMultiple property.
Get showIcons property.
Set showIcons property.
Get showNotFound property.
Set showNotFound property.
Get showTips property.
Set showTips property.
Get sortType property.
Set sortType property.
Adds filter to the list of #GtkRecentFilter objects held by chooser.
Gets the #GtkRecentInfo currently selected by chooser.
Gets the URI currently selected by chooser.
Gets the #GtkRecentFilter object currently used by chooser to affect the display of the recently used resources.
Gets the list of recently used resources in form of #GtkRecentInfo objects.
Gets the number of items returned by gtk.recent_chooser.RecentChooser.getItems and gtk.recent_chooser.RecentChooser.getUris.
Gets whether only local resources should be shown in the recently used resources selector. See gtk.recent_chooser.RecentChooser.setLocalOnly
Gets whether chooser can select multiple items.
Retrieves whether chooser should show an icon near the resource.
Retrieves whether chooser should show the recently used resources that were not found.
Returns whether chooser should display recently used resources registered as private.
Gets whether chooser should display tooltips containing the full path of a recently user resource.
Gets the value set by gtk.recent_chooser.RecentChooser.setSortType.
Gets the URI of the recently used resources.
Gets the #GtkRecentFilter objects held by chooser.
Removes filter from the list of #GtkRecentFilter objects held by chooser.
Selects all the items inside chooser, if the chooser supports multiple selection.
Selects uri inside chooser.
Sets uri as the current URI for chooser.
Sets filter as the current #GtkRecentFilter object used by chooser to affect the displayed recently used resources.
Sets the number of items that should be returned by gtk.recent_chooser.RecentChooser.getItems and gtk.recent_chooser.RecentChooser.getUris.
Sets whether only local resources, that is resources using the file:// URI scheme, should be shown in the recently used resources selector. If local_only is true (the default) then the shown resources are guaranteed to be accessible through the operating system native file system.
Sets whether chooser can select multiple items.
Sets whether chooser should show an icon near the resource when displaying it.
Sets whether chooser should display the recently used resources that it didn’t find. This only applies to local resources.
Whether to show recently used resources marked registered as private.
Sets whether to show a tooltips containing the full path of each recently used resource in a #GtkRecentChooser widget.
Sets the comparison function used when sorting to be sort_func. If the chooser has the sort type set to #GTK_RECENT_SORT_CUSTOM then the chooser will sort using this function.
Changes the sorting order of the recently used resources list displayed by chooser.
Unselects all the items inside chooser.
Unselects uri inside chooser.
Connect to ItemActivated signal.
Connect to SelectionChanged signal.
#GtkRecentChooserDialog is a dialog box suitable for displaying the recently used documents. This widgets works by putting a #GtkRecentChooserWidget inside a #GtkDialog. It exposes the #GtkRecentChooserIface interface, so you can use all the #GtkRecentChooser functions on the recent chooser dialog as well as those for #GtkDialog.
Note that #GtkRecentChooserDialog does not have any methods of its own. Instead, you should use the functions that work on a #GtkRecentChooser.
Typical usage ## {#gtkrecentchooser-typical-usage}
In the simplest of cases, you can use the following code to use a #GtkRecentChooserDialog to select a recently used file:
Recently used files are supported since GTK+ 2.10.