Enum mg::DialogResult
[−]
[src]
pub enum DialogResult { Answer(Option<String>), Shortcut(String), }
Struct representing a dialog result. A dialog result is either what the user typed in the input (Answer) or the string associated with the shortcut.
Variants
Answer(Option<String>)
A string typed by the user or None if the user closed the dialog (with Escape).
Shortcut(String)
A shortcut pressd by the user.