Template Class FormWidget< bool, std::true_type >¶
- Defined in File formhelper.h
Page Contents
Inheritance Relationships¶
Base Type¶
public nanogui::CheckBox
(Class CheckBox)
Class Documentation¶
- template <>
-
template<>
classnanogui::detail::
FormWidget
<bool, std::true_type>¶ A specialization for adding a CheckBox to a FormHelper.
Inherits from nanogui::CheckBox
Public Functions
-
FormWidget
(Widget *p)¶ Creates a new FormWidget with underlying type CheckBox.
-
void
setValue
(bool v)¶ Pass-through function for nanogui::CheckBox::setChecked.
-
void
setEditable
(bool e)¶ Pass-through function for nanogui::Widget::setEnabled.
-
bool
value
() const¶ Returns the value of nanogui::CheckBox::checked.
-