Re: [pygtk] Drag and drop with a GenericTreeModel

2004-11-30 Thread Arjan Molenaar
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

[pygtk] Drag and drop with a GenericTreeModel

2004-11-29 Thread Don Allingham
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