drag and drop to icon

Diez B. Roggisch deets at nospam.web.de
Wed Apr 12 12:53:17 EDT 2006


Eric S. Johansson wrote:

> I have a small problem that may be best solved by dragging and dropping
> a mail message to an icon.  But I'm honestly not sure what the data will
> look like from different e-mail clients.  Since most of my programming
> experience is something a user rarely sees, I'm not even sure where to
> start creating a test case.
> 
> I would appreciate pointers to documentation (and yes I did Google
> before asking) how to create an icon on a desktop (Macintosh and
> Windows) and have that icon act on something which has been dropped on it.

Drag'n'Drop is highly OS-dependand and clearly out of scope for
standard-out-of-the-box python. If you are on macintosh, pyobjc and 

http://www.cocoadev.com/index.pl?DragAndDrop

will certainly help. 

HTH,

Diez



More information about the Python-list mailing list