Struct mg::DialogBuilder [] [src]

pub struct DialogBuilder { /* fields omitted */ }

Builder to create a new dialog.

Methods

impl DialogBuilder
[src]

[src]

Create a new dialog builder.

[src]

Set whether the dialog will block or not.

[src]

Set the choices available for the input.

[src]

Set the text completer for the input.

[src]

Set the default answer for the input.

[src]

Set the message/question to show to the user.

[src]

Set a responder for an asynchronous dialog.

[src]

Add a shortcut.