Package ch.bailu.gtk.gtk
Interface SelectionModel.OnSelectionChanged
- Enclosing class:
- SelectionModel
- 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
onSelectionChanged
(int position, int n_items) Emitted when the selection state of some of the items in @model changes.
-
Method Details
-
onSelectionChanged
void onSelectionChanged(int position, int n_items) Emitted when the selection state of some of the items in @model changes.
Note that this signal does not specify the new selection state of the
items, they need to be queried manually. It is also not necessary for
a model to change the selection state of any of the items in the selection
model, though it would be rather useless to emit such a signal.- Parameters:
position
- The first item that may have changedn_items
- number of items with changes
-