|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
A labelled check box. More...
#include <view.hpp>
Public Attributes | |
| Prop< std::string > | label |
| The caption. | |
| Prop< bool > | checked |
| Whether it is checked. | |
| std::function< void(bool)> | onToggle |
| Called with the new state when the user toggles it. | |
| FieldState | field {} |
| Read-only, required, errors and stale. | |
| Common | common {} |
| Visibility, enablement, layout, drag-and-drop. | |
| Prop<bool> morph::ui::Checkbox::checked |
| std::function<void(bool)> morph::ui::Checkbox::onToggle |
| FieldState morph::ui::Checkbox::field {} |
| Common morph::ui::Checkbox::common {} |