Gtk.RecentManager.prototype.get_items

function get_items():[Gtk.RecentInfo] {
    // Gjs wrapper for gtk_recent_manager_get_items()
}

Gets the list of recently used resources.

Since 2.10

Returns

a list of newly allocated Gtk.RecentInfo objects. Use Gtk.RecentInfo.prototype.unref on each item inside the list, and then free the list itself using GLib.free.