FileChooserIF.addShortcutFolder

Adds a folder to be displayed with the shortcut folders in a file chooser. Note that shortcut folders do not get saved, as they are provided by the application. For example, you can use this to add a "/usr/share/mydrawprogram/Clipart" folder to the volume list. Since 2.4

interface FileChooserIF
int
addShortcutFolder
(
string folder
)

Parameters

folder string

filename of the folder to add

Return Value

Type: int

TRUE if the folder could be added successfully, FALSE otherwise. In the latter case, the error will be set as appropriate.

Throws

GException on failure.

Meta