david-vanderson / dvui

Other
346 stars 26 forks source link

Native file open dialogs #93

Open david-vanderson opened 1 month ago

david-vanderson commented 1 month ago

https://github.com/david-vanderson/dvui/discussions/23

Idea is to have dvui create a modal dialog and at the same time use a library to launch the platform's native file open dialog. When the native dialog is closed, the dvui dialog would extract the information and make it available to the app.

iacore commented 1 month ago

On Linux, use the command zenity.

iacore commented 2 weeks ago

I found something nice: https://sourceforge.net/projects/tinyfiledialogs/

It's C, which also can be ported to Zig.

david-vanderson commented 2 weeks ago

That looks pretty good. @VisenDev mentioned https://github.com/samhocevar/portable-file-dialogs which compares itself to tinyfiledialogs, so probably either one is a good candidate.