Trait gtk::prelude::AppChooserButtonExt
source · [−]pub trait AppChooserButtonExt: 'static {
Show 13 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_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)
sourcefn connect_custom_item_activated<F: Fn(&Self, &str) + 'static>(
fn connect_custom_item_activated<F: Fn(&Self, &str) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_heading_notify<F: Fn(&Self) + 'static>(
fn connect_property_heading_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_show_default_item_notify<F: Fn(&Self) + 'static>(
fn connect_property_show_default_item_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_show_dialog_item_notify<F: Fn(&Self) + 'static>(