This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: support for drag and drop of files to tkinter application
Type: enhancement Stage: resolved
Components: Tkinter Versions: Python 2.7
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: Sarbjit.singh, ned.deily
Priority: normal Keywords:

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:40adminsetgithub: 61229
2013-01-25 17:30:37ned.deilysetstatus: open -> closed

nosy: + ned.deily
messages: + msg180600

resolution: rejected
stage: resolved
2013-01-25 05:36:07Sarbjit.singhcreate