TreeViewColumn.setSortOrder

Changes the appearance of the sort indicator.

This does not actually sort the model. Use gtk.tree_view_column.TreeViewColumn.setSortColumnId if you want automatic sorting support. This function is primarily for custom sorting behavior, and should be used in conjunction with gtk.tree_sortable.TreeSortable.setSortColumnId to do that. For custom models, the mechanism will vary.

The sort indicator changes direction to indicate normal sort or reverse sort. Note that you must have the sort indicator enabled to see anything when calling this function; see gtk.tree_view_column.TreeViewColumn.setSortIndicator.

More...
class TreeViewColumn
void
setSortOrder

Parameters

order gtk.types.SortType

sort order that the sort indicator should indicate

Detailed Description

Deprecated: Use GtkColumnView instead