find_custom


Description:

public unowned TreeNode? find_custom (EqualFunc equal_func, void* key)

Walks the entire tree looking for the first item that matches given equal_func and key.

The first parameter to equal_func will always be key. The second parameter will be the nodes item property.

Parameters:

this

A Tree

equal_func

A ArraySearchFunc

key

the key for equal_func

Returns:

A TreeNode or null.