NodeTraverseFunc

typealias NodeTraverseFunc = (node: Node, <Error class: unknown class>?) -> Boolean

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.

  • param node a #GNode.

  • param data user data passed to g_node_traverse().

  • return true to stop the traversal.