wxPython: some help with Drag&Drop

Eric von Horst z80vsvic20 at hotmail.com
Mon Mar 10 17:04:09 EDT 2008


Hi,

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
bitmap.

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



Erik




More information about the Python-list mailing list