Hello all,

I am trying to animate a sub-actor inside a ClutterActor but I can't seem to
be able to do so.

I have an actor A which contains several Bs, A is not a container but a
regular actor.  I have a add method which adds B to A, and in the process
does B.set_parent (A).

1.  When I do so, right after the parenting operation I set the position and
dimensions of B.  The position and dimension requests are not being regarded
and according to --clutter-flags=paint, the allocation of actor B is
{0,0,0,0}.  I wonder why that is when I am explicitly setting the size and
position.  The only way I could get the actor B to appear was by explicitly
setting the allocation of actor B to the desired location.

2.  Then, in one of the other methods I try to animate the "x" property, but
it doesn't do anything, the actor stays where it was set by the allocation,
 the reason for which I couldn't understand either.

Is there anything I am missing?  How can I go about creating composite
actors where sub-actors can move around etc.?

Thanks,
Uday

Reply via email to