pub fn modal_error_message<'a, P: Into<ControlHandle>>(
    parent: P,
    title: &'a str,
    content: &'a str
) -> MessageChoice
Expand description

Display a simple error message box. The message box has for style MessageButtons::Ok and MessageIcons::Error.

This functions panics if a non window control is used as parent (ex: a menu)

Parameters:

  • parent: Parent window to lock for the duration of the message box
  • title: The message box title
  • content: The message box message