TraverseFunc

typealias TraverseFunc = (<Error class: unknown class>?, <Error class: unknown class>?, <Error class: unknown class>?) -> Boolean

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.

  • param key a key of a #GTree node

  • param value the value corresponding to the key

  • param data user data passed to g_tree_traverse()

  • return true to stop the traversal