GtkRecentChooserMenu

#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.

Members

Variables

parentInstance
GtkMenu parentInstance;
priv
GtkRecentChooserMenuPrivate* priv;