1

I'm using Python and I want to do a drag & drop interface. For example, with a large picture whose size is bigger then the screen, I want to click on it and drag it to see other parts. Something like "google maps"!

In google maps if we click two times we do "zoom" but if we click one time and while pressed, we move the mouse, we move around the map. That's what I want to do!

Is it possible to do this using wxWidgets module of Python? If so, how?

Thanks in advance :)

aF.
  • 64,980
  • 43
  • 135
  • 198
  • Do you mean "zoom"? Drag and drop would be dragging a file from your File Manager "into" your program, for example. – Steven Sproat Feb 10 '10 at 16:00
  • in google maps if we click two times it is "zoom" but if we click one time and then move the mouse we move around the map. That's what I want to do, do you understand? – aF. Feb 10 '10 at 19:41

1 Answers1

0

I found the solution over here: http://www.java2s.com/Code/Python/Event/Mouseactiondrag.htm

With this code I can do what I want!

And the name was only Mouse Drag and not Mouse Drag and Drop (soz)

aF.
  • 64,980
  • 43
  • 135
  • 198