Top |
ClutterStageManager * | clutter_stage_manager_get_default () |
void | clutter_stage_manager_set_default_stage () |
ClutterStage * | clutter_stage_manager_get_default_stage () |
GSList * | clutter_stage_manager_list_stages () |
const GSList * | clutter_stage_manager_peek_stages () |
ClutterStageManager is a singleton object, owned by Clutter, which maintains the list of currently active stages
Every newly-created ClutterStage will cause the emission of the “stage-added” signal; once a ClutterStage has been destroyed, the “stage-removed” signal will be emitted
ClutterStageManager is available since Clutter 0.8
ClutterStageManager *
clutter_stage_manager_get_default (void
);
Returns the default ClutterStageManager.
the default stage manager instance. The returned object is owned by Clutter and you should not reference or unreference it.
[transfer none]
Since: 0.8
void clutter_stage_manager_set_default_stage (ClutterStageManager *stage_manager
,ClutterStage *stage
);
clutter_stage_manager_set_default_stage
has been deprecated since version 1.2 and should not be used in newly-written code.
Calling this function has no effect
Sets stage
as the default stage.
Since: 0.8
ClutterStage *
clutter_stage_manager_get_default_stage
(ClutterStageManager *stage_manager
);
Returns the default ClutterStage.
the default stage. The returned object is owned by Clutter and you should never reference or unreference it.
[transfer none]
Since: 0.8
GSList *
clutter_stage_manager_list_stages (ClutterStageManager *stage_manager
);
Lists all currently used stages.
a newly
allocated list of ClutterStage objects. Use g_slist_free()
to
deallocate it when done.
[transfer container][element-type Clutter.Stage]
Since: 0.8
const GSList *
clutter_stage_manager_peek_stages (ClutterStageManager *stage_manager
);
Lists all currently used stages.
a pointer to the internal list of ClutterStage objects. The returned list is owned by the ClutterStageManager and should never be modified or freed.
[transfer none][element-type Clutter.Stage]
Since: 1.0
typedef struct _ClutterStageManager ClutterStageManager;
The ClutterStageManager structure is private.
Since: 1.0
struct ClutterStageManagerClass { };
The ClutterStageManagerClass structure contains only private data and should be accessed using the provided API
Since: 1.0
“default-stage”
property“default-stage” ClutterStage *
The default stage used by Clutter.
Flags: Read
Since: 0.8
“stage-added”
signalvoid user_function (ClutterStageManager *stage_manager, ClutterStage *stage, gpointer user_data)
The ::stage-added signal is emitted each time a new ClutterStage has been added to the stage manager.
stage_manager |
the object which received the signal |
|
stage |
the added stage |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.8
“stage-removed”
signalvoid user_function (ClutterStageManager *stage_manager, ClutterStage *stage, gpointer user_data)
The ::stage-removed signal is emitted each time a ClutterStage has been removed from the stage manager.
stage_manager |
the object which received the signal |
|
stage |
the removed stage |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.8