StGroup

StGroup — A fixed layout container

Synopsis

struct              StGroup;
struct              StGroupClass;
StWidget *          st_group_new                        (void);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ClutterActor
               +----StWidget
                     +----StContainer
                           +----StGroup

Implemented Interfaces

StGroup implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.

Description

A StGroup is an Actor which contains multiple child actors positioned relative to the StGroup position. Other operations such as scaling, rotating and clipping of the group will apply to the child actors.

A StGroup's size is defined by the size and position of its children; it will be the smallest non-negative size that covers the right and bottom edges of all of its children.

Setting the size on a Group using ClutterActor methods like clutter_actor_set_size() will override the natural size of the Group, however this will not affect the size of the children and they may still be painted outside of the allocation of the group. One way to constrain the visible area of a StGroup to a specified allocation is to explicitly set the size of the StGroup and then use the "clip-to-allocation" property.

Details

struct StGroup

struct StGroup;

The StGroup struct contains only private data


struct StGroupClass

struct StGroupClass {
};

The StGroupClass struct contains only private data


st_group_new ()

StWidget *          st_group_new                        (void);

Create a new StGroup.

Returns :

the newly created StGroup actor

See Also

ClutterGroup