|
From: John H. <jd...@gm...> - 2007-06-27 13:55:03
|
On 6/27/07, John Hunter <jd...@gm...> wrote: > Here is a simple example showing how to do this -- we could add > support for this in a built-in function. It would be nice if we > encapsulated the scroll mouse in our event handling, since the scroll > is the natural way to browse these images I just added a scroll_event to backend bases -- it fires a mouse event setting the button attribute to either 'up' or 'down' and added this example to examples/image_slices_viewer.py Developers who use/develop other backends -- if you get a minute it would be nice to connect up your backend to the new scroll_event. See backend_gtk.py for example code Thanks, JDH |