Re: Drag n drop from another application

Michael Lange <[email protected]> Thu, 24 Aug 2017 23:26:32 +0200
Newsgroups gmane.comp.python.tkinter
Message-ID <[email protected]>
Hi Vasilis,

On Thu, 24 Aug 2017 14:04:15 +0000
Vasilis Vlachoudis <[email protected]> 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