Interface TreeView.OnTestCollapseRow

Enclosing class:
TreeView
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 TreeView.OnTestCollapseRow
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The given row is about to be collapsed (hide its children nodes).
  • Method Details

    • onTestCollapseRow

      boolean onTestCollapseRow(@Nonnull TreeIter iter, @Nonnull TreePath path)
      The given row is about to be collapsed (hide its children nodes). Use this
      signal if you need to control the collapsibility of individual rows.
      Parameters:
      iter - the tree iter of the row to collapse
      path - a tree path that points to the row
      Returns:
      %FALSE to allow collapsing, %TRUE to reject