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.

@FunctionalInterface public static interface SelectionModelInterface.OnSelectItem
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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 select
      unselect_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.