Re: [clutter] Thought about using clutter and timelines

From: Florent <fthiery_at_gmail.com>
Date: Thu, 3 Apr 2008 16:22:25 +0200

> 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.com
Received 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