Function nanogui::file_dialog(const std::vector<std::pair<std::string, std::string>>&, bool)¶
Defined in File common.h
Function Documentation¶
-
std::string
nanogui
::
file_dialog
(const std::vector<std::pair<std::string, std::string>> &filetypes, bool save) Open a native file open/save dialog.
- Parameters
filetypes
: Pairs of permissible formats with descriptions like("png", "Portable Network Graphics")
.save
: Set totrue
if you would like subsequent file dialogs to open at whatever folder they were in when they close this one.