It derives from <GtkSorter>.
Sorts items via a callback function.
Creates a new <GtkSorter> that works by calling
sort-func to compare items.
If sort-func is #f, all items are considered equal.
Passed, or left out: a procedure, or #f.
the GCompareDataFunc to use for
sorting
See GCompareDataFunc for how it is
called.
Returned: a <GtkCustomSorter>.
a new <GtkCustomSorter>
Not passed: guile-gi supplies it.
user data to pass to sort-func
Not passed: guile-gi supplies it.
destroy notify for user-data
See GDestroyNotify for how it is
called.
Sets (or unsets) the function used for sorting items.
If sort-func is #f, all items are considered equal.
If the sort func changes its sorting behavior, sorter:changed needs to be called.
If a previous function was set, its user-destroy will be called now.
Passed: a <GtkCustomSorter>.
Passed, or left out: a procedure, or #f.
function to sort items
See GCompareDataFunc for how it is
called.
Not passed: guile-gi supplies it.
user data to pass to match-func
Not passed: guile-gi supplies it.
destroy notify for user-data
See GDestroyNotify for how it is
called.