set_sorter


Description:

public void set_sorter (Sorter? sorter)

Associates a sorter with the column.

If sorter is unset, the column will not let users change the sorting by clicking on its header.

This sorter can be made active by clicking on the column header, or by calling [method@Gtk.ColumnView.sort_by_column].

See [method@Gtk.ColumnView.get_sorter] for the necessary steps for setting up customizable sorting for [class@Gtk.ColumnView].

Parameters:

this

a column

sorter

the `GtkSorter` to associate with column