Issue 17027: support for drag and drop of files to tkinter application (original) (raw)

Issue17027

Created on 2013-01-25 05:36 by Sarbjit.singh, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg180554 - (view) Author: Sarbjit singh (Sarbjit.singh) Date: 2013-01-25 05:36
It would be nice to have a support to drop the files (files from the file explorer i.e. from outside the application) to the tkinter application which could then set the file path/ directory path depending upon the configuration set in the module. This feature would be very helpful in applications where user need to select some file/directory.
msg180600 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-01-25 17:30
A feature like drag-and-drop seems like something that needs to be provided at either the application level or within Tk or both. While there is apparently no built-in Tk support for drag-and-drop, it appears to be possible to use a Tk extension that provides that capability and that will work with Tkinter. See, for example, http://stackoverflow.com/questions/14267900/python-drag-and-drop-explorer-files-to-tkinter-entry-widget
History
Date User Action Args
2022-04-11 14:57:40 admin set github: 61229
2013-01-25 17:30:37 ned.deily set status: open -> closednosy: + ned.deilymessages: + resolution: rejectedstage: resolved
2013-01-25 05:36:07 Sarbjit.singh create