sort_by_column


Description:

public void sort_by_column (ColumnViewColumn? column, SortType direction)

Sets the sorting of the view.

This function should be used to set up the initial sorting. At runtime, users can change the sorting of a column view by clicking on the list headers.

This call only has an effect if the sorter returned by [[email protected]_sorter] is set on a sort model, and [ [email protected]_sorter] has been called on column to associate a sorter with the column.

If column is null, the view will be unsorted.

Parameters:

this

a `GtkColumnView`

column

the `GtkColumnViewColumn` to sort by

direction

the direction to sort in




2022 vala-language.org