gtkRecentChooserSetSortFunc {RGtk2} | R Documentation |
Sets the comparison function used when sorting to be sort.func
. If
the chooser
has the sort type set to
GTK_RECENT_SORT_CUSTOMthen the chooser will sort using this function.
gtkRecentChooserSetSortFunc(object, sort.func, sort.data)
|
|
|
the comparison function |
|
user data to pass to |
To the comparison function will be passed two GtkRecentInfo
structs and
sort.data
; sort.func
should return a positive integer if the first
item comes before the second, zero if the two items are equal and
a negative integer if the first item comes after the second.
Since 2.10
Derived by RGtkGen from GTK+ documentation