RGtk2 (version 2.20.31)

gtkTreeSortableSetSortFunc: gtkTreeSortableSetSortFunc

Description

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.

Usage

gtkTreeSortableSetSortFunc(object, sort.column.id, sort.func, user.data = NULL)

Arguments

sort.column.id
the sort column id to set the function for
sort.func
The comparison function
user.data
User data to pass to sort.func, or NULL. [ allow-none ]