ftxui::ButtonOption
component_options.hpp
ConstStringRef ConstStringRef label label ftxui::ButtonOption::label = "Button"
std::function< void()> std::function<void()> on_click on_click ftxui::ButtonOption::on_click = [] {}
std::function< Element(const EntryState &)> std::function<Element(const EntryState&)> transform transform ftxui::ButtonOption::transform
AnimatedColorsOption AnimatedColorsOption animated_colors animated_colors ftxui::ButtonOption::animated_colors
ButtonOption ButtonOption Ascii () Ascii ftxui::ButtonOption::Ascii

Create a ButtonOption, highlighted using [] characters.

ButtonOption ButtonOption Simple () Simple ftxui::ButtonOption::Simple

Create a ButtonOption, inverted when focused.

ButtonOption ButtonOption Border () Border ftxui::ButtonOption::Border

Create a ButtonOption. The button is shown using a border, inverted when focused. This is the current default.

ButtonOption ButtonOption Animated () Animated ftxui::ButtonOption::Animated

Create a ButtonOption, using animated colors.

ButtonOption ButtonOption Animated (Color color) Animated ftxui::ButtonOption::Animated Color color

Create a ButtonOption, using animated colors.

ButtonOption ButtonOption Animated (Color background, Color foreground) Animated ftxui::ButtonOption::Animated Color background Color foreground

Create a ButtonOption, using animated colors.

ButtonOption ButtonOption Animated (Color background, Color foreground, Color background_active, Color foreground_active) Animated ftxui::ButtonOption::Animated Color background Color foreground Color background_active Color foreground_active

Create a ButtonOption, using animated colors.

Option for the AnimatedButton component.

ButtonOption
label
animated_colors
AnimatedColorOption
active
inactive
AnimatedColorsOption
background
foreground
Color
ConstRef< std::string >
ConstStringRef
- ftxui::ButtonOption
  Animated
- ftxui::ButtonOption
  Animated
- ftxui::ButtonOption
  Animated
- ftxui::ButtonOption
  Animated
- ftxui::ButtonOption
  animated_colors
- ftxui::ButtonOption
  Ascii
- ftxui::ButtonOption
  Border
- ftxui::ButtonOption
  label
- ftxui::ButtonOption
  on_click
- ftxui::ButtonOption
  Simple
- ftxui::ButtonOption
  transform