Package: gtk

Function gtk:file-chooser-add-shortcut-folder

Lambda List

gtk:file-chooser-add-shortcut-folder (chooser folder)

Arguments

chooser -- a gtk:file-chooser widget
folder -- a namestring with a filename of the folder to add

Return Value

True if the folder could be added successfully, false otherwise.

Details

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.

Warning

The gtk:file-chooser implementation is deprecated since 4.10. Use the gtk:file-dialog object instead.
 

See also

#2024-11-21