FTXUI  6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
DropdownOption Struct Reference

Option for the Dropdown component.A dropdown menu is a checkbox opening/closing a radiobox. More...

Data Fields

Ref< bool > open = false
 Whether the dropdown is open or closed:
CheckboxOption checkbox
RadioboxOption radiobox
std::function< Element(bool open, Element checkbox, Element radiobox)> transform

Detailed Description

Option for the Dropdown component.

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

Definition at line 270 of file component_options.hpp.

Field Documentation

◆ open

Ref<bool> open = false

Whether the dropdown is open or closed:

Definition at line 272 of file component_options.hpp.

◆ checkbox

CheckboxOption checkbox

Definition at line 274 of file component_options.hpp.

◆ radiobox

RadioboxOption radiobox

Definition at line 276 of file component_options.hpp.

◆ transform

std::function<Element(bool open, Element checkbox, Element radiobox)> transform

Definition at line 279 of file component_options.hpp.


The documentation for this struct was generated from the following file: