Gtk.RecentChooser.prototype.get_limit

function get_limit():Number {
    // Gjs wrapper for gtk_recent_chooser_get_limit()
}

Gets the number of items returned by Gtk.RecentChooser.prototype.get_items and Gtk.get_uris.

Since 2.10

Returns

A positive integer, or -1 meaning that all items are returned.