Trait gio::SimpleActionExt
[−]
[src]
pub trait SimpleActionExt { fn set_enabled(&self, enabled: bool); fn set_state(&self, value: &Variant); fn set_state_hint<'a, P: Into<Option<&'a Variant>>>(&self, state_hint: P); fn connect_activate<F: Fn(&Self, &Option<Variant>) + 'static>(
&self,
f: F
) -> u64; fn connect_change_state<F: Fn(&Self, &Option<Variant>) + 'static>(
&self,
f: F
) -> u64; }
Required Methods
fn set_enabled(&self, enabled: bool)
fn set_state(&self, value: &Variant)
fn set_state_hint<'a, P: Into<Option<&'a Variant>>>(&self, state_hint: P)
fn connect_activate<F: Fn(&Self, &Option<Variant>) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_change_state<F: Fn(&Self, &Option<Variant>) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
Implementors
impl<O: IsA<SimpleAction> + IsA<Object>> SimpleActionExt for O