Trait AppChooserButtonExt

Source
pub trait AppChooserButtonExt: 'static {
Show 13 methods // Required methods fn append_custom_item<P: IsA<Icon>>( &self, name: &str, label: &str, icon: &P, ); fn append_separator(&self); fn get_heading(&self) -> Option<GString>; fn get_show_default_item(&self) -> bool; fn get_show_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, f: F, ) -> SignalHandlerId; fn connect_property_heading_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_default_item_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_show_dialog_item_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

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

Source

fn append_separator(&self)

Source

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

Source

fn get_show_default_item(&self) -> bool

Source

fn get_show_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, f: F, ) -> SignalHandlerId

Source

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

Source

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

Source

fn connect_property_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§