[][src]Trait gio::ActionExt

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

Required methods

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

fn change_state(&self, value: &Variant)

fn get_enabled(&self) -> bool

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<Action>> ActionExt for O[src]

Loading content...