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

來自 |ButtonOption|、|CheckboxOption|、 |RadioboxOption|、|MenuEntryOption|、|MenuOption| 的轉換參數。 More...

#include <component_options.hpp>

Public Attributes

std::string label
 要顯示的標籤。
 
bool state
 按鈕/核取方塊/單選方塊的狀態
 
bool active
 條目是否為啟用狀態。
 
bool focused
 條目是否為使用者焦點。
 
int index
 條目的索引(如果適用),否則為 -1。
 

Detailed Description

來自 |ButtonOption|、|CheckboxOption|、 |RadioboxOption|、|MenuEntryOption|、|MenuOption| 的轉換參數。

Examples
examples/component/button.cpp, examples/component/dropdown_custom.cpp, examples/component/menu_entries.cpp, and examples/component/menu_style.cpp.

Definition at line 24 of file component_options.hpp.

Member Data Documentation

◆ label

std::string label

要顯示的標籤。

Definition at line 25 of file component_options.hpp.

◆ state

bool state

按鈕/核取方塊/單選方塊的狀態

Definition at line 26 of file component_options.hpp.

◆ active

bool active

條目是否為啟用狀態。

Definition at line 27 of file component_options.hpp.

◆ focused

bool focused

條目是否為使用者焦點。

Definition at line 28 of file component_options.hpp.

◆ index

int index

條目的索引(如果適用),否則為 -1。

Definition at line 29 of file component_options.hpp.


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