Package: gtk

Accessor gtk:file-chooser-local-only

Lambda List

gtk:file-chooser-local-only (object)

Syntax

(gtk:file-chooser-local-only object) => local-only
(setf (gtk:file-chooser-local-only object) local-only)

Arguments

object -- a gtk:file-chooser widget
local-only -- true if only local files can be selected

Details

Accessor of the local-only slot of the gtk:file-chooser interface. The gtk:file-chooser-local-only function gets whether only local files can be selected in the file selector. The (setf gtk:file-chooser-local-only) function sets whether only local files can be selected.

If local-only is true, the default, then the selected files are guaranteed to be accessible through the operating systems native file system and therefore the application only needs to worry about the filename functions in the file chooser, like the gtk:file-chooser-filename function, rather than the URI functions like the gtk:file-chooser-uri function.
 

See also

2023-6-11