Gtk.RecentManager.new

function new():Gtk.RecentManager {
    // Gjs wrapper for gtk_recent_manager_new()
}

Creates a new recent manager object. Recent manager objects are used to handle the list of recently used resources. A Gtk.RecentManager object monitors the recently used resources list, and emits the "changed" signal each time something inside the list changes.

Gtk.RecentManager objects are expensive: be sure to create them only when needed. You should use get_default instead.

Since 2.10

Returns

A newly created Gtk.RecentManager object.