Interface Node.OnNodeTraverseFunc

Enclosing class:
Node
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 Node.OnNodeTraverseFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onNodeTraverseFunc(CallbackHandler __self, Node node, Pointer user_data)
    Specifies the type of function passed to g_node_traverse().
  • Method Details

    • onNodeTraverseFunc

      boolean onNodeTraverseFunc(CallbackHandler __self, @Nonnull Node node, @Nullable Pointer user_data)
      Specifies the type of function passed to g_node_traverse(). The
      function is called with each of the nodes visited, together with the
      user data passed to g_node_traverse(). If the function returns
      %TRUE, then the traversal is stopped.
      Parameters:
      node - a #GNode.
      user_data - user data passed to g_node_traverse().
      Returns:
      %TRUE to stop the traversal.