How do open local window choose files or folder in slint? #3015
-
How do open local window choose files or folder in slint? |
Beta Was this translation helpful? Give feedback.
Answered by
TillerBelotti
Jul 8, 2023
Replies: 1 comment 1 reply
-
I don't believe Slint provides a native file dialog API at the moment, so you'll need to use another library for this, depending on whether you're using Rust, C++, etc. Assuming you're using Rust, you could for example use https://crates.io/crates/native-dialog (I haven't tested it and didn't do any kind of comparison between available options). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The native-dialog crate works perfectly alongside Slint, I use it to display alerts and the file selector in various projects.