Gtk.RecentChooser.prototype.get_items

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

Gets the list of recently used resources in form of Gtk.RecentInfo objects.

The return value of this function is affected by the "sort-type" and "limit" properties of chooser.

Since 2.10

Returns

A newly allocated list of Gtk.RecentInfo objects. You should use Gtk.unref on every item of the list, and then free the list itself using GLib.free.