Public Member Functions | |
entry_data (const config &cfg) | |
Public Attributes | |
utils::optional< bool > | checkbox |
If present, column 1 will have a toggle button. More... | |
std::string | icon |
If no checkbox is present, the icon at this path will be shown in column 1. More... | |
utils::optional< std::string > | image |
Is present, column 2 will display the image at this path. More... | |
t_string | label |
If no image is present, this text will be shown in column 2. More... | |
utils::optional< t_string > | details |
If present, this text will be shown in column 3. More... | |
t_string | tooltip |
Tooltip text for the entire row. More... | |
Definition at line 52 of file drop_down_menu.hpp.
gui2::dialogs::drop_down_menu::entry_data::entry_data | ( | const config & | cfg | ) |
Definition at line 37 of file drop_down_menu.cpp.
utils::optional<bool> gui2::dialogs::drop_down_menu::entry_data::checkbox |
If present, column 1 will have a toggle button.
The value indicates its initial state.
Definition at line 57 of file drop_down_menu.hpp.
utils::optional<t_string> gui2::dialogs::drop_down_menu::entry_data::details |
If present, this text will be shown in column 3.
Definition at line 69 of file drop_down_menu.hpp.
std::string gui2::dialogs::drop_down_menu::entry_data::icon |
If no checkbox is present, the icon at this path will be shown in column 1.
Definition at line 60 of file drop_down_menu.hpp.
utils::optional<std::string> gui2::dialogs::drop_down_menu::entry_data::image |
Is present, column 2 will display the image at this path.
Definition at line 63 of file drop_down_menu.hpp.
t_string gui2::dialogs::drop_down_menu::entry_data::label |
If no image is present, this text will be shown in column 2.
Definition at line 66 of file drop_down_menu.hpp.
t_string gui2::dialogs::drop_down_menu::entry_data::tooltip |
Tooltip text for the entire row.
Definition at line 72 of file drop_down_menu.hpp.