Interface TreeView.OnTestExpandRow

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

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

    • onTestExpandRow

      boolean onTestExpandRow(@Nonnull TreeIter iter, @Nonnull TreePath path)
      The given row is about to be expanded (show its children nodes). Use this
      signal if you need to control the expandability of individual rows.
      Parameters:
      iter - the tree iter of the row to expand
      path - a tree path that points to the row
      Returns:
      %FALSE to allow expansion, %TRUE to reject