Clutter.StageManager

g Clutter.StageManager Clutter.StageManager GObject.Object GObject.Object GObject.Object->Clutter.StageManager

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

get_default ()

get_default_stage ()

list_stages ()

peek_stages ()

set_default_stage (stage)

Virtual Methods

Inherited:

GObject.Object (7)

do_stage_added (stage)

do_stage_removed (stage)

Properties

Name

Type

Flags

Short Description

default-stage

Clutter.Stage

r

The default stage

Signals

Inherited:

GObject.Object (1)

Name

Short Description

stage-added

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

stage-removed

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

Fields

Inherited:

GObject.Object (1)

Class Details

class Clutter.StageManager(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Clutter.StageManagerClass

The Clutter.StageManager structure is private.

New in version 1.0.

classmethod get_default()
Returns:

the default stage manager instance. The returned object is owned by Clutter and you should not reference or unreference it.

Return type:

Clutter.StageManager

Returns the default Clutter.StageManager.

New in version 0.8.

get_default_stage()
Returns:

the default stage. The returned object is owned by Clutter and you should never reference or unreference it

Return type:

Clutter.Stage

Returns the default Clutter.Stage.

New in version 0.8.

list_stages()
Returns:

a newly allocated list of Clutter.Stage objects. Use g_slist_free() to deallocate it when done.

Return type:

[Clutter.Stage]

Lists all currently used stages.

New in version 0.8.

peek_stages()
Returns:

a pointer to the internal list of Clutter.Stage objects. The returned list is owned by the Clutter.StageManager and should never be modified or freed

Return type:

[Clutter.Stage]

Lists all currently used stages.

New in version 1.0.

set_default_stage(stage)
Parameters:

stage (Clutter.Stage) – a Clutter.Stage

Sets stage as the default stage.

New in version 0.8.

Deprecated since version 1.2: Calling this function has no effect

do_stage_added(stage) virtual
Parameters:

stage (Clutter.Stage) –

do_stage_removed(stage) virtual
Parameters:

stage (Clutter.Stage) –

Signal Details

Clutter.StageManager.signals.stage_added(stage_manager, stage)
Signal Name:

stage-added

Flags:

RUN_LAST

Parameters:

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

New in version 0.8.

Clutter.StageManager.signals.stage_removed(stage_manager, stage)
Signal Name:

stage-removed

Flags:

RUN_LAST

Parameters:

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

New in version 0.8.

Property Details

Clutter.StageManager.props.default_stage
Name:

default-stage

Type:

Clutter.Stage

Default Value:

None

Flags:

READABLE

The default stage used by Clutter.

New in version 0.8.