Gtk.FileChooser.prototype.set_current_folder
function set_current_folder(filename:filename):Boolean { // Gjs wrapper for gtk_file_chooser_set_current_folder() }
Sets the current folder for chooser from a local filename. 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
- filename
the full path of the new current folder
- Returns
Not useful.