[−][src]Trait gtk::FileChooserExt
Required methods
fn add_filter(&self, filter: &FileFilter)
fn add_shortcut_folder<P: AsRef<Path>>(&self, folder: P) -> Result<(), Error>
fn add_shortcut_folder_uri(&self, uri: &str) -> Result<(), Error>
fn get_action(&self) -> FileChooserAction
fn get_choice(&self, id: &str) -> Option<GString>
fn get_create_folders(&self) -> bool
fn get_current_folder(&self) -> Option<PathBuf>
fn get_current_folder_file(&self) -> Option<File>
fn get_current_folder_uri(&self) -> Option<GString>
fn get_current_name(&self) -> Option<GString>
fn get_do_overwrite_confirmation(&self) -> bool
fn get_extra_widget(&self) -> Option<Widget>
fn get_file(&self) -> Option<File>
fn get_filename(&self) -> Option<PathBuf>
fn get_filenames(&self) -> Vec<PathBuf>
fn get_files(&self) -> Vec<File>
fn get_filter(&self) -> Option<FileFilter>
fn get_local_only(&self) -> bool
fn get_preview_file(&self) -> Option<File>
fn get_preview_filename(&self) -> Option<PathBuf>
fn get_preview_uri(&self) -> Option<GString>
fn get_preview_widget(&self) -> Option<Widget>
fn get_preview_widget_active(&self) -> bool
fn get_select_multiple(&self) -> bool
fn get_show_hidden(&self) -> bool
fn get_uri(&self) -> Option<GString>
fn get_uris(&self) -> Vec<GString>
fn get_use_preview_label(&self) -> bool
fn list_filters(&self) -> Vec<FileFilter>
fn list_shortcut_folder_uris(&self) -> Vec<GString>
fn list_shortcut_folders(&self) -> Vec<PathBuf>
fn remove_choice(&self, id: &str)
fn remove_filter(&self, filter: &FileFilter)
fn remove_shortcut_folder<P: AsRef<Path>>(&self, folder: P) -> Result<(), Error>
fn remove_shortcut_folder_uri(&self, uri: &str) -> Result<(), Error>
fn select_all(&self)
fn select_file<P: IsA<File>>(&self, file: &P) -> Result<(), Error>
fn select_filename<P: AsRef<Path>>(&self, filename: P) -> bool
fn select_uri(&self, uri: &str) -> bool
fn set_action(&self, action: FileChooserAction)
fn set_choice(&self, id: &str, option: &str)
fn set_create_folders(&self, create_folders: bool)
fn set_current_folder<P: AsRef<Path>>(&self, filename: P) -> bool
fn set_current_folder_file<P: IsA<File>>(&self, file: &P) -> Result<(), Error>
fn set_current_folder_uri(&self, uri: &str) -> bool
fn set_current_name<P: AsRef<Path>>(&self, name: P)
fn set_do_overwrite_confirmation(&self, do_overwrite_confirmation: bool)
fn set_extra_widget<P: IsA<Widget>>(&self, extra_widget: &P)
fn set_file<P: IsA<File>>(&self, file: &P) -> Result<(), Error>
fn set_filename<P: AsRef<Path>>(&self, filename: P) -> bool
fn set_filter(&self, filter: &FileFilter)
fn set_local_only(&self, local_only: bool)
fn set_preview_widget<P: IsA<Widget>>(&self, preview_widget: &P)
fn set_preview_widget_active(&self, active: bool)
fn set_select_multiple(&self, select_multiple: bool)
fn set_show_hidden(&self, show_hidden: bool)
fn set_uri(&self, uri: &str) -> bool
fn set_use_preview_label(&self, use_label: bool)
fn unselect_all(&self)
fn unselect_file<P: IsA<File>>(&self, file: &P)
fn unselect_filename<P: AsRef<Path>>(&self, filename: P)
fn unselect_uri(&self, uri: &str)
fn connect_confirm_overwrite<F: Fn(&Self) -> FileChooserConfirmation + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_current_folder_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_file_activated<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_selection_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_update_preview<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_action_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_create_folders_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_do_overwrite_confirmation_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_extra_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_filter_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_local_only_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_preview_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_preview_widget_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_select_multiple_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_hidden_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_use_preview_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<FileChooser>> FileChooserExt for O
[src]
fn add_filter(&self, filter: &FileFilter)
[src]
fn add_shortcut_folder<P: AsRef<Path>>(&self, folder: P) -> Result<(), Error>
[src]
fn add_shortcut_folder_uri(&self, uri: &str) -> Result<(), Error>
[src]
fn get_action(&self) -> FileChooserAction
[src]
fn get_choice(&self, id: &str) -> Option<GString>
[src]
fn get_create_folders(&self) -> bool
[src]
fn get_current_folder(&self) -> Option<PathBuf>
[src]
fn get_current_folder_file(&self) -> Option<File>
[src]
fn get_current_folder_uri(&self) -> Option<GString>
[src]
fn get_current_name(&self) -> Option<GString>
[src]
fn get_do_overwrite_confirmation(&self) -> bool
[src]
fn get_extra_widget(&self) -> Option<Widget>
[src]
fn get_file(&self) -> Option<File>
[src]
fn get_filename(&self) -> Option<PathBuf>
[src]
fn get_filenames(&self) -> Vec<PathBuf>
[src]
fn get_files(&self) -> Vec<File>
[src]
fn get_filter(&self) -> Option<FileFilter>
[src]
fn get_local_only(&self) -> bool
[src]
fn get_preview_file(&self) -> Option<File>
[src]
fn get_preview_filename(&self) -> Option<PathBuf>
[src]
fn get_preview_uri(&self) -> Option<GString>
[src]
fn get_preview_widget(&self) -> Option<Widget>
[src]
fn get_preview_widget_active(&self) -> bool
[src]
fn get_select_multiple(&self) -> bool
[src]
fn get_show_hidden(&self) -> bool
[src]
fn get_uri(&self) -> Option<GString>
[src]
fn get_uris(&self) -> Vec<GString>
[src]
fn get_use_preview_label(&self) -> bool
[src]
fn list_filters(&self) -> Vec<FileFilter>
[src]
fn list_shortcut_folder_uris(&self) -> Vec<GString>
[src]
fn list_shortcut_folders(&self) -> Vec<PathBuf>
[src]
fn remove_choice(&self, id: &str)
[src]
fn remove_filter(&self, filter: &FileFilter)
[src]
fn remove_shortcut_folder<P: AsRef<Path>>(&self, folder: P) -> Result<(), Error>
[src]
fn remove_shortcut_folder_uri(&self, uri: &str) -> Result<(), Error>
[src]
fn select_all(&self)
[src]
fn select_file<P: IsA<File>>(&self, file: &P) -> Result<(), Error>
[src]
fn select_filename<P: AsRef<Path>>(&self, filename: P) -> bool
[src]
fn select_uri(&self, uri: &str) -> bool
[src]
fn set_action(&self, action: FileChooserAction)
[src]
fn set_choice(&self, id: &str, option: &str)
[src]
fn set_create_folders(&self, create_folders: bool)
[src]
fn set_current_folder<P: AsRef<Path>>(&self, filename: P) -> bool
[src]
fn set_current_folder_file<P: IsA<File>>(&self, file: &P) -> Result<(), Error>
[src]
fn set_current_folder_uri(&self, uri: &str) -> bool
[src]
fn set_current_name<P: AsRef<Path>>(&self, name: P)
[src]
fn set_do_overwrite_confirmation(&self, do_overwrite_confirmation: bool)
[src]
fn set_extra_widget<P: IsA<Widget>>(&self, extra_widget: &P)
[src]
fn set_file<P: IsA<File>>(&self, file: &P) -> Result<(), Error>
[src]
fn set_filename<P: AsRef<Path>>(&self, filename: P) -> bool
[src]
fn set_filter(&self, filter: &FileFilter)
[src]
fn set_local_only(&self, local_only: bool)
[src]
fn set_preview_widget<P: IsA<Widget>>(&self, preview_widget: &P)
[src]
fn set_preview_widget_active(&self, active: bool)
[src]
fn set_select_multiple(&self, select_multiple: bool)
[src]
fn set_show_hidden(&self, show_hidden: bool)
[src]
fn set_uri(&self, uri: &str) -> bool
[src]
fn set_use_preview_label(&self, use_label: bool)
[src]
fn unselect_all(&self)
[src]
fn unselect_file<P: IsA<File>>(&self, file: &P)
[src]
fn unselect_filename<P: AsRef<Path>>(&self, filename: P)
[src]
fn unselect_uri(&self, uri: &str)
[src]
fn connect_confirm_overwrite<F: Fn(&Self) -> FileChooserConfirmation + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_current_folder_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_file_activated<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_selection_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_update_preview<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_action_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_create_folders_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_do_overwrite_confirmation_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_extra_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_filter_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_local_only_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_preview_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_preview_widget_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_select_multiple_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_hidden_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_use_preview_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId