Gtk.FileChooser.prototype.add_shortcut_folder_uri

function add_shortcut_folder_uri(uri:String):Boolean {
    // Gjs wrapper for gtk_file_chooser_add_shortcut_folder_uri()
}

Adds a folder URI to be displayed with the shortcut folders in a file chooser. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "file:///usr/share/mydrawprogram/Clipart" folder to the volume list.

Since 2.4

uri

URI of the folder to add

Returns

true if the folder could be added successfully, false otherwise. In the latter case, the @error will be set as appropriate.