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