clutter.Group

clutter.Group — An actor that can contain multiple children

Synopsis

class clutter.Group(clutter.Actor, clutter.Container):
    clutter.Group()
def get_nth_child(index)
def get_n_children()
def remove_all()

Ancestry

gobject.GObject
 +--gobject.GInitiallyUnowned
     +--clutter.Actor
         +--clutter.Group
  

Properties

clutter.Actor Properties

clutter.Container Properties

Signal Prototypes

clutter.Actor Signal Prototypes

clutter.Container Signal Prototypes

Description

clutter.Group is an Actor which contains multiple child actors positioned relative to the Group position. Other operations such as scaling, rotating and clipping of the group will affect its children.

A Group size is defined by the size and position of its children. Resize requests via clutter.Actor methods wil be ignored.

Constructor

    clutter.Group()
Returns :a new clutter.Group.

Creates a new clutter.Group object.

Methods

clutter.Group.get_nth_child

    def get_nth_child(index)
Returns : the child actor at index.

The get_nth_child() method retrieves the child clutter.Actor at the given index.

clutter.Group.get_n_children

    def get_n_children()
Returns : the number of actor children.

The get_n_children() method retrieves the number of clutter.Actor children.

clutter.Group.remove_all

    def remove_all()

The remove_all() method removes all the children of a Group.

Signals