ftxui::EntryState
cpp
#include <ftxui/component/component_options.hpp>arguments for ButtonOption::transform, CheckboxOption::transform, Radiobox::transform, MenuEntryOption::transform, MenuOption::transform.
Examples: component/menu_entries, component/menu_style
Summary
| Symbol | Description |
|---|---|
label | |
state | < The label to display. |
active | < The state of the button/checkbox/radiobox |
focused | < Whether the entry is the active one. |
Public Attributes
label
cpp
std::string label;state
cpp
bool state;< The label to display.
active
cpp
bool active;< The state of the button/checkbox/radiobox
focused
cpp
bool focused;< Whether the entry is the active one.