> markers are per-timeline unique identifiers attached to a specific frame
> or at a specific time. each time a timeline reaches a marker, a signal
> will be emitted.
>
> for instance, if you have a timeline of duration=1000 and you want to
> receive notification of it being halfway through (to start another
> timeline or to update the animation), you just need to add a marker at
> the given time and connect to the ::marker-reached signal:
>
> clutter_timeline_add_marker_at_time (timeline, "half", 500);
> g_signal_connect (timeline, "marker-reached", half_cb, NULL);
Wow. This is a nice addition, i can stop my horrid workarounds based
on checking the timeline's progress at every frame until a certain
state !
Thanks !
-- To unsubscribe send a mail to clutter+unsubscribe_at_o-hand.comReceived on Thu Apr 03 2008 - 10:22:25 EDT
This archive was generated by hypermail 2.2.0 : Thu Apr 03 2008 - 11:00:17 EDT