Next: , Previous: Shaders, Up: Top


61 Stage Manager

Maintains the list of stages

61.1 Overview

<clutter-stage-manager> is a singleton object, owned by Clutter, which maintains the list of currently active stages

Every newly-created <clutter-stage> will cause the emission of the <"stage-added"> signal; once a <clutter-stage> has been destroyed, the <"stage-removed"> signal will be emitted

<clutter-stage-manager> is available since Clutter 0.8

61.2 Usage

— Function: clutter-stage-manager-get-default ⇒  (ret <clutter-stage-manager>)

Returns the default <clutter-stage-manager>.

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

Since 0.8

— Function: clutter-stage-manager-list-stages (self <clutter-stage-manager>) ⇒  (ret gslist-of)
— Method: list-stages

Lists all currently used stages.

stage-manager
a <clutter-stage-manager>
ret
a newly allocated list of <clutter-stage> objects. Use g-slist-free to deallocate it when done.

Since 0.8

— Function: clutter-stage-manager-peek-stages (self <clutter-stage-manager>) ⇒  (ret gslist-of)
— Method: peek-stages

Lists all currently used stages.

stage-manager
a <clutter-stage-manager>
ret
a pointer to the internal list of <clutter-stage> objects. The returned list is owned by the <clutter-stage-manager> and should never be modified or freed.

Since 1.0