Available on
desktop
and crate feature dialog
only.Expand description
Use native message and file open/save dialogs.
This module exposes non-blocking APIs on its root, relying on callback closures
to give results back. This is particularly useful when running dialogs from the main thread.
When using on asynchronous contexts such as async commands, the blocking
APIs are recommended.
Modules
- Blocking interfaces for the dialog APIs.
Structs
- The file dialog builder.
- A builder for message dialogs.
Enums
- Options for action buttons on message dialogs.
- Types of message, ask and confirm dialogs.
Functions
- Displays a non-blocking dialog with a message and an optional title with a “yes” and a “no” button.
- Displays a non-blocking dialog with a message and an optional title with an “ok” and a “cancel” button.
- Displays a non-blocking message dialog.