Object Hierarchy:

Object hierarchy for RecentChooserMenu


[ CCode ( type_id = "gtk_recent_chooser_menu_get_type ()" ) ]
public class RecentChooserMenu : Menu, Implementor, Activatable, Buildable, RecentChooser

RecentChooserMenu is a widget suitable for displaying recently used files inside a menu.

It can be used to set a sub-menu of a MenuItem using set_submenu, or as the menu of a MenuToolButton.

Note that RecentChooserMenu does not have any methods of its own. Instead, you should use the functions that work on a RecentChooser.

Note also that RecentChooserMenu does not support multiple filters, as it has no way to let the user choose between them as the RecentChooserWidget and RecentChooserDialog widgets do. Thus using add_filter on a RecentChooserMenu widget will yield the same effects as using set_filter, replacing any currently set filter with the supplied filter; remove_filter will remove any currently set RecentFilter object and will unset the current filter; list_filters will return a list containing a single RecentFilter object.

Recently used files are supported since GTK+ 2.10.

Namespace: Gtk
Package: gtk+-3.0



Creation methods:


Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor