TreeView.this

Adds a TreeView to the specified parent.

class TreeView(Data)
this
(,
string caption
,
Data data
,
void delegate
(
bool
)
callback
)

Parameters

parent Widget

The Widget to add this TreeView to.

caption string

The caption text of the TreeView (default "Untitled").

callback void delegate
(
bool
)

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".

Meta