Gtk.RecentChooserWidget.new_for_manager

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

Creates a new Gtk.RecentChooserWidget with a specified recent manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a Gtk.RecentManager object.

Since 2.10

manager

a Gtk.RecentManager

Returns

a new Gtk.RecentChooserWidget