Skip to main content

Crate rustydialogs

Crate rustydialogs 

Source
Expand description

Rusty Dialogs is a cross-platform library for showing native dialog boxes and notifications.

Supported platforms and backends:

§Windows

Win32-based legacy dialogs compatible with any COM apartment model.

By default, notifications use a tray icon with balloon tips.

Optional WinRT-Toast notifications are available on Windows 10 and later. (feature: winrt-toast)

§Linux & BSDs

By default, executable-based backends (kdialog and zenity) are used.

Optional GTK3 and GTK4 backends are available with libnotify-based notifications. (feature: gtk3, gtk4)

XDG desktop portal support is also available, but limited to file and folder dialogs. (feature: xdg-portal)

§macOS

By default, AppleScript-based dialogs are used.

Optional AppKit-based dialogs and notifications are also available. (feature: appkit)

Structs§

ColorPicker
Color picker dialog.
ColorValue
Color value.
FileDialog
File dialog.
FileFilter
File filter for file dialogs.
FolderDialog
Folder dialog.
MessageBox
Message box dialog.
Notification
Notification.
TextInput
Text input dialog.

Enums§

MessageButtons
Button configurations for message dialogs.
MessageIcon
Icon types for message dialogs.
MessageResult
Result of a message dialog.
TextInputMode
Modes for text input dialogs.