Molybden API
Loading...
Searching...
No Matches
molybden::MessageDialogOptions Struct Reference

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< MessageDialogButtonbuttons
 The buttons of the dialog.
 
MessageDialogCheckbox checkbox
 The checkbox of the dialog to get additional user input.
 

Detailed Description

The options of a message dialog.

Member Data Documentation

◆ buttons

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.

◆ checkbox

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.

◆ title

std::string molybden::MessageDialogOptions::title

The title of the dialog.

On macOS the dialog title is not displayed.


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