Skip to content
You are viewing documentation for v2.0.0. Switch to latest (main).

ftxui::ButtonOption ​

cpp
#include <ftxui/component/component_options.hpp>

Option for the Button component.

Examples: component/button, component/composition

Public Attributes ​

border ​

cpp
bool border = true;

Whether to show a border around the button.

Examples: component/button, component/canvas_animated, component/checkbox, component/checkbox_in_frame, component/composition, component/flexbox_gallery, component/focus, component/gallery, component/homescreen, component/input, component/maybe, component/menu2 (+25 more)