I'm letting the user save a file on windows, using the following code
use native_windows_gui as nwg; let mut diag = nwg::FileDialog::default(); nwg::FileDialog::builder() .title(title) .action(nwg::FileDialogAction::Save) .filters(filter.to_str()) .default_folder(dir) .multiselect(false) .build(&mut diag);
What I'm now trying to do is set a default filename. I can set a default folder, as shown in the excerpt, but I did not find a way to set a default filename.
Does anyone know how to do that? Thanks for any pointers!