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; }

Trait containing all StageManager methods.

Implementors

StageManager

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]

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]

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]

Loading content...

Implementors

impl<O: IsA<StageManager>> StageManagerExt for O[src]

Loading content...