Next: ClutterLabel, Previous: Fixed Point Support, Up: Top
Actor class containing multiple children. actors.
A <clutter-group>
is an Actor which contains multiple child actors
positioned relative to the <clutter-group>
position. Other operations
such as scaling, rotating and clipping of the group will apply to the child
actors.
A <clutter-group>
's size is defined by the size and position of its
children. Resize requests via the <clutter-actor>
API will be ignored.
Derives from
<clutter-container>
,<clutter-actor>
.This class defines no direct slots.
<clutter-actor>
)The ::add signal is emitted each time an actor has been added to the group.
deprecated: 0.4: This signal is deprecated, you should connect to the ClutterContainer::actor-added signal instead.
<clutter-actor>
)The ::remove signal is emitted each time an actor has been removed from the group
deprecated: 0.4: This signal is deprecated, you should connect to the ClutterContainer::actor-removed signal instead
<clutter-actor>
)Create a new
<clutter-group>
.
- ret
- the newly created
<clutter-group>
actor
<clutter-group>
) (actor <clutter-actor>
)‘clutter_group_remove’ is deprecated and should not be used in newly-written code.
Removes a child
<clutter-actor>
from the parent<clutter-group>
.deprecated: 0.4: This function is obsolete, use
clutter-container-remove-actor
instead.
- group
- A
<clutter-group>
- actor
- A
<clutter-actor>
<clutter-group>
)Removes all children actors from the
<clutter-group>
.
- group
- A
<clutter-group>
<clutter-group>
) (ret int
)Gets the number of actors held in the group.
- self
- A
<clutter-group>
- ret
- The number of child actors held in the group.
Since 0.2
<clutter-group>
) (index_ int
) (ret <clutter-actor>
)Gets a groups child held at index in stack.
- self
- A
<clutter-group>
- index
- the position of the requested actor.
- ret
- A Clutter actor or NULL if index is invalid.
Since 0.2
<clutter-group>
) (actor <clutter-actor>
) (sibling <clutter-actor>
)‘clutter_group_raise’ has been deprecated since version 0.6 and should not be used in newly-written code. Use
clutter-container-raise-child
instead.Raises actor to sibling level in the depth ordering.
- self
- a
<clutter-group>
- actor
- a
<clutter-actor>
- sibling
- a
<clutter-actor>
<clutter-group>
) (actor <clutter-actor>
) (sibling <clutter-actor>
)‘clutter_group_lower’ has been deprecated since version 0.6 and should not be used in newly-written code. Use
clutter-container-lower-child
insteadLowers actor to sibling level in the depth ordering.
- self
- a
<clutter-group>
- actor
- a
<clutter-actor>
- sibling
- a
<clutter-actor>
<clutter-group>
)‘clutter_group_sort_depth_order’ has been deprecated since version 0.6 and should not be used in newly-written code. Use
clutter-container-sort-depth-order
instead.Sorts a
<clutter-group>
's children by their depth value. This function should not be used by applications.
- self
- A
<clutter-group>