ColumnViewColumn.setSorter

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.

class ColumnViewColumn
void
setSorter

Parameters

sorter gtk.sorter.Sorter

the gtk.sorter.Sorter to associate with column