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

ftxui::CheckboxOption ​

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

Option for the Checkbox component.

Public Attributes ​

transform ​

cpp
std::function< Element(const EntryState &)> transform;

on_change ​

cpp
std::function< void()> on_change = [] {};

Called when the user change the state.

Static Functions ​

Simple ​

cpp
static CheckboxOption Simple();

Option for standard Checkbox.