Gtk.FileChooser.prototype.list_shortcut_folders

function list_shortcut_folders():[filename] {
    // Gjs wrapper for gtk_file_chooser_list_shortcut_folders()
}

Queries the list of shortcut folders in the file chooser, as set by Gtk.FileChooser.prototype.add_shortcut_folder.

Since 2.4

Returns

A list of folder filenames, or null if there are no shortcut folders. Free the returned list with GLib.free, and the filenames with GLib.free.