The Widget to add this TreeView to.
The caption text of the TreeView (default "Untitled").
If provided, the callback to execute when the TreeView is checked or unchecked. Default parameter function does nothing. See nanogui.TreeView.mPushed for the difference between "pushed" and "checked".
Adds a TreeView to the specified parent.