Package ch.bailu.gtk.gio
Interface ListModel.OnItemsChanged
- Enclosing class:
- ListModel
- 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
onItemsChanged
(int position, int removed, int added) This signal is emitted whenever items were added to or removed
from @list.
-
Method Details
-
onItemsChanged
void onItemsChanged(int position, int removed, int added) This signal is emitted whenever items were added to or removed
from @list. At @position, @removed items were removed and @added
items were added in their place.
Note: If `removed != added`, the positions of all later items
in the model change.- Parameters:
position
- the position at which @list changedremoved
- the number of items removedadded
- the number of items added
-