pub trait AppChooserButtonExt:
IsA<AppChooserButton>
+ Sealed
+ 'static {
Show 13 methods
// Provided methods
fn append_custom_item(&self, name: &str, label: &str, icon: &impl IsA<Icon>) { ... }
fn append_separator(&self) { ... }
fn heading(&self) -> Option<GString> { ... }
fn shows_default_item(&self) -> bool { ... }
fn shows_dialog_item(&self) -> bool { ... }
fn set_active_custom_item(&self, name: &str) { ... }
fn set_heading(&self, heading: &str) { ... }
fn set_show_default_item(&self, setting: bool) { ... }
fn set_show_dialog_item(&self, setting: bool) { ... }
fn connect_custom_item_activated<F: Fn(&Self, &str) + 'static>(
&self,
detail: Option<&str>,
f: F,
) -> SignalHandlerId { ... }
fn connect_heading_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_default_item_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_show_dialog_item_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn append_custom_item(&self, name: &str, label: &str, icon: &impl IsA<Icon>)
fn append_separator(&self)
fn heading(&self) -> Option<GString>
fn shows_default_item(&self) -> bool
fn shows_dialog_item(&self) -> bool
fn set_active_custom_item(&self, name: &str)
fn set_heading(&self, heading: &str)
fn set_show_default_item(&self, setting: bool)
fn set_show_dialog_item(&self, setting: bool)
fn connect_custom_item_activated<F: Fn(&Self, &str) + 'static>( &self, detail: Option<&str>, f: F, ) -> SignalHandlerId
fn connect_heading_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_show_default_item_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_show_dialog_item_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
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.