[docs] More information on animation queueing
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 16 Mar 2009 18:20:58 +0000 (18:20 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 16 Mar 2009 18:20:58 +0000 (18:20 +0000)
commit567a96c96a47b2ca932781ef22b694475d4caae8
tree6a422a84c8fcdee47df5959f20e31b9a14584372
parent9694107f9002fcd2f6ec6900bccf1d28b16b21a5
[docs] More information on animation queueing

Queuing an animation on an actor cannot be done from within the
::completed signal handler, because we guarantee that the Animation
instance is valid and attached to the actor it animates for the
whole duration of the signal emission chain.

In order to queue animations you have to install an idle handler
on the main loop, and call clutter_actor_animate() inside it.

The documentation should be more clear about this caveat in the
memory management of ClutterAnimations created by the animate()
family of functions.
clutter/clutter-animation.c