List
Box
Sort
Func
GJS API Reference
Gtk-4.0
Gtk
ListBoxSortFunc
Interface ListBoxSortFunc
Hierarchy
ListBoxSortFunc
Callable
List
Box
Sort
Func
(
row1
:
Gtk
.
ListBoxRow
, row2
:
Gtk
.
ListBoxRow
)
:
number
Compare two rows to determine which should be first.
Parameters
row1:
Gtk
.
ListBoxRow
the first row
row2:
Gtk
.
ListBoxRow
the second row
Returns
number
List
Box
Sort
Func
base64:eyJwYWdlTmF2aWdhdGlvbiI6W10sImNsYXNzTmFtZXMiOiJjdXJyZW50IHRzZC1raW5kLWludGVyZmFjZSB0c2QtcGFyZW50LWtpbmQtbmFtZXNwYWNlIiwiaHJlZiI6Ikd0a180XzAuR3RrLkxpc3RCb3hTb3J0RnVuYy5odG1sIiwibmFtZSI6Ikxpc3RCb3hTb3J0RnVuYyJ9
Compare two rows to determine which should be first.