[pygtk] sorting in treeView

David M. Cook dave at davidcook.org
Sun Aug 7 07:03:30 WST 2005


On Sat, Aug 06, 2005 at 04:29:24PM +0000, Vinay Reddy wrote:

> 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).

Use a sort function.  See the tutorial:

http://pygtk.org/pygtk2tutorial/sec-TreeModelInterface.html#sec-SortingTreeModelRows

Dave Cook


More information about the pygtk mailing list