Struct mg::InputDialog [] [src]

pub struct InputDialog<WIDGET: Widget> { /* fields omitted */ }

Input dialog responder. This is used to specify which message to send to which widget when the user answers the dialog.

Methods

impl<WIDGET: Widget> InputDialog<WIDGET>
[src]

[src]

Create a new input dialog responder. The callback is a message constructor. The message will be sent to relm stream.

Trait Implementations

impl<WIDGET: Widget> Responder for InputDialog<WIDGET>
[src]

[src]

Send the answer back. It can be to a widget or a channel. Read more