Clutter.Group¶
- Subclasses:
Methods¶
- Inherited:
Clutter.Actor (238), GObject.Object (37), Clutter.Animatable (5), Clutter.Container (17), Clutter.Scriptable (4)
- Structs:
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
- Inherited:
Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Fields¶
- Inherited:
Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Clutter.Group(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Clutter.Group
structure contains only private data and should be accessed using the provided APINew in version 0.2.
- classmethod new()¶
- Returns:
the newly created
Clutter.Group
actor- Return type:
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:
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:
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.