[pygtk] sorting in treeView

Vinay Reddy vinayvinay at gmail.com
Sun Aug 7 00:29:24 WST 2005


Hi,
I am using a TreeView to display three columns (all of which display strings).
For each of the TreeViewColumns, I did a set_sort_column_id().

In case of a tie while sorting on a particular column other columns
are considered at all. I want the sorting function to sort based on
the other columns in case of a tie (in the main column).

Is there an easy way to do this? What's the easiest (and reasonably
fast) way to do this? I have about 2000 rows in my listmodel.

Vinay


More information about the pygtk mailing list