Package ch.bailu.gtk.gtk
Interface SelectionModelInterface.OnSelectItem
- Enclosing class:
- SelectionModelInterface
- 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 TypeMethodDescriptionboolean
onSelectItem
(CallbackHandler __self, SelectionModel model, int position, boolean unselect_rest)
-
Method Details
-
onSelectItem
boolean onSelectItem(CallbackHandler __self, @Nonnull SelectionModel model, int position, boolean unselect_rest) - Parameters:
model
- a `GtkSelectionModel`position
- the position of the item to selectunselect_rest
- whether previously selected items should be unselected- Returns:
- %TRUE if this action was supported and no fallback should be tried. This does not mean the item was selected.
-