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 slot access function gtk-file-chooser-local-only gets whether only local files can be selected in the file selector. The slot access function (setf gtk-file-chooser-local-only) 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 function gtk-file-chooser-filename, rather than the URI functions like the function gtk-file-chooser-uri.
 

See also

*2021-2-5