[Tkinter-discuss] Drop events from Desktop

Michael Lange klappnase at web.de
Wed Jun 2 11:28:29 CEST 2010


Hi,

On Wed, 2 Jun 2010 09:16:01 +0200
Vasilis Vlachoudis <Vasilis.Vlachoudis at cern.ch> wrote:

> Hi all,
> 
>  
> 
> Is there a way in Tkinter to receive drag'n'drop events from the
> Desktop?
> 
> e.g. from the filemanager drag a file in a Tkinter application
> 
>  

You can try the tkdnd Tk extension from

    http://sourceforge.net/projects/tkdnd/files/

and the respective Tkinter wrappers from http://klappnase.bubble.org/

However, your mileage may vary, depending on the platform (Windows /
Mac /Linux) in use. 

I hope this helps

Michael


More information about the Tkinter-discuss mailing list