Struct native_dialog::MessageDialog [−][src]
pub struct MessageDialog<'a> { /* fields omitted */ }
Expand description
Builds and shows message dialogs.
Implementations
Set the type of the message. This usually affects the icon shown in the dialog.
Sets the owner of the dialog. On Unix and GNU/Linux, this is a no-op.
Sets the owner of the dialog by raw handle. On Unix and GNU/Linux, this is a no-op.
Safety
It’s the caller’s responsibility that ensuring the handle is valid.
Resets the owner of the dialog to nothing.
Shows a dialog that alert users with some message.
Shows a dialog that let users to choose Yes/No.