Trait ux::StageManagerExt[][src]

pub trait StageManagerExt: 'static {
    pub fn get_default_stage(&self) -> Option<Stage>;
pub fn list_stages(&self) -> Vec<Stage, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
;
pub fn peek_stages(&self) -> Vec<Stage, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
;
pub fn connect_stage_added<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Stage)
;
pub fn connect_stage_removed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Fn(&Self, &Stage)
;
pub fn connect_property_default_stage_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Fn(&Self)
; }

Trait containing all StageManager methods.

Implementors

StageManager

Required methods

pub 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

pub fn list_stages(&self) -> Vec<Stage, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

Lists all currently used stages.

Returns

a newly allocated list of Stage objects. Use glib::SList::free to deallocate it when done.

pub fn peek_stages(&self) -> Vec<Stage, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[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

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

The ::stage-added signal is emitted each time a new Stage has been added to the stage manager.

stage

the added stage

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

The ::stage-removed signal is emitted each time a Stage has been removed from the stage manager.

stage

the removed stage

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

Loading content...

Implementors

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

Loading content...