FileChooser.setCurrentFolderUri

bool setCurrentFolderUri(string 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 [section on setting up a file chooser dialog][gtkfilechooserdialog-setting-up] for the rationale behind this.

Parameters

urithe URI for the new current folder

Returns

true if the folder could be changed successfully, false

otherwise.