Trait ux::StageManagerExt [−][src]
pub trait StageManagerExt: 'static { pub fn get_default_stage(&self) -> Option<Stage>; pub fn list_stages(&self) -> Vec<Stage, Global>ⓘ; pub fn peek_stages(&self) -> Vec<Stage, Global>ⓘ; 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); }
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>ⓘ
[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>ⓘ
[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]
F: 'static + Fn(&Self, &Stage),
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]
F: 'static + Fn(&Self, &Stage),
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]
F: 'static + Fn(&Self),
Implementors
impl<O> StageManagerExt for O where
O: IsA<StageManager>,
[src]
impl<O> StageManagerExt for O where
O: IsA<StageManager>,
[src]pub fn get_default_stage(&self) -> Option<Stage>
[src]
pub fn list_stages(&self) -> Vec<Stage, Global>ⓘ
[src]
pub fn peek_stages(&self) -> Vec<Stage, Global>ⓘ
[src]
pub fn connect_stage_added<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Stage),
[src]
F: 'static + Fn(&O, &Stage),
pub fn connect_stage_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Stage),
[src]
F: 'static + Fn(&O, &Stage),
pub fn connect_property_default_stage_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),