Native file/directory picker #987
-
Hi! I'm wondering how I'd allow the user to open a file/folder through egui, whether that's through launching the native file picker widget or some other mechanism. I searched the docs on egui, eframe, and glow but none of my searches turned up anything. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You use https://github.com/PolyMeilex/rfd . NOTE: there's some concerns like this being blocking the whole UI (should not be a concern usually, and when it is, threads/channels should be helpful) and also something with MacOS (a simple search in issues section of egui and rfd should help you find more about this and other things). |
Beta Was this translation helpful? Give feedback.
You use https://github.com/PolyMeilex/rfd .
NOTE: there's some concerns like this being blocking the whole UI (should not be a concern usually, and when it is, threads/channels should be helpful) and also something with MacOS (a simple search in issues section of egui and rfd should help you find more about this and other things).