Interface SelectionModelInterface.OnSelectRange

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.OnSelectRange
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onSelectRange(CallbackHandler __self, SelectionModel model, int position, int n_items, boolean unselect_rest)
     
  • Method Details

    • onSelectRange

      boolean onSelectRange(CallbackHandler __self, @Nonnull SelectionModel model, int position, int n_items, boolean unselect_rest)
      Parameters:
      model - a `GtkSelectionModel`
      position - the first item to select
      n_items - the number of items 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 range was selected.