TreeSortableT.setSortFunc

Sets the comparison function used when sorting to be sort_func. If the current sort column id of sortable is the same as sort_column_id, then the model will sort using this function.

template TreeSortableT(TStruct)
void
setSortFunc

Parameters

sortColumnId int

the sort column id to set the function for

sortFunc GtkTreeIterCompareFunc

The comparison function

userData void*

User data to pass to sort_func, or NULL

destroy GDestroyNotify

Destroy notifier of user_data, or NULL