GLib.TraverseFunc

function onTraverseFunc(key: void, value: void, data: void): Boolean {
}
  

Specifies the type of function passed to GLib.Tree.traverse. It is passed the key and value of each node, together with the @user_data parameter passed to GLib.Tree.traverse. If the function returns true, the traversal is stopped.

key

a key of a GLib.Tree node

value

the value corresponding to the key

data

user data passed to GLib.Tree.traverse

Returns

true to stop the traversal