ftxui::RadioboxOption
cpp
#include <ftxui/component/component_options.hpp>Option for the Radiobox component.
Summary
| Symbol | Description |
|---|---|
entries | |
selected | |
transform | |
on_change | Called when the selected entry changes. |
focused_entry |
Public Attributes
entries
cpp
ConstStringListRef entries;selected
cpp
Ref< int > selected = 0;transform
cpp
std::function< Element(const EntryState &)> transform;on_change
cpp
std::function< void()> on_change = [] {};Called when the selected entry changes.
focused_entry
cpp
Ref< int > focused_entry = 0;