Trait clutter::ActorMetaExt[][src]

pub trait ActorMetaExt: 'static {
    fn get_actor(&self) -> Option<Actor>;
fn get_enabled(&self) -> bool;
fn get_name(&self) -> Option<GString>;
fn set_enabled(&self, is_enabled: bool);
fn set_name(&self, name: &str);
fn connect_property_actor_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
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; }

Trait containing all ActorMeta methods.

Implementors

Action, ActorMeta, Constraint, Effect

Required methods

fn get_actor(&self) -> Option<Actor>[src]

Retrieves a pointer to the Actor that owns self

Returns

a pointer to a Actor or None

fn get_enabled(&self) -> bool[src]

Retrieves whether self is enabled

Returns

true if the ActorMeta instance is enabled

fn get_name(&self) -> Option<GString>[src]

Retrieves the name set using ActorMetaExt::set_name

Returns

the name of the ActorMeta instance, or None if none was set. The returned string is owned by the ActorMeta instance and it should not be modified or freed

fn set_enabled(&self, is_enabled: bool)[src]

Sets whether self should be enabled or not

is_enabled

whether self is enabled

fn set_name(&self, name: &str)[src]

Sets the name of self

The name can be used to identify the ActorMeta instance

name

the name of self

fn connect_property_actor_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

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

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

Loading content...

Implementors

impl<O: IsA<ActorMeta>> ActorMetaExt for O[src]

Loading content...