Gtk.RecentChooserMenu.new
function new():Gtk.Widget { // Gjs wrapper for gtk_recent_chooser_menu_new() }
Creates a new Gtk.RecentChooserMenu widget.
This kind of widget shows the list of recently used resources as a menu, each item as a menu item. Each item inside the menu might have an icon, representing its MIME type, and a number, for mnemonic access.
This widget implements the Gtk.RecentChooser interface.
This widget creates its own Gtk.RecentManager object. See the Gtk.new_for_manager function to know how to create a Gtk.RecentChooserMenu widget bound to another Gtk.RecentManager object.
Since 2.10
- Returns
a new Gtk.RecentChooserMenu