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...

#include <component_options.hpp>

+ Collaboration diagram for DropdownOption:

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 269 of file component_options.hpp.

Field Documentation

◆ open

Ref<bool> open = false

Whether the dropdown is open or closed:

Definition at line 271 of file component_options.hpp.

◆ checkbox

CheckboxOption checkbox

Definition at line 273 of file component_options.hpp.

◆ radiobox

RadioboxOption radiobox

Definition at line 275 of file component_options.hpp.

◆ transform

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

Definition at line 278 of file component_options.hpp.


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