Re: [clutter] PyClutter "external" behaviours

From: Gideon de Kok <gideon@nyarna.com>
Date: Sat Mar 10 2007 - 15:57:22 EST

Hi,
 
> > timeline = clutter.Timeline(40, 50)
> > alpha = clutter.Alpha(timeline, clutter.ramp_inc_func)
> >
> > o_behaviour = BehaviourRoll(alpha)
> >
> > timeline = clutter.Timeline(40, 50)
> > for label in menu:
> > o_behaviour.apply(label)
> >
> > timeline.start()
> > timeline.connect("new-frame", self.printBlaat)
>
> Is self.printBlaat getting called in the above example ?

Yes, the timeline.connect function calls the self.printBlaat function
perfectly (which eventually prints out a lot of "Blaat" strings)...
So the timeline is created successfully and also works.. Thus the weird
thing is why the "behaviour" isn't called..

-- 
To unsubscribe send a mail to clutter+unsubscribe@o-hand.com
Received on Sat, 10 Mar 2007 21:57:22 +0100

This archive was generated by hypermail 2.1.8 : Mon Apr 30 2007 - 08:01:15 EDT