Hi Ross, You probably would get more focused answers if you addressed the question to the wxPython list at wxpython-us...@lists.wxwidgets.org As for your question, seeing your (simplified) code might help: out of hand, what you want to do is catch the events you're interested in (e.g., double-left-click) and create functions/class-instances that would perform the needed actions. I'd suggest reading "wxPython in Action" (ISBN 1-932394-62-1) as it would give you most of the answers you seek. Bye, Ron.
> -----Original Message----- > From: rzzzwil...@gmail.com [mailto:rzzzwil...@gmail.com] > Sent: Sunday, May 24, 2009 03:28 > To: python-list@python.org > Subject: wxpython and zoom/pan image > > Hi, > > I've googled for this, but can only find things like > openlayers that is a web-based javascript solution. > > I need to display an image at various zoom levels and want to > allow the user to pan around in the Google maps style, that > is, left-click hold and drag. The code should also action > double-clicks on the image (but that's easy). > > There are no 'standard' wxpython widgets that allow this. > Can anyone point me to information on how to implement such a > thing, or maybe some working code? > > Thanks, > Ross > > -- http://mail.python.org/mailman/listinfo/python-list