wxPython: some help with Drag&Drop

Eric von Horst z80vsvic20 at hotmail.com
Mon Mar 10 22:04:09 CET 2008


I need some advice on Drag&Drop.

What I want to achieve is the following:
-          I have a window that is divided in two : on the left hand I
have a wx.TreeCtlr and on the other hand a wx.StaticBitmap

I want to be able to drag an item from the tree onto the static

I know how to do drag&drop in a treeCtrl but is there a way that I can
make the bitmap detect that something has been dropped on it?

I would only need to know the name of the tree obj that was dropped on
the bitmap (and the location)

Any help much appreciated


More information about the Python-list mailing list