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