I'm deriving a custom tree model from gtk.GenericTreeModel.
However, I also want drag and drop working by calling
Treeview.set_reorderable(gtk.TRUE)

Inheriting the model as:

class CustomModel(gtk.GenericTreeModel,gtk.TreeDragDest):

however causes an "Multiple bases have instance layout conflict" error 
message.

How do I enable drag and drop on a custom model?
I would rather not do it explicitly, using "drag_data_get\received" as the 
treeview widget already has nice built-in dnd support for 
scrolling and auto-expanding\auto-collapsing nodes when hovering over one.

Any ideas?
-- 
"Oh well... This means we won't have to spend Sunday in Philadelphia"
-Robert E. Lee, when retreating from Gettysburg.

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to