[Tkinter] Drag & drop

Hans Nowak apocalyptica at hvision.nl
Wed Oct 20 09:04:16 EDT 1999


Hello,

Does anyone have a drag & drop example for my snippets page? I am 
aware of the Tkinter demos in the Python distribution, but that's not 
really what I'm looking for. What I would like to see is something 
with, say, two labels, and the possibility to drag one label to the 
other, after which the text of the 'target' label changes. In other 
words, I need a way to determine where an object was dropped on. 
Haven't seen such an example so far, but maybe I just didn't search 
hard enough...

TIA,

--Hans Nowak (ivnowa at hvision.nl)
Homepage: http://fly.to/zephyrfalcon
Snippets: http://tor.dhs.org/~zephyrfalcon/snippets/




More information about the Python-list mailing list