I've been working with drag and drop with the TreeView in pygtk2. I want
to allow the user to use drag and drop between TreeViews and to allow
them to reorder elements within the TreeView. 

The TreeView task of create_row_drag_icon returns a pixmap, but the
drag_source_set_icon requires a pixmap and a mask. In gnome 1.X, I was
able to pass None when a mask was required and everything was fine.
pygtk2 will not accept None, instead it insists on getting a
gtk.gdk.Pixmap. Is there a way to do this cleanly? I can't seem to do
anything with pixmaps unless I have a mask.

Don





_______________________________________________
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