Package: gtk

Callback gtk:list-box-sort-func

Syntax

lambda (row1 row2) => result

Arguments

row1 -- a gtk:list-box-row widget with the first row
row2 -- a gtk:list-box-row widget with the second row
result -- an integer which is < 0 if row1 should be before row2, 0 if they are equal and > 0 otherwise

Details

The type of the callback function that compares two rows to determine which should be first.
 

See also

#2024-4-13