|
TachyonUI 0.1.0
High-performance UI for building tools.
|
What a MessageDialog shows. More...
#include <gui_controls/gui_application.h>
Public Attributes | |
| MessageIcon | icon = MessageIcon::Question |
| beside the text | |
| std::string_view | title |
| a question: "Quit Test?" | |
| std::string_view | message |
| one or two sentences on what happens | |
| std::span< const MessageButton > | buttons |
| MessageDialog returns an index into these. | |
| int | defaultButton = 0 |
| focused at first; Enter | |
| int | cancelButton = -1 |
| Esc and the close button; -1: the default one. | |
| std::span< const MessageDialogItem > | items |
| affected items, listed in a well | |
| bool * | dontAskAgain = nullptr |
| shows "Don't ask again" when set | |
| std::string_view | details |
| collapsible technical details (mono) | |
What a MessageDialog shows.
| MessageIcon tachyon::MessageDialogDesc::icon = MessageIcon::Question |
beside the text
| std::string_view tachyon::MessageDialogDesc::title |
a question: "Quit Test?"
| std::string_view tachyon::MessageDialogDesc::message |
one or two sentences on what happens
| std::span<const MessageButton> tachyon::MessageDialogDesc::buttons |
MessageDialog returns an index into these.
| int tachyon::MessageDialogDesc::defaultButton = 0 |
focused at first; Enter
| int tachyon::MessageDialogDesc::cancelButton = -1 |
Esc and the close button; -1: the default one.
| std::span<const MessageDialogItem> tachyon::MessageDialogDesc::items |
affected items, listed in a well
| bool* tachyon::MessageDialogDesc::dontAskAgain = nullptr |
shows "Don't ask again" when set
| std::string_view tachyon::MessageDialogDesc::details |
collapsible technical details (mono)