Returns the value set by gtk.recent_chooser_menu.RecentChooserMenu.setShowNumbers.
Returns this, for use in with statements.
Sets whether a number should be added to the items of menu. The numbers are shown to provide a unique character for a mnemonic to be used inside ten menu item’s label. Only the first the items get a number to avoid clashes.
Get showNumbers property.
Set showNumbers property.
Get builder for gtk.recent_chooser_menu.RecentChooserMenu
Creates a new #GtkRecentChooserMenu widget using manager as the underlying recently used resources manager.
Get relatedAction property.
Set relatedAction property.
Get useActionAppearance property.
Set useActionAppearance property.
This is a utility function for #GtkActivatable implementors.
Gets the related #GtkAction for activatable.
Gets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance.
Sets the related action on the activatable object.
Sets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance
This is called to update the activatable completely, this is called internally when the #GtkActivatable:related-action property is set or unset and by the implementing class when #GtkActivatable:use-action-appearance changes.
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.menu.Menu
Get accelGroup property.
Set accelGroup property.
Get accelPath property.
Set accelPath property.
Get active property.
Set active property.
Get anchorHints property.
Set anchorHints property.
Get attachWidget property.
Set attachWidget property.
Get menuTypeHint property.
Set menuTypeHint property.
Get monitor property.
Set monitor property.
Get rectAnchorDx property.
Set rectAnchorDx property.
Get rectAnchorDy property.
Set rectAnchorDy property.
Get reserveToggleSize property.
Set reserveToggleSize property.
Get tearoffState property.
Set tearoffState property.
Get tearoffTitle property.
Set tearoffTitle property.
Creates a #GtkMenu and populates it with menu items and submenus according to model.
Returns a list of the menus which are attached to this widget. This list is owned by GTK+ and must not be modified.
Adds a new #GtkMenuItem to a (table) menu. The number of “cells” that an item will occupy is specified by left_attach, right_attach, top_attach and bottom_attach. These each represent the leftmost, rightmost, uppermost and lower column and row numbers of the table. (Columns and rows are indexed from zero).
Detaches the menu from the widget to which it had been attached. This function will call the callback function, detacher, provided when the gtk.menu.Menu.attachToWidget function was called.
Gets the #GtkAccelGroup which holds global accelerators for the menu. See gtk.menu.Menu.setAccelGroup.
Retrieves the accelerator path set on the menu.
Returns the selected menu item from the menu. This is used by the #GtkComboBox.
Returns the #GtkWidget that the menu is attached to.
Retrieves the number of the monitor on which to show the menu.
Returns whether the menu reserves space for toggles and icons, regardless of their actual presence.
Returns whether the menu is torn off. See gtk.menu.Menu.setTearoffState.
Returns the title of the menu. See gtk.menu.Menu.setTitle.
Places menu on the given monitor.
Removes the menu from the screen.
Displays a menu and makes it available for selection.
Displays menu and makes it available for selection.
Displays menu and makes it available for selection.
Displays menu and makes it available for selection.
Displays a menu and makes it available for selection.
Moves child to a new position in the list of menu children.
Repositions the menu according to its position function.
Set the #GtkAccelGroup which holds global accelerators for the menu. This accelerator group needs to also be added to all windows that this menu is being used in with gtk.window.Window.addAccelGroup, in order for those windows to support all the accelerators contained in this group.
Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. The main purpose of this function is to spare the programmer the inconvenience of having to call gtk.menu_item.MenuItem.setAccelPath on each menu item that should support runtime user changable accelerators. Instead, by just calling gtk.menu.Menu.setAccelPath on their parent, each menu item of this menu, that contains a label describing its purpose, automatically gets an accel path assigned.
Selects the specified menu item within the menu. This is used by the #GtkComboBox and should not be used by anyone else.
Informs GTK+ on which monitor a menu should be popped up. See gdk.monitor.MonitorWrap.getGeometry.
Sets whether the menu should reserve space for drawing toggles or icons, regardless of their actual presence.
Sets the #GdkScreen on which the menu will be displayed.
Changes the tearoff state of the menu. A menu is normally displayed as drop down menu which persists as long as the menu is active. It can also be displayed as a tearoff menu which persists until it is closed or reattached.
Sets the title string for the menu.
Connect to MoveScroll signal.
Connect to PoppedUp signal.
Get relatedAction property.
Set relatedAction property.
Get useActionAppearance property.
Set useActionAppearance property.
This is a utility function for #GtkActivatable implementors.
Gets the related #GtkAction for activatable.
Gets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance.
Sets the related action on the activatable object.
Sets whether this activatable should reset its layout and appearance when setting the related action or when the action changes appearance
This is called to update the activatable completely, this is called internally when the #GtkActivatable:related-action property is set or unset and by the implementing class when #GtkActivatable:use-action-appearance changes.
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.
#GtkRecentChooserMenu is a widget suitable for displaying recently used files inside a menu. It can be used to set a sub-menu of a #GtkMenuItem using gtk.menu_item.MenuItem.setSubmenu, or as the menu of a #GtkMenuToolButton.
Note that #GtkRecentChooserMenu does not have any methods of its own. Instead, you should use the functions that work on a #GtkRecentChooser.
Note also that #GtkRecentChooserMenu does not support multiple filters, as it has no way to let the user choose between them as the #GtkRecentChooserWidget and #GtkRecentChooserDialog widgets do. Thus using gtk.recent_chooser.RecentChooser.addFilter on a #GtkRecentChooserMenu widget will yield the same effects as using gtk.recent_chooser.RecentChooser.setFilter, replacing any currently set filter with the supplied filter; gtk.recent_chooser.RecentChooser.removeFilter will remove any currently set #GtkRecentFilter object and will unset the current filter; gtk.recent_chooser.RecentChooser.listFilters will return a list containing a single #GtkRecentFilter object.
Recently used files are supported since GTK+ 2.10.