what is the easiest way to drag an image ( or text) in a wx window ?
i need steps or a small example on how to do that.
thanx in advance
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
Take a look at the PseudoDC example in the wxPython demo. The sample displays some random shapes within the window which you can grab and move around, you should be able to apply the concepts for an image.
You can download the win32-docs-demos from here
Install wxpython demos, there is DragImage demostration in it.