I recently had occasion for drag 'n drop functionality in Tkinter, and after much searching around decided that tkdnd.py was the only viable solution (at least, that I could find). The code is actually quite understandable (well, at the 'large chunks' level). In the directory where tkdnd.py is located simply type:

pythonw tkdnd.py

and it will work. If you find anything simpler or more bare bones, please let us know.

John Miller

On Dec 29, 2004, at 4:25 PM, Sean McIlroy <[EMAIL PROTECTED]> wrote:

I'd like to get some example code showing how to move
widgets around in drag-and-drop fashion. I've tried
looking at tkDND.py (I think that's what it's called)
but that was a little involved - what I want to know
is the barest of bare bones. Any help would be majorly
fabulous. Merci beaucoup.

STM

_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor

Reply via email to