Molybden API
|
The options of a message dialog. More...
#include <dialogs.hpp>
Public Attributes | |
std::string | message |
The message text of the dialog. | |
std::string | informative_text |
The informative text of the dialog. | |
MessageDialogType | type = MessageDialogType::kNone |
The type of the dialog. | |
std::string | title |
The title of the dialog. | |
std::vector< MessageDialogButton > | buttons |
The buttons of the dialog. | |
MessageDialogCheckbox | checkbox |
The checkbox of the dialog to get additional user input. | |
The options of a message dialog.
std::vector<MessageDialogButton> molybden::MessageDialogOptions::buttons |
The buttons of the dialog.
In case of multiple buttons with the same type, the last one will keep the type and the rest will be set to MessageDialogButtonType::kNone
.
MessageDialogCheckbox molybden::MessageDialogOptions::checkbox |
The checkbox of the dialog to get additional user input.
For example, to ask user whether the dialog should be suppressed in the future or not.
std::string molybden::MessageDialogOptions::title |
The title of the dialog.
On macOS the dialog title is not displayed.