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

Inheritance Relationships

Base Type

Class Documentation

template <>
template<>
class nanogui::detail::FormWidget<std::string, std::true_type>

A specialization for adding a TextBox to a FormHelper.

Inherits from nanogui::TextBox

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.