Re: [clutter] Animation in PyClutter

2007-11-11 Thread Emmanuele Bassi
On Thu, 2007-11-08 at 08:32 +1100, Josh Stewart wrote: Not sure what has changed, but in Ubuntu Feisty it appears that behaviours do not need to be global variables to function. I even reinstalled Feisty on my machine just to prove the point and it definitely seems to be the case. is feisty

Re: [clutter] Animation in PyClutter

2007-11-07 Thread Emmanuele Bassi
hi; On Wed, 2007-11-07 at 21:19 +0100, Johan Mårtenson wrote: def key_event(stage, event): timeline = clutter.Timeline(100, 26) alpha = clutter.Alpha(timeline, clutter.sine_func ) path_forward = clutter.BehaviourPath(alpha, ((0, 0), (100, 100))) # Up if event.keyval

Re: [clutter] Animation in PyClutter

2007-11-07 Thread Johan Mårtenson
Hi again, On 11/7/07, Emmanuele Bassi [EMAIL PROTECTED] wrote: hi; On Wed, 2007-11-07 at 21:19 +0100, Johan Mårtenson wrote: def key_event(stage, event): timeline = clutter.Timeline(100, 26) alpha = clutter.Alpha(timeline, clutter.sine_func ) path_forward =

Re: [clutter] Animation in PyClutter

2007-11-07 Thread Josh Stewart
Just to add my 2c with this, the variable scope for behaviours seems to have changed in Ubuntu Gutsy from Feisty. I'm not sure if you saw my email the other day saying I was having problems with timelines executing in Gutsy (Thinking it was an Intel problem, boy was THAT a dumb theory), but it was

Re: [clutter] Animation in PyClutter

2007-11-07 Thread Emmanuele Bassi
On Wed, 2007-11-07 at 22:14 +0100, Johan Mårtenson wrote: And indeed you're right. Just making the variables global fixes it. Actually, I still don't get the behavior I'm expecting. In the attached program, I want the HBox menu to slide to the middle and stay

Re: [clutter] Animation in PyClutter

2007-11-07 Thread Johan Mårtenson
Hi once again... :-) On 11/7/07, Johan Mårtenson [EMAIL PROTECTED] wrote: Hi again, On 11/7/07, Emmanuele Bassi [EMAIL PROTECTED] wrote: hi; On Wed, 2007-11-07 at 21:19 +0100, Johan Mårtenson wrote: def key_event(stage, event): timeline = clutter.Timeline(100, 26)