Re: Drag and drop in Windows

2013-05-01 Thread Christian Gollwitzer
Hi Robert, Am 01.05.13 10:06, schrieb Robert Flintham: Thanks Kevin, that looks great. It's having trouble finding TkDND though - is there a certain place in the "Python27" directory that it's most likely to look? It's currently under Lib/site-packages, but I'm suspicious that Tk/Tkinter has i

RE: Drag and drop in Windows

2013-05-01 Thread Robert Flintham
t@python.org Subject: Re: Drag and drop in Windows Official link: http://tkinterdnd.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list DISCLAIMER: This email and any attachments hereto contains proprietary information, some or all of which may be confidential or legally privi

Re: Drag and drop in Windows

2013-04-30 Thread Kevin Walzer
Official link: http://tkinterdnd.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Drag and drop in Windows

2013-04-30 Thread Kevin Walzer
On 4/29/13 6:25 AM, Robert Flintham wrote: I’ve found this (TkDND): http://wiki.tcl.tk/2768 Michael Lange has written a nice Python wrapper for TkDND. His site is offline at the moment, but I found the source files on my system and have wrapped them up here: http://www.codebykevin.com/T

Re: Drag and drop in Windows

2013-04-30 Thread Christian Gollwitzer
Hi Robert, Am 30.04.13 10:39, schrieb Robert Flintham: Thanks Christian. I've tried the following code: import Tkinter root = Tkinter.Tk() root.title("DICOM Opener") root.tk.eval('lappend auto_path {K:/Python27/Lib/site-packages/tkdnd2.6}') root.tk.eval('package require tkdnd'

RE: Drag and drop in Windows

2013-04-30 Thread Robert Flintham
python-list-bounces+robert.flintham=uhb.nhs...@python.org] On Behalf Of Christian Gollwitzer Sent: 29 April 2013 21:38 To: python-list@python.org Subject: Re: Drag and drop in Windows Hi Robert, Am 29.04.13 12:25, schrieb Robert Flintham: > I've found this (TkDND): > > http://wiki.tcl.t

Re: Drag and drop in Windows

2013-04-29 Thread Christian Gollwitzer
Hi Robert, Am 29.04.13 12:25, schrieb Robert Flintham: I’ve found this (TkDND): http://wiki.tcl.tk/2768 > But I don’t know how to implement this in Python. The Windows binary > for it comes as a set of “.tcl” files and a single “.dll” file. > 2.direct implementation of the Tcl file [tk.eval(‘