Skip to main content

TreeViewOnNodeClickCallbackType

Type Alias TreeViewOnNodeClickCallbackType 

Source
pub type TreeViewOnNodeClickCallbackType = extern "C" fn(RefAny, CallbackInfo, usize) -> Update;
Expand description

Callback invoked when a tree node is clicked.

The usize parameter is the depth-first index of the clicked node (0 = root, then incremented in pre-order traversal).