ftxui::DropdownOption
component_options.hpp
Ref< bool > Ref<bool> open open ftxui::DropdownOption::open = false

Whether the dropdown is open or closed:

CheckboxOption CheckboxOption checkbox checkbox ftxui::DropdownOption::checkbox
RadioboxOption RadioboxOption radiobox radiobox ftxui::DropdownOption::radiobox
std::function< Element(bool open, Element checkbox, Element radiobox)> std::function<Element(bool open, Element checkbox, Element radiobox)> transform transform ftxui::DropdownOption::transform

Option for the Dropdown component.

A dropdown menu is a checkbox opening/closing a radiobox.

DropdownOption
open
checkbox
radiobox
CheckboxOption
label
checked
ConstRef< std::string >
ConstStringListRef
ConstStringRef
RadioboxOption
entries
focused_entry
selected
Ref< bool >
Ref< int >
- ftxui::DropdownOption
  checkbox
- ftxui::DropdownOption
  open
- ftxui::DropdownOption
  radiobox
- ftxui::DropdownOption
  transform