Hi all!

Just wondering if it was possible to be able to create a Tkinter window that can handle files being 'dropped' on it.

What i want is to be able to drag a file from an explorer window to a widget on my program (probably an Entry widget) and then take the path of that file and put it into the said widget.
Is this possible using a Tkinter GUI ??

Thanks all
a1eio

Recommended Answers

All 2 Replies

I think, that this is not possible. Try to use another GUI library like WxPython.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.