Method

GtkFileChooserset_local_only

since: 2.4

Declaration [src]

void
gtk_file_chooser_set_local_only (
  GtkFileChooser* chooser,
  gboolean local_only
)

Description [src]

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 GtkFileChooser, like gtk_file_chooser_get_filename(), rather than the URI functions like gtk_file_chooser_get_uri(),

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

Available since: 2.4

Parameters

local_only

Type: gboolean

TRUE if only local files can be selected.