This is supported on crate feature
dialog
only.Expand description
Blocking interfaces for the dialog APIs.
The blocking APIs will block the current thread to execute instead of relying on callback closures, which makes them easier to use.
NOTE: You cannot block the main thread when executing the dialog APIs, so you must use the crate::api::dialog
methods instead.
Examples of main thread context are the crate::App::run
closure and non-async commmands.
Structs
The file dialog builder.
Functions
Displays a dialog with a message and an optional title with a “yes” and a “no” button and wait for it to be closed.
Displays a dialog with a message and an optional title with an “ok” and a “cancel” button and wait for it to be closed.
Displays a message dialog and wait for it to be closed.