Interface Tree.OnTraverseFunc

Enclosing class:
Tree
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 Tree.OnTraverseFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onTraverseFunc(CallbackHandler __self, Pointer key, Pointer value, Pointer user_data)
    Specifies the type of function passed to g_tree_traverse().
  • Method Details

    • onTraverseFunc

      boolean onTraverseFunc(CallbackHandler __self, @Nullable Pointer key, @Nullable Pointer value, @Nullable Pointer user_data)
      Specifies the type of function passed to g_tree_traverse(). It is
      passed the key and value of each node, together with the @user_data
      parameter passed to g_tree_traverse(). If the function returns
      %TRUE, the traversal is stopped.
      Parameters:
      key - a key of a #GTree node
      value - the value corresponding to the key
      user_data - user data passed to g_tree_traverse()
      Returns:
      %TRUE to stop the traversal