Trait ux::prelude::ActionExt[]

pub trait ActionExt: 'static {
Show methods pub fn activate(&self, parameter: Option<&Variant>);
pub fn change_state(&self, value: &Variant);
pub fn get_enabled(&self) -> bool;
pub fn get_name(&self) -> Option<GString>;
pub fn get_parameter_type(&self) -> Option<VariantType>;
pub fn get_state(&self) -> Option<Variant>;
pub fn get_state_hint(&self) -> Option<Variant>;
pub fn get_state_type(&self) -> Option<VariantType>;
pub fn connect_property_enabled_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_parameter_type_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_state_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
pub fn connect_property_state_type_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
;
}

Required methods

pub fn activate(&self, parameter: Option<&Variant>)

pub fn change_state(&self, value: &Variant)

pub fn get_enabled(&self) -> bool

pub fn get_name(&self) -> Option<GString>

pub fn get_parameter_type(&self) -> Option<VariantType>

pub fn get_state(&self) -> Option<Variant>

pub fn get_state_hint(&self) -> Option<Variant>

pub fn get_state_type(&self) -> Option<VariantType>

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

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

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

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

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

Loading content...

Implementors

impl<O> ActionExt for O where
    O: IsA<Action>, 

Loading content...