ColumnViewColumn.setSorter

void setSorter(gtk.sorter.Sorter sorter = null)

Associates a sorter with the column.

If sorter is null, 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 gtk.column_view.ColumnView.sortByColumn.

See gtk.column_view.ColumnView.getSorter for the necessary steps for setting up customizable sorting for gtk.column_view.ColumnView.

Parameters

sorterthe gtk.sorter.Sorter to associate with column