FileChooser.addShortcutFolder

bool addShortcutFolder(gio.file.File folder)

Adds a folder to be displayed with the shortcut folders in a file chooser.

Parameters

foldera [gio.file.File] for the folder to add

Returns

true if the folder could be added successfully,

false otherwise.

Throws

[ErrorWrap]

Deprecated

Use [gtk.file_dialog.FileDialog] instead