[pygtk] sorting GenericTreeModels
Bryan Horvat
bhorvat3 at gmail.com
Tue Aug 11 08:59:51 WST 2009
I have a tree model that has been derived from GenericTreeModel, which I
then wrap in a TreeModelSort. When I'm running my program with gtk version
2.6, everything displays correctly. However, when using version 2.10 or
higher, only the top-level rows get displayed. None of the child rows in my
model get displayed at all. I assume that this is due to my TreeModelSort
object incorrectly sorting the items in my GenericTreeModel object, and
creating "sorted paths" which don't exist, and which, thus, can't be
displayed by the TreeView. Or, at least, that's my only guess. Has
anything significant in TreeModelSort or TreeSortable changed between
versions 2.6 and 2.10 that might be causing this?
Thanks,
Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090810/fb0001e9/attachment.htm
More information about the pygtk
mailing list