|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Portal::System::Dialog::save_file | ( | ChooserCallback | callback, |
| std::string | suggested_name = {}, |
||
| std::vector< ChooserFilter > | filters = {}, |
||
| std::filesystem::path | start_dir = {} |
||
| ) |
Present a native save-file dialog, delivering the result via callback.
Primitive overload.
| callback | Invoked with the chosen path or a SystemDialogError. |
| suggested_name | Filename pre-filled in the dialog name field. |
| filters | Extension filter groups shown in the dialog. |
| start_dir | Directory the dialog opens in. Platform default if empty. |
Definition at line 23 of file Chooser.cpp.
References MayaFlux::Journal::API, MayaFlux::Core::BackendError, MayaFlux::Portal::System::get_backend(), MF_ERROR, and MayaFlux::Journal::Portal.
Here is the call graph for this function: