Trait FileChooserExtManual

Source
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ยง

Source

fn add_choice( &self, id: impl IntoGStr, label: impl IntoGStr, options: &[(&str, &str)], )

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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.

Implementorsยง