Package ch.bailu.gtk.gtk
Interface Sorter.OnChanged
- Enclosing class:
- Sorter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onChanged
(int change) Emitted whenever the sorter changed.
-
Method Details
-
onChanged
void onChanged(int change) Emitted whenever the sorter changed.
Users of the sorter should then update the sort order
again via gtk_sorter_compare().
[class@Gtk.SortListModel] handles this signal automatically.
Depending on the @change parameter, it may be possible to update
the sort order without a full resorting. Refer to the
[enum@Gtk.SorterChange] documentation for details.- Parameters:
change
- how the sorter changed
-