Gtk.RecentChooser.prototype.get_current_item

function get_current_item():Gtk.RecentInfo {
    // Gjs wrapper for gtk_recent_chooser_get_current_item()
}

Gets the Gtk.RecentInfo currently selected by chooser.

Since 2.10

Returns

a Gtk.RecentInfo. Use Gtk.unref when when you have finished using it.