[pygtk] question about dnd
Bóris Marin
boris at if.usp.br
Wed Jul 2 05:55:18 WST 2008
Hi
I'm trying to create an image that can be dragged to the desktop (using
gnome) and dropped there as a .png file. I've taken a look at
dragndrop.py, which is part of the tutorial
http://www.pygtk.org/pygtk2tutorial/examples/dragndrop.py
But I still don't understand the desktop' behavior as a drag destination
- if the pixmap in the above example is dragged to the desktop, a new
text file is created (the source widget acts as a text data source,
instead of image data) when dropped.
Thanks,
Boris Marin
More information about the pygtk
mailing list