Struct native_dialog::MessageDialog[][src]

pub struct MessageDialog<'a> { /* fields omitted */ }
Expand description

Builds and shows message dialogs.

Implementations

Set the title of the dialog.

Set the message text of the dialog.

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.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.