Trait animate::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; }
Required methods
fn get_actor(&self) -> Option<Actor>
[src]
fn get_enabled(&self) -> bool
[src]
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]
fn set_name(&self, name: &str)
[src]
fn connect_property_actor_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<ActorMeta>> ActorMetaExt for O
[src]
fn get_actor(&self) -> Option<Actor>
[src]
fn get_enabled(&self) -> bool
[src]
fn get_name(&self) -> Option<GString>
[src]
fn set_enabled(&self, is_enabled: bool)
[src]
fn set_name(&self, name: &str)
[src]
fn connect_property_actor_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId