Gtk.FileChooser.prototype.set_local_only

function set_local_only(local_only:Boolean):void {
    // Gjs wrapper for gtk_file_chooser_set_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 are files are guaranteed to be accessible through the operating systems native file file system and therefore the application only needs to worry about the filename functions in Gtk.FileChooser, like Gtk.FileChooser.prototype.get_filename, rather than the URI functions like Gtk.FileChooser.prototype.get_uri,

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

Since 2.4

local_only

true if only local files can be selected