TreeSortable.setSortColumnId

void setSortColumnId(int sortColumnId, gtk.types.SortType order)

Sets the current sort column to be sort_column_id. The sortable will resort itself to reflect this change, after emitting a GtkTreeSortable::sort-column-changed signal. sort_column_id may either be a regular column id, or one of the following special values:

  • [gtk.types.TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID]: the default sort function

will be used, if it is set

  • [gtk.types.TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID]: no sorting will occur

Parameters

sortColumnIdthe sort column id to set
orderThe sort order of the column