Gtk.TreeSortable::set_default_sort_func
function vfunc_set_default_sort_func(sort_func:Gtk.TreeIterCompareFunc):void { }
Sets the default comparison function used when sorting to be sort_func. If the current sort column id of sortable is %GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort using this function.
If sort_func is null, then there will be no default comparison function. This means that once the model has been sorted, it can't go back to the default state. In this case, when the current sort column id of sortable is %GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, the model will be unsorted.
- sort_func
The comparison function