TkinterDnD2

TkinterDnD2 is a python wrapper for George Petasis' tkDnD Tk extension version 2. Please note that it will not work with the tkdnd1.0-series.
tkDnD2 adds native drag and drop support for windows and (yet partially) unix to Tk. TkinterDnD2 makes this functionality available for Tkinter.
If you want to use TkinterDnD2 you will of course have to install tkDnD2 first. Windows binaries as well as the sources can be found here .
TkinterDnD2-0.1 is only a first prototype, so please be careful using it for production code.
The distribution contains a little demo script that shows how I managed to drop files from Explorer onto a Tkinter Listbox. I have not yet succeeded dragging from Tk.
On unix, dragging is not yet implemented in tkDnD2, dropping should work, however it did not work yet for me.
Any comments, bug reports or even fixes are highly appreciated.
Please contact: Michael Lange <klappnase (at) freakmail (dot) de>

License

TkinterDnD is released in the public domain.

Download

Here you can download the latest version of TkinterDnD2.


(back to main page)