I use DND on a GenericTreeModel in Gaphor.
http://cvs.sourceforge.net/viewcvs.py/gaphor/gaphor/gaphor/ui/namespace.py?rev=1.40&view=auto
You should especially pay attention to the NamespaceView class, which
basically does all the DND stuff.
Regards,
Arjan
Don Allingham wrote:
I've been trying to
I've been trying to implement drag and drop with a model derived from
the GenericTreeModel. So far, i haven't had much success. Anytime I
try to drop on the tree, I get the following error message:
gramps.py:101: GtkWarning: You must override the default
'drag_data_received' handler on GtkTreeV