drag & drop in a python GUI application

Michael Torrie torriem at gmail.com
Fri Jul 2 11:20:38 EDT 2010


On 07/01/2010 08:57 AM, Alan wrote:
> I know drag & drop is not possible with TK. 

Is this a Python Tk limitation or a Tk limitation in general?  Google
suggests that Tk itself supports some form of dnd.

> Which widget could I use for my
> python application to be able to work with drag & drop?

PyQt will do drag and drop on all platforms.  GTK does drag and drop on
Unix/X11, and to a lesser degree Win32--not sure about OS X support.  I
believe wxWidgets also does some level of dnd on all platforms.



More information about the Python-list mailing list