pub trait FileChooserExtManual:
Sealed
+ IsA<FileChooser>
+ 'static {
// Provided methods
fn add_choice(
&self,
id: impl IntoGStr,
label: impl IntoGStr,
options: &[(&str, &str)],
) { ... }
fn set_current_folder(
&self,
file: Option<&impl IsA<File>>,
) -> Result<bool, Error> { ... }
}
๐Deprecated: Since 4.10
Expand description
Trait containing manually implemented methods of
FileChooser
.
Provided Methodsยง
fn add_choice( &self, id: impl IntoGStr, label: impl IntoGStr, options: &[(&str, &str)], )
๐Deprecated: Since 4.10
fn set_current_folder( &self, file: Option<&impl IsA<File>>, ) -> Result<bool, Error>
๐Deprecated: Since 4.10
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.