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