Happy new year!

About your problem, the events are emitted when you have an animation
running.
You can get smooth scrolling by stopping the timeline and creating a new one
with the updated paths that result of scrolling.

Jan.

On Fri, Jan 2, 2009 at 9:45 AM, <[email protected]> wrote:

> Hi !
>
> First of all, I'd like to wish you all a happy new year !
>
> I don't really know if it's the right place to ask so feel free to redirect
> me if not :)
>
> I'm building a small media-center-like application with pyClutter. One of
> the caracteristic of this app is that it has to be usable with just a mouse
> (I don't want a keyboard in my living room ;)).
> Okay, now imagine a big horizontal list of pictures. Let's say movie covers
> for instance. I could have just  7 or 8 covers displayed on the screen but
> the list could be 30 or more.
> I'd like to be able to scroll the list with the mouse wheel so I connected
> the "scroll-event" to a function that makes the scrolling. It works pretty
> well but not perfectly.
> In fact, when I want to go at the end of the list, I have to scroll one
> time, then wait until the animation is finished, re-scroll, re-wait, and so
> on, which is kinda boring :/
> Events are not "recorded" when an animation occurs.
>
> So, my question is : is there an easy way to handle fast user input like
> scroll-event ? I thought about storing them in a list or using threads but I
> don't really know if that will fit my needs. Well, any idea/comment is
> welcome :)
>
> Best regards,
> - François
> --
> To unsubscribe send a mail to 
> [email protected]<clutter%[email protected]>
>
>

Reply via email to