Go to the source code of this file.
|
| void | MayaFlux::Portal::System::Dialog::open_file (ChooserCallback callback, std::vector< ChooserFilter > filters={}, std::filesystem::path start_dir={}) |
| | Present a native open-file dialog, delivering the result via callback.
|
| |
| template<typename T > |
| T | MayaFlux::Portal::System::Dialog::open_file (std::function< T(std::filesystem::path)> on_success, std::function< void(Core::SystemDialogError)> on_error, std::vector< ChooserFilter > filters={}, std::filesystem::path start_dir={}) |
| | Present a native open-file dialog, returning T produced by on_success.
|
| |
| 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.
|
| |
| template<typename T > |
| T | MayaFlux::Portal::System::Dialog::save_file (std::function< T(std::filesystem::path)> on_success, std::function< void(Core::SystemDialogError)> on_error, std::string suggested_name={}, std::vector< ChooserFilter > filters={}, std::filesystem::path start_dir={}) |
| | Present a native save-file dialog, returning T produced by on_success.
|
| |