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