set_sort_column_id


Description:

public abstract void set_sort_column_id (int sort_column_id, SortType order)

Sets the current sort column to be sort_column_id.

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

  • gtk_tree_sortable_default_sort_column_id: the default sort function will be used, if it is set
  • gtk_tree_sortable_unsorted_sort_column_id: no sorting will occur

Parameters:

this

A `GtkTreeSortable`

sort_column_id

the sort column id to set

order

The sort order of the column




2022 vala-language.org