|
Molybden API
|
Allow displaying the native message dialogs. More...
#include <dialogs.hpp>
Static Public Member Functions | |
| static void | show (const std::shared_ptr< App > &app, const MessageDialogOptions &options) |
| Shows an application message dialog with the given options. | |
| static void | show (const std::shared_ptr< App > &app, const MessageDialogOptions &options, const std::function< void(MessageDialogResult)> &callback) |
| Shows an application message dialog with the given options. | |
| static void | show (const std::shared_ptr< Browser > &browser, const MessageDialogOptions &options) |
| Shows a browser modal message dialog with the given options. | |
| static void | show (const std::shared_ptr< Browser > &browser, const MessageDialogOptions &options, const std::function< void(MessageDialogResult)> &callback) |
| Shows a browser modal message dialog with the given options. | |
Allow displaying the native message dialogs.
|
static |
Shows an application message dialog with the given options.
| app | the application instance. |
| options | the options of the message dialog. |
|
static |
Shows an application message dialog with the given options.
| app | the application instance. |
| options | the options of the message dialog. |
| callback | the callback to be invoked when the dialog is closed. |
|
static |
Shows a browser modal message dialog with the given options.
| browser | the browser instance. |
| options | the options of the message dialog. |
|
static |
Shows a browser modal message dialog with the given options.
| browser | the browser instance. |
| options | the options of the message dialog. |
| callback | the callback to be invoked when the dialog is closed. |