| 1 |
# Portable File Dialogs |
| 2 |
|
| 3 |
A free C++11 file dialog library. |
| 4 |
|
| 5 |
- works on Windows, Mac OS X, Linux |
| 6 |
- **single-header**, no extra library dependencies |
| 7 |
- **synchronous *or* asynchronous** (does not block the rest of your program!) |
| 8 |
- **cancelable** (kill asynchronous dialogues without user interaction) |
| 9 |
- **secure** (immune to shell-quote vulnerabilities) |
| 10 |
|
| 11 |
[](https://www.codacy.com/manual/samhocevar/portable-file-dialogs?utm_source=github.com&utm_medium=referral&utm_content=samhocevar/portable-file-dialogs&utm_campaign=Badge_Grade) |
| 12 |
|
| 13 |
## Status |
| 14 |
|
| 15 |
The library is now pretty robust. It is not as feature-complete as |
| 16 |
[Tiny File Dialogs](https://sourceforge.net/projects/tinyfiledialogs/), |
| 17 |
but has asynchonous dialogs, more maintainable code, and fewer potential |
| 18 |
security issues. |
| 19 |
|
| 20 |
The currently available backends are: |
| 21 |
|
| 22 |
- Win32 API (all known versions of Windows) |
| 23 |
- Mac OS X (using AppleScript) |
| 24 |
- GNOME desktop (using [Zenity](https://en.wikipedia.org/wiki/Zenity) or its clones Matedialog and Qarma) |
| 25 |
- KDE desktop (using [KDialog](https://github.com/KDE/kdialog)) |
| 26 |
|
| 27 |
Experimental support for Emscripten is on its way. |
| 28 |
|
| 29 |
## Documentation |
| 30 |
|
| 31 |
- [`pfd`](doc/pfd.md) general documentation |
| 32 |
- [`pfd::message`](doc/message.md) message box |
| 33 |
- [`pfd::notify`](doc/notify.md) notification |
| 34 |
- [`pfd::open_file`](doc/open_file.md) file open |
| 35 |
- [`pfd::save_file`](doc/save_file.md) file save |
| 36 |
- [`pfd::select_folder`](doc/select_folder.md) folder selection |
| 37 |
|
| 38 |
## History |
| 39 |
|
| 40 |
- 0.1.0 (July 16, 2020): first public release |
| 41 |
|
| 42 |
## Screenshots (Windows 10) |
| 43 |
|
| 44 |
 |
| 45 |
 |
| 46 |
 |
| 47 |
|
| 48 |
## Screenshots (Mac OS X, dark theme) |
| 49 |
|
| 50 |
 |
| 51 |
 |
| 52 |
 |
| 53 |
|
| 54 |
## Screenshots (Linux, GNOME desktop) |
| 55 |
|
| 56 |
 |
| 57 |
 |
| 58 |
 |
| 59 |
|
| 60 |
## Screenshots (Linux, KDE Plasma desktop) |
| 61 |
|
| 62 |
 |
| 63 |
 |
| 64 |
 |