Description Usage Arguments Details Author(s)
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.
1 | gtkTreeSortableSetDefaultSortFunc(object, sort.func, user.data = NULL)
|
|
A |
|
The comparison function |
|
User data to pass to |
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.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.