Trait gtk::AppChooserButtonExt [−][src]
pub trait AppChooserButtonExt {
fn append_custom_item<P: IsA<Icon>>(
&self,
name: &str,
label: &str,
icon: &P
);
fn append_separator(&self);
fn get_heading(&self) -> Option<String>;
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
fn append_custom_item<P: IsA<Icon>>(&self, name: &str, label: &str, icon: &P)
fn append_separator(&self)
fn get_heading(&self) -> Option<String>
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
&self,
f: F
) -> SignalHandlerId
fn connect_property_heading_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_default_item_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_dialog_item_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<AppChooserButton> + IsA<Object>> AppChooserButtonExt for O