[Tkinter-discuss] Drag n drop from another application

Michael Lange klappnase at web.de
Thu Aug 24 17:26:32 EDT 2017


Hi Vasilis,

On Thu, 24 Aug 2017 14:04:15 +0000
Vasilis Vlachoudis <Vasilis.Vlachoudis at cern.ch> wrote:

> Hi All,
> 
> is there a way to catch a drop signal from KDE, GNOME, etc..
> e.g. dragging a file from the file browser in x11 to an application
> with Tkinter

the tkdnd Tk extension can do that. I wrote a Tkinter wrapper for tkdnd
some time ago ( http://tkinterdnd.sourceforge.net/ ), the version
available there however is buggy and works only partially. I have a much
improved version here that I wanted to upload as soon as I find the time
to run a few more tests and update the docs, if you would like to try
that one I could send it to you off-list.

Best regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Superior ability breeds superior ambition.
		-- Spock, "Space Seed", stardate 3141.9


More information about the Tkinter-discuss mailing list