Gtk.RecentChooserMenu.new_for_manager

function new_for_manager(manager:Gtk.RecentManager):Gtk.Widget {
    // Gjs wrapper for gtk_recent_chooser_menu_new_for_manager()
}

Creates a new Gtk.RecentChooserMenu widget using manager as the underlying recently used resources manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a Gtk.RecentManager object or if you wish to share a common Gtk.RecentManager object among multiple Gtk.RecentChooser widgets.

Since 2.10

manager

a Gtk.RecentManager

Returns

a new Gtk.RecentChooserMenu, bound to manager.