On 6/27/07, John Hunter <[EMAIL PROTECTED]> 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users