Clutter.Group

g Atk.ImplementorIface Atk.ImplementorIface Clutter.Actor Clutter.Actor Atk.ImplementorIface->Clutter.Actor Clutter.Group Clutter.Group Clutter.Actor->Clutter.Group Clutter.Animatable Clutter.Animatable Clutter.Animatable->Clutter.Actor Clutter.Container Clutter.Container Clutter.Container->Clutter.Actor Clutter.Scriptable Clutter.Scriptable Clutter.Scriptable->Clutter.Actor GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface GObject.GInterface->Clutter.Animatable GObject.GInterface->Clutter.Container GObject.GInterface->Clutter.Scriptable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Clutter.Actor GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:Clutter.Stage

Properties

Inherited:Clutter.Actor (82)

Fields

Inherited:Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Name Type Access Description
parent_instance Clutter.Actor r  

Class Details

class Clutter.Group(**kwargs)
Bases:Clutter.Actor
Abstract:No
Structure:Clutter.GroupClass

The Clutter.Group structure contains only private data and should be accessed using the provided API

New in version 0.2.

classmethod new()
Returns:the newly created Clutter.Group actor
Return type:Clutter.Actor

Create a new Clutter.Group.

Deprecated since version 1.10: Use Clutter.Actor.new() instead.

get_n_children()
Returns:The number of child actors held in the group.
Return type:int

Gets the number of actors held in the group.

New in version 0.2.

Deprecated since version 1.10: Use Clutter.Actor.get_n_children() instead.

get_nth_child(index_)
Parameters:index (int) – the position of the requested actor.
Returns:A Clutter actor, or None if index_ is invalid.
Return type:Clutter.Actor

Gets a groups child held at index_ in stack.

New in version 0.2.

Deprecated since version 1.10: Use Clutter.Actor.get_child_at_index() instead.

remove_all()

Removes all children actors from the Clutter.Group.

Deprecated since version 1.10: Use Clutter.Actor.remove_all_children() instead.