tryphotino / photino.NET

https://tryphotino.io
Apache License 2.0
885 stars 73 forks source link

ShowSaveFile How to set the default file name #140

Open guitarpark opened 1 year ago

guitarpark commented 1 year ago

how can using ShowSaveFile set default filename

window.ShowSaveFile(title,?????)

Jinjinov commented 1 week ago

I would also like to set the default file name.

You do not have to add another parameter - defaultPath can contain both, the default path and the default file name.

Andersen27 commented 1 week ago

Draft PR for Photino.NET: https://github.com/tryphotino/photino.NET/pull/213 Draft PR for Photino.Native: https://github.com/tryphotino/photino.Native/pull/140

I implemented it for all operating systems, but tested it only on Windows - that's why I set the Draft status for PR. Otherwise, it's a ready-made solution. Need help with testing on Linux and MacOS. @MikeYeager