Okay, thanks for the heads up, I'll do that. On Sun, Aug 5, 2012 at 1:28 PM, Emmanuele Bassi <eba...@gmail.com> wrote:
> Hi Brian; > > I would like to point out that ClutterAnimation has been deprecated in > master, and that you may want to look at ClutterTransition (and its > subclasses) instead; a Transition is a subclass of Timeline, so you would > only have a single set of semantics for completeness, as well as looping. > The replacement for the Animation class if you want to animate a GObject > property is ClutterPropertyTransition; you can group multiple properties > using the TransitionGroup class. > > Ciao, > Emmanuele. > > On 4 Aug 2012, at 20:00, Brian Duffy <brdu...@gmail.com> wrote: > > ahhh ... > A > ClutterAnimation<http://developer.gnome.org/clutter/stable/clutter-Implicit-Animations.html#ClutterAnimation> > will > emit the > "completed"<http://developer.gnome.org/clutter/stable/clutter-Implicit-Animations.html#ClutterAnimation-completed> > signal > when the > ClutterTimeline<http://developer.gnome.org/clutter/stable/ClutterTimeline.html> > used > by the animation is completed; unlike > ClutterTimeline<http://developer.gnome.org/clutter/stable/ClutterTimeline.html>, > though, > the"completed"<http://developer.gnome.org/clutter/stable/clutter-Implicit-Animations.html#ClutterAnimation-completed> > will > not be emitted if > "loop"<http://developer.gnome.org/clutter/stable/clutter-Implicit-Animations.html#ClutterAnimation--loop> > is > set to TRUE - that is, a looping animation never completes. > > So, a looping animation never completes, but a looping Timeline does. Now > ... > > private void on_animation_completed (Timeline timeline) { > stdout.printf("%s", "inside completed"); > timeline.stop(); > timeline.set_delay(3000); > timeline.start(); > } > > gets it done. > > thanks > > On Sat, Aug 4, 2012 at 3:30 AM, Emmanuele Bassi <eba...@gmail.com> wrote: > >> On 4 August 2012 01:07, Brian Duffy <brdu...@gmail.com> wrote: >> > I have tried connecting a method to the completed signal, but that >> signal >> > does not fire on each iteration of a looping animation. >> >> it does. if it doesn't then it's either a bug in ClutterTimeline that >> somehow got past the test suite, or it's a bug in your code. >> >> > Also, If I try it >> > without looping then the animation is invalid when execution makes it >> to my >> > signal handler. >> >> the Timeline is guaranteed to be valid for the entire duration of a >> signal emission chain. this is a basic guarantee from GObject, but we >> also have reference count guards in place to maintain a Timeline >> instance alive until the frame has been processed. >> >> ciao, >> Emmanuele. >> >> > On Fri, Aug 3, 2012 at 6:12 PM, Lionel Landwerlin < >> llandwer...@gmail.com> >> > wrote: >> >> >> >> What about getting the timeline of the animation and >> >> clutter_timeline_pause() ? >> >> >> >> -- >> >> Lionel >> >> >> >> On Fri, 2012-08-03 at 18:08 -0400, Brian Duffy wrote: >> >> > I would like to pause for a few seconds between iterations of a >> >> > looping animation. Can it be done? >> >> > >> >> > >> >> > thanks >> >> > >> >> > >> >> > Brian >> >> > >> >> > >> >> > -- >> >> > Duff >> >> > >> >> > _______________________________________________ >> >> > clutter-app-devel-list mailing list >> >> > clutter-app-devel-list@clutter-project.org >> >> > http://lists.clutter-project.org/listinfo/clutter-app-devel-list >> >> >> >> >> >> _______________________________________________ >> >> clutter-app-devel-list mailing list >> >> clutter-app-devel-list@clutter-project.org >> >> http://lists.clutter-project.org/listinfo/clutter-app-devel-list >> > >> > >> > >> > >> > -- >> > Duff >> > >> > _______________________________________________ >> > clutter-app-devel-list mailing list >> > clutter-app-devel-list@clutter-project.org >> > http://lists.clutter-project.org/listinfo/clutter-app-devel-list >> > >> >> >> >> -- >> W: http://www.emmanuelebassi.name >> B: http://blogs.gnome.org/ebassi/ >> > > > > -- > Duff > > -- Duff
_______________________________________________ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://lists.clutter-project.org/listinfo/clutter-app-devel-list