Registry / utility / native-dialog

native-dialog

JSON →
library0.9.6rscratesunverified

A library to display dialogs. Supports GNU/Linux, BSD Unix, macOS and Windows.

# Cargo.toml [dependencies] native-dialog = "0.9.6"
INSTALL
IMPORT
SIG · NATIVE-DIALOG
N
native-dialog
utilityrustv0.9.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MessageDialog
✓ use native_dialog::MessageDialog;

Show a native message dialog

use native_dialog::MessageDialog; fn main() { MessageDialog::new() .set_title("Hello") .set_text("Hello, world!") .show_alert() .unwrap(); }
Debug
Known issues
gotchaOn Linux, requires GTK or X11 libraries
fix
Install libgtk-3-dev or similar package
affects: >=0.0.0
Upgrade
Version history
0.9.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
native-dialog — cargo add native-dialog · libregistry