FTXUI
0.8.1
C++ functional terminal UI.
|
Go to the source code of this file.
Data Structures | |
struct | MenuOption |
Option for the Menu component. More... | |
struct | MenuEntryOption |
Option for the MenuEntry component. More... | |
struct | ButtonOption |
Option for the Button component. More... | |
struct | CheckboxOption |
Option for the Checkbox component. More... | |
struct | InputOption |
Option for the Input component. More... | |
struct | RadioboxOption |
Option for the Radiobox component. More... | |
struct | ToggleOption |
Option for the Toggle component. More... | |
Namespaces | |
ftxui | |
struct ftxui::MenuOption |
Option for the Menu component.
Definition at line 11 of file component_options.hpp.
Data Fields | ||
---|---|---|
Decorator | style_normal | style. |
Decorator | style_focused | Style when focused. |
Decorator | style_selected | Style when selected. |
Decorator | style_selected_focused | Style when selected and focused. |
function< void()> | on_change | Called when the selected entry changes. |
function< void()> | on_enter | Called when the user presses enter. |
Ref< int > | focused_entry |
struct ftxui::MenuEntryOption |
Option for the MenuEntry component.
Definition at line 28 of file component_options.hpp.
Data Fields | ||
---|---|---|
Decorator | style_normal | style. |
Decorator | style_focused | Style when focused. |
Decorator | style_selected | Style when selected. |
Decorator | style_selected_focused | Style when selected and focused. |
struct ftxui::ButtonOption |
Option for the Button component.
Definition at line 38 of file component_options.hpp.
Data Fields | ||
---|---|---|
bool | border | Whether to show a border around the button. |
struct ftxui::CheckboxOption |
Option for the Checkbox component.
Definition at line 45 of file component_options.hpp.
Data Fields | ||
---|---|---|
string | style_checked | Prefix for a "checked" state. |
string | style_unchecked | Prefix for a "unchecked" state. |
Decorator | style_normal | style. |
Decorator | style_focused | Style when focused. |
Decorator | style_selected | Style when selected. |
Decorator | style_selected_focused | Style when selected and focused. |
function< void()> | on_change | Called when the user change the state. |
struct ftxui::InputOption |
Option for the Input component.
Definition at line 60 of file component_options.hpp.
Data Fields | ||
---|---|---|
function< void()> | on_change | Called when the content changes. |
function< void()> | on_enter | Called when the user presses enter. |
Ref< bool > | password | Obscure the input content using '*'. |
Ref< int > | cursor_position |
When set different from -1, this attributes is used to store the cursor position. |
struct ftxui::RadioboxOption |
Option for the Radiobox component.
Definition at line 76 of file component_options.hpp.
Data Fields | ||
---|---|---|
string | style_checked | Prefix for a "checked" state. |
string | style_unchecked | Prefix for a "unchecked" state. |
Decorator | style_normal | style. |
Decorator | style_focused | Style when focused. |
Decorator | style_selected | Style when selected. |
Decorator | style_selected_focused | Style when selected and focused. |
function< void()> | on_change | Called when the selected entry changes. |
Ref< int > | focused_entry |
struct ftxui::ToggleOption |
Option for the Toggle component.
Definition at line 93 of file component_options.hpp.
Data Fields | ||
---|---|---|
Decorator | style_normal | style. |
Decorator | style_focused | Style when focused. |
Decorator | style_selected | Style when selected. |
Decorator | style_selected_focused | Style when selected and focused. |
function< void()> | on_change | Called when the selected entry changes. |
function< void()> | on_enter | Called when the user presses enter. |
Ref< int > | focused_entry |