A library to display file choosers and message boxes. Supports GNU/Linux, macOS and Windows.
cargo add native-dialog
```rust use native_dialog::*;
let dialog = OpenMultipleFile { dir: None, filter: None, }; let result = dialog.show().unwrap();
let message = format!("{:?}", result);
let dialog = MessageConfirm { title: "Do you want to open these files?", text: &message, typ: MessageType::Info, }; let result = dialog.show().unwrap();
assert_eq!(result, true); ```
Embed manifests into the .exe
to enable visual styling and dpi awareness for your program. Check out examples/windows_manifest for example.