Trait webkit2gtk::FileChooserRequestExt
source · pub trait FileChooserRequestExt: 'static {
// Required methods
fn cancel(&self);
fn mime_types(&self) -> Vec<GString>;
fn mime_types_filter(&self) -> Option<FileFilter>;
fn selects_multiple(&self) -> bool;
fn selected_files(&self) -> Vec<GString>;
fn select_files(&self, files: &[&str]);
fn filter(&self) -> Option<FileFilter>;
fn connect_filter_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_mime_types_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_select_multiple_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_selected_files_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods§
fn cancel(&self)
fn mime_types(&self) -> Vec<GString>
fn mime_types_filter(&self) -> Option<FileFilter>
fn selects_multiple(&self) -> bool
fn selected_files(&self) -> Vec<GString>
fn select_files(&self, files: &[&str])
fn filter(&self) -> Option<FileFilter>
fn connect_filter_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_mime_types_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_select_multiple_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_selected_files_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Object Safety§
This trait is not object safe.