set_local_only


Description:

[ Version ( since = "2.4" ) ]
public void set_local_only (bool local_only)

Sets whether only local files can be selected in the file selector.

If local_only is true (the default), then the selected file or 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 FileChooser, like get_filename, rather than the URI functions like get_uri,

On some systems non-native files may still be available using the native filesystem via a userspace filesystem (FUSE).

Parameters:

this

a FileChooser

local_only

true if only local files can be selected




2022 vala-language.org