1
0
Fork 0
mutter-performance-source/doc/reference/clutter
Emmanuele Bassi 71a4db6135 animation: Allow detaching an animation from an actor
When animating an actor through clutter_actor_animate() and friends we
might want forcibly detach the animation instance from the actor in
order to start a new one - for instance, in response to user
interaction.

Currently, there is no way to do that except in a very convoluted way,
by emitting the ::completed signal and adding a special case in the
signal handlers; this is due to the fact that clutter_actor_animate()
adds more logic than the one added by clutter_animation_set_object(),
so calling set_object(NULL) or unreferencing the animation instance
itself won't be enough.

The right way to approach this is to add a new method to Clutter.Actor
that detaches any eventual Animation currently referencing it.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2051
2010-09-10 11:18:53 +01:00
..
actor-box.png Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
animator-key-frames.png docs: Add visual cue for Animator's key frames 2010-02-25 17:09:55 +00:00
animator-key-frames.svg docs: Add visual cue for Animator's key frames 2010-02-25 17:09:55 +00:00
bin-layout.png docs: Add images for layout managers 2009-10-23 17:32:18 +01:00
box-layout.png docs: Add images for layout managers 2009-10-23 17:32:18 +01:00
building-clutter.xml cex100: Add an API to configure the GDL plane to use 2010-09-03 11:13:35 +01:00
clutter-animation-tutorial.xml docs: Fix some of the examples for the animation docs 2010-01-27 12:07:37 +00:00
clutter-docs.xml.in cex100: Add an API to configure the GDL plane to use 2010-09-03 11:13:35 +01:00
clutter-overview.xml docs: Fixes to avoid gtk-doc warnings 2010-08-17 14:54:20 +01:00
clutter-sections.txt animation: Allow detaching an animation from an actor 2010-09-10 11:18:53 +01:00
clutter.types Add ClutterTableLayout, a layout showing children in rows and columns 2010-08-10 23:20:06 +01:00
creating-behaviours.xml [docs] Fix wrong XML elements 2009-07-21 16:35:50 +01:00
easing-modes.png [docs] Update the easing modes documentation 2009-01-20 18:13:36 +00:00
easing-modes.svg [docs] Update the easing modes documentation 2009-01-20 18:13:36 +00:00
event-flow.dia * clutter/event-flow.png: fixed typo. 2008-06-13 10:37:33 +00:00
event-flow.png * clutter/event-flow.png: fixed typo. 2008-06-13 10:37:33 +00:00
flow-layout-horizontal.png docs: Add images for layout managers 2009-10-23 17:32:18 +01:00
flow-layout-vertical.png docs: Add images for layout managers 2009-10-23 17:32:18 +01:00
glossary.xml [docs] Add more collateral documentation 2009-09-03 16:51:14 +01:00
Makefile.am cex100: Add an API to configure the GDL plane to use 2010-09-03 11:13:35 +01:00
migrating-ClutterEffect.xml [docs] Fix typo in the effects migration guide 2009-07-21 09:20:16 +01:00
migrating-ClutterPath.xml [docs] Add a Path migration guide 2009-09-09 16:01:07 +01:00
path-alpha-func.png Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
running-clutter.xml cally: Improving cally doc 2010-07-07 15:48:08 +02:00
subclassing-ClutterActor.xml [docs] Update the "Subclassing Actor" chapter 2009-09-27 11:39:25 +01:00