Project

General

Profile

Previous Up Next

_CBtreeSelect
Define a callback function on selection event.

ObjTree _CBtreeSelect (
ObjTree _tree_
fun [ObjTree u0 ObjTreeItem] u1 _callback_
u0 _user_
)
Parameters

_tree_
any tree object
_callback_
callback function on selection event (supplemental parameter is the selected item)
_user_
user parameter
Return value

same tree object