Template Class FormWidget< std::string, std::true_type >

Inheritance Relationships

Base Type

Class Documentation

template<>
class FormWidget<std::string, std::true_type> : public nanogui::TextBox

A specialization for adding a TextBox to a FormHelper.

Public Functions

FormWidget(Widget *p)

Creates a new FormWidget with underlying type TextBox.

void setCallback(const std::function<void(const std::string&)> &cb)

Pass-through function for nanogui::TextBox::setCallback.