Gtk.FileChooser.prototype.set_current_folder_file

function set_current_folder_file(file:Gio.File):Boolean {
    // Gjs wrapper for gtk_file_chooser_set_current_folder_file()
}

Sets the current folder for chooser from a Gio.File. Internal function, see Gtk.set_current_folder_uri.

Since 2.14

file

the Gio.File for the new folder

Returns

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