On Thu, 13 Jul 2006 22:25:40 +0100 Michael Foord <[EMAIL PROTECTED]> wrote:
> Hello all, > > There is a Tcl/Tk package called tkDnD with a Python wrapper called > TkinterDnD, which allow drag and drop operations with a Tkinter GUI. > > http://sourceforge.net/projects/tkdnd > http://www.8ung.at/klappnase/TkinterDnD/TkinterDnD.html > > This should allow you to create callbacks for files dropped onto Tkinter > windows, something I am keen to do. > > It looks like the TkinterDnD package is designed to be used with the > older version 1 of tkDnD. It also looks like this doesn't work with > Python 2.4. > > I can get the tkDnD package (v1) installed into the Tcl package that > comes with Python (for Windows XP SP2). The TkinterDnD demo runs, and > icons appear when you drag files over the windows. However the callbacks > don't happen. > > Does anyone have any success in getting any combination of these > packages working with Python 2.4 and windows ? > > All the best, Hi Michael, I made the same observations. Maybe the problem is that the tkdnd binary is built against an older version of Tcl/Tk. I currently don't have a windows box running, so I planned to wait until the unix part of tkdnd2 is fully implemented before I start updating the TkinterDnD module. The author of tkdnd wrote at http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/37c43ef2aeb2de18/d2d03a79b955f3d4?lnk=st&q=tkdnd&rnum=8 that tkdnd2 has a compatibility layer for tkdnd1-code, so maybe you could try to use tkdnd2 and see how far you get (I have not tried this so far). Michael _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
