|
FTXUI 6.1.9
C++ functional terminal UI.
|
Option for the Checkbox component. More...
#include <component_options.hpp>
Collaboration diagram for CheckboxOption:Static Public Member Functions | |
| static CheckboxOption | Simple () |
| Option for standard Checkbox. | |
Data Fields | |
| ConstStringRef | label = "Checkbox" |
| Ref< bool > | checked = false |
| std::function< Element(const EntryState &)> | transform |
| std::function< void()> | on_change = [] {} |
| Called when the user change the state. | |
Option for the Checkbox component.
Definition at line 134 of file component_options.hpp.
|
static |
Option for standard Checkbox.
Definition at line 262 of file component_options.cpp.
| ConstStringRef label = "Checkbox" |
Definition at line 138 of file component_options.hpp.
| Ref<bool> checked = false |
Definition at line 140 of file component_options.hpp.
| std::function<Element(const EntryState&)> transform |
Definition at line 143 of file component_options.hpp.
| std::function<void()> on_change = [] {} |
Called when the user change the state.
Definition at line 147 of file component_options.hpp.