FileChooser.setCurrentFolder

bool setCurrentFolder(gio.file.File file = null)

Sets the current folder for chooser from a [gio.file.File].

Parameters

filethe [gio.file.File] for the new folder

Returns

true if the folder could be changed successfully, false

otherwise.

Throws

[ErrorWrap]

Deprecated

Use [gtk.file_dialog.FileDialog] instead