Trait animate::StageManagerExt [−][src]
pub trait StageManagerExt: 'static { fn get_default_stage(&self) -> Option<Stage>; fn list_stages(&self) -> Vec<Stage>ⓘ; fn peek_stages(&self) -> Vec<Stage>ⓘ; fn connect_stage_added<F: Fn(&Self, &Stage) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_stage_removed<F: Fn(&Self, &Stage) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_default_stage_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required methods
fn get_default_stage(&self) -> Option<Stage>
[src]
Returns the default Stage
.
Returns
the default stage. The returned object is owned by internals and you should never reference or unreference it
fn list_stages(&self) -> Vec<Stage>ⓘ
[src]
Lists all currently used stages.
Returns
a newly
allocated list of Stage
objects. Use glib::SList::free
to
deallocate it when done.
fn peek_stages(&self) -> Vec<Stage>ⓘ
[src]
Lists all currently used stages.
Returns
a pointer
to the internal list of Stage
objects. The returned list
is owned by the StageManager
and should never be modified
or freed
fn connect_stage_added<F: Fn(&Self, &Stage) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
The ::stage-added signal is emitted each time a new Stage
has been added to the stage manager.
stage
the added stage
fn connect_stage_removed<F: Fn(&Self, &Stage) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
The ::stage-removed signal is emitted each time a Stage
has been removed from the stage manager.
stage
the removed stage
fn connect_property_default_stage_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<StageManager>> StageManagerExt for O
[src]
impl<O: IsA<StageManager>> StageManagerExt for O
[src]fn get_default_stage(&self) -> Option<Stage>
[src]
fn list_stages(&self) -> Vec<Stage>ⓘ
[src]
fn peek_stages(&self) -> Vec<Stage>ⓘ
[src]
fn connect_stage_added<F: Fn(&Self, &Stage) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_stage_removed<F: Fn(&Self, &Stage) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_default_stage_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId