gtk::prelude

Trait AppChooserButtonExt

Source
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§

Source

fn append_custom_item(&self, name: &str, label: &str, icon: &impl IsA<Icon>)

Source

fn append_separator(&self)

Source

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

Source

fn shows_default_item(&self) -> bool

Source

fn shows_dialog_item(&self) -> bool

Source

fn set_active_custom_item(&self, name: &str)

Source

fn set_heading(&self, heading: &str)

Source

fn set_show_default_item(&self, setting: bool)

Source

fn set_show_dialog_item(&self, setting: bool)

Source

fn connect_custom_item_activated<F: Fn(&Self, &str) + 'static>( &self, detail: Option<&str>, f: F, ) -> SignalHandlerId

Source

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

Source

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

Source

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.

Implementors§