[pygtk] make treeview reorderable and accept external drag sources
Karl Ostmo
kostmo at gmail.com
Sun Dec 21 14:52:09 WST 2008
In the treeview drag and drop example here,
http://www.pygtk.org/pygtk2tutorial/sec-TreeViewDragAndDrop.html , they do
not use the set_reorderable(True) method to enable the internal row
rearranging functionality. Instead, they re-implement the functionality for
intra-tree drag and drop for a ListStore with their own code in a way that
also allows external sources.
I would like to add allow external drag sources for a TreeStore (not a
ListStore). However, re-implementing the functionality provided by
set_reorderable() looks like it is going to be considerably more difficult
than in the ListStore example. Is there some easier way to get external
sources working along side set_reorderable()?
Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20081221/79688948/attachment.htm
More information about the pygtk
mailing list