Previous | Up | Next |
_CBcompTreeStateChanged
Sets a callback corresponding to a node opening or closing in tree view.Parameters
CompTree _CBcompTreeStateChanged ( CompTree _tree_ fun [CompTree u0 [I r1] I] u1 _callback_ u0 _user_ )
Return value
_tree_ any CompTree _callback_ callback function on opening or closing a node (supplemental parameters are position and state)
position where nil is root element, 0::nil is first son of root element, 1::nil is second son of root element, etc..
state is one of the values :
Value Meaning TRE_SHRINK node has just been closed TRE_EXPAND node has just been opened _user_ user parameter
same CompTree