Clutter::Group.3pm

Langue: en

Autres versions - même langue

Version: 2010-08-25 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Clutter::Group - Actor class containing multiple children

SYNOPSIS

     my $group = Clutter::Group->new();
     $group->add($background, $image, $label);
 
 

DESCRIPTION

Clutter::Group is a Clutter::Actor which contains multiple child actors positioned relative to the 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 Actor API will be ignored.

HIERARCHY

   Glib::Object
   +----Glib::InitiallyUnowned
        +----Clutter::Actor
             +----Clutter::Group
 
 

INTERFACES

   Glib::Object::_Unregistered::ClutterScriptable
   Clutter::Container
 
 

METHODS

actor = Clutter::Group->new

integer = $group->get_n_children

actor = $group->get_nth_child ($index)

$index (integer)

$group->remove_all

SEE ALSO

Clutter, Glib::Object, Glib::InitiallyUnowned, Clutter::Actor Copyright (C) 2006, 2007, 2008 OpenedHand Ltd

Copyright (C) 2009 Intel Corporation

This module is free software; you can redistribute it and/or modify it under the terms of either:

the GNU Lesser General Public Library version 2.1; or
the Artistic License, version 2.0.

See Clutter for the full copyright notice.