FTXUI
5.0.0
C++ functional terminal UI.
|
Option for the Checkbox component. More...
Static Public Member Functions | |
static CheckboxOption | Simple () |
Option for standard Checkbox. More... | |
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. More... | |
Option for the Checkbox component.
Definition at line 135 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 139 of file component_options.hpp.
Ref<bool> checked = false |
Definition at line 141 of file component_options.hpp.
std::function<Element(const EntryState&)> transform |
Definition at line 144 of file component_options.hpp.
std::function<void()> on_change = [] {} |
Called when the user change the state.
Definition at line 148 of file component_options.hpp.