Project

General

Profile

Previous Up Next

_CBtreeRClick
Define a callback function on right click event.

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

_tree_
any tree object
_callback_
callback function on right-click event (supplemental parameters are selected item, (x,y) coordinates and button number)
_user_
user parameter
Return value

same tree object