Gtk.FileChooser.prototype.set_current_folder_uri

function set_current_folder_uri(uri:String):Boolean {
    // Gjs wrapper for gtk_file_chooser_set_current_folder_uri()
}

Sets the current folder for chooser from an URI. The user will be shown the full contents of the current folder, plus user interface elements for navigating to other folders.

In general, you should not use this function. See the <link linkend="gtkfilechooserdialog-setting-up">section on setting up a file chooser dialog</link> for the rationale behind this.

Since 2.4

uri

the URI for the new current folder

Returns

true if the folder could be changed successfully, false otherwise.