pub trait FileChooserExt: IsA<FileChooser> + Sealed + 'static {
Show 78 methods // Provided methods fn add_filter(&self, filter: FileFilter) { ... } fn add_shortcut_folder(&self, folder: impl AsRef<Path>) -> Result<(), Error> { ... } fn add_shortcut_folder_uri(&self, uri: &str) -> Result<(), Error> { ... } fn action(&self) -> FileChooserAction { ... } fn choice(&self, id: &str) -> Option<GString> { ... } fn creates_folders(&self) -> bool { ... } fn current_folder(&self) -> Option<PathBuf> { ... } fn current_folder_file(&self) -> Option<File> { ... } fn current_folder_uri(&self) -> Option<GString> { ... } fn current_name(&self) -> Option<GString> { ... } fn does_overwrite_confirmation(&self) -> bool { ... } fn extra_widget(&self) -> Option<Widget> { ... } fn file(&self) -> Option<File> { ... } fn filename(&self) -> Option<PathBuf> { ... } fn filenames(&self) -> Vec<PathBuf> { ... } fn files(&self) -> Vec<File> { ... } fn filter(&self) -> Option<FileFilter> { ... } fn is_local_only(&self) -> bool { ... } fn preview_file(&self) -> Option<File> { ... } fn preview_filename(&self) -> Option<PathBuf> { ... } fn preview_uri(&self) -> Option<GString> { ... } fn preview_widget(&self) -> Option<Widget> { ... } fn is_preview_widget_active(&self) -> bool { ... } fn selects_multiple(&self) -> bool { ... } fn shows_hidden(&self) -> bool { ... } fn uri(&self) -> Option<GString> { ... } fn uris(&self) -> Vec<GString> { ... } fn uses_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( &self, folder: impl AsRef<Path> ) -> Result<(), Error> { ... } fn remove_shortcut_folder_uri(&self, uri: &str) -> Result<(), Error> { ... } fn select_all(&self) { ... } fn select_file(&self, file: &impl IsA<File>) -> Result<(), Error> { ... } fn select_filename(&self, filename: impl AsRef<Path>) -> 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(&self, filename: impl AsRef<Path>) -> bool { ... } fn set_current_folder_file( &self, file: &impl IsA<File> ) -> Result<(), Error> { ... } fn set_current_folder_uri(&self, uri: &str) -> bool { ... } fn set_current_name(&self, name: &str) { ... } fn set_do_overwrite_confirmation(&self, do_overwrite_confirmation: bool) { ... } fn set_extra_widget(&self, extra_widget: &impl IsA<Widget>) { ... } fn set_file(&self, file: &impl IsA<File>) -> Result<(), Error> { ... } fn set_filename(&self, filename: impl AsRef<Path>) -> bool { ... } fn set_filter(&self, filter: &FileFilter) { ... } fn set_local_only(&self, local_only: bool) { ... } fn set_preview_widget(&self, preview_widget: &impl IsA<Widget>) { ... } 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(&self, file: &impl IsA<File>) { ... } fn unselect_filename(&self, filename: impl AsRef<Path>) { ... } fn unselect_uri(&self, uri: &str) { ... } fn connect_confirm_overwrite<F: Fn(&Self) -> FileChooserConfirmation + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_current_folder_changed<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_file_activated<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_selection_changed<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_update_preview<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_action_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_create_folders_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_do_overwrite_confirmation_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_extra_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_filter_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_local_only_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_preview_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_preview_widget_active_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_select_multiple_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_show_hidden_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_use_preview_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn add_filter(&self, filter: FileFilter)

source

fn add_shortcut_folder(&self, folder: impl AsRef<Path>) -> Result<(), Error>

source

fn add_shortcut_folder_uri(&self, uri: &str) -> Result<(), Error>

source

fn action(&self) -> FileChooserAction

source

fn choice(&self, id: &str) -> Option<GString>

source

fn creates_folders(&self) -> bool

source

fn current_folder(&self) -> Option<PathBuf>

source

fn current_folder_file(&self) -> Option<File>

source

fn current_folder_uri(&self) -> Option<GString>

source

fn current_name(&self) -> Option<GString>

source

fn does_overwrite_confirmation(&self) -> bool

source

fn extra_widget(&self) -> Option<Widget>

source

fn file(&self) -> Option<File>

source

fn filename(&self) -> Option<PathBuf>

source

fn filenames(&self) -> Vec<PathBuf>

source

fn files(&self) -> Vec<File>

source

fn filter(&self) -> Option<FileFilter>

source

fn is_local_only(&self) -> bool

source

fn preview_file(&self) -> Option<File>

source

fn preview_filename(&self) -> Option<PathBuf>

source

fn preview_uri(&self) -> Option<GString>

source

fn preview_widget(&self) -> Option<Widget>

source

fn is_preview_widget_active(&self) -> bool

source

fn selects_multiple(&self) -> bool

source

fn shows_hidden(&self) -> bool

source

fn uri(&self) -> Option<GString>

source

fn uris(&self) -> Vec<GString>

source

fn uses_preview_label(&self) -> bool

source

fn list_filters(&self) -> Vec<FileFilter>

source

fn list_shortcut_folder_uris(&self) -> Vec<GString>

source

fn list_shortcut_folders(&self) -> Vec<PathBuf>

source

fn remove_choice(&self, id: &str)

source

fn remove_filter(&self, filter: &FileFilter)

source

fn remove_shortcut_folder(&self, folder: impl AsRef<Path>) -> Result<(), Error>

source

fn remove_shortcut_folder_uri(&self, uri: &str) -> Result<(), Error>

source

fn select_all(&self)

source

fn select_file(&self, file: &impl IsA<File>) -> Result<(), Error>

source

fn select_filename(&self, filename: impl AsRef<Path>) -> bool

source

fn select_uri(&self, uri: &str) -> bool

source

fn set_action(&self, action: FileChooserAction)

source

fn set_choice(&self, id: &str, option: &str)

source

fn set_create_folders(&self, create_folders: bool)

source

fn set_current_folder(&self, filename: impl AsRef<Path>) -> bool

source

fn set_current_folder_file(&self, file: &impl IsA<File>) -> Result<(), Error>

source

fn set_current_folder_uri(&self, uri: &str) -> bool

source

fn set_current_name(&self, name: &str)

source

fn set_do_overwrite_confirmation(&self, do_overwrite_confirmation: bool)

source

fn set_extra_widget(&self, extra_widget: &impl IsA<Widget>)

source

fn set_file(&self, file: &impl IsA<File>) -> Result<(), Error>

source

fn set_filename(&self, filename: impl AsRef<Path>) -> bool

source

fn set_filter(&self, filter: &FileFilter)

source

fn set_local_only(&self, local_only: bool)

source

fn set_preview_widget(&self, preview_widget: &impl IsA<Widget>)

source

fn set_preview_widget_active(&self, active: bool)

source

fn set_select_multiple(&self, select_multiple: bool)

source

fn set_show_hidden(&self, show_hidden: bool)

source

fn set_uri(&self, uri: &str) -> bool

source

fn set_use_preview_label(&self, use_label: bool)

source

fn unselect_all(&self)

source

fn unselect_file(&self, file: &impl IsA<File>)

source

fn unselect_filename(&self, filename: impl AsRef<Path>)

source

fn unselect_uri(&self, uri: &str)

source

fn connect_confirm_overwrite<F: Fn(&Self) -> FileChooserConfirmation + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_current_folder_changed<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_file_activated<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_selection_changed<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_update_preview<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_action_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_create_folders_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_do_overwrite_confirmation_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_extra_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_filter_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_local_only_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_preview_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_preview_widget_active_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_select_multiple_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_show_hidden_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_use_preview_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§