actor: Add basic automatic expand flags
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 27 Mar 2012 13:53:27 +0000 (14:53 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 27 Apr 2012 11:30:48 +0000 (12:30 +0100)
commit90032e00196494db381980abdca3639f9d605d3d
tree517211ef689e310988c81c847c59abcfcc470752
parent217c4e7ba0958c6a84cc387885437e58bb3f6069
actor: Add basic automatic expand flags

The :x-expand and :y-expand flags on ClutterActor are used to signal
that an actor should expand horizontally and/or vertically - i.e. that
its parent's layout management policy should try to assign extra space
to the actor when allocating it.

The expand flags are automatic: when set on a leaf node in the actor
tree, they will bubble up through the parent and grandparents up to the
top level actor; during allocation, the actors with children will lazily
compute whether their children needs to expand.
clutter/clutter-actor-private.h
clutter/clutter-actor.c
clutter/clutter-actor.h
clutter/clutter.symbols