[−][src]Function native_windows_gui::error_message
pub fn error_message<'a>(title: &'a str, content: &'a str) -> MessageChoice
Display a simple error message box. The message box has for style MessageButtons::Ok
and MessageIcons::Error
.
It is recommended to use modal_error_message
because it locks the window that creates the message box.
This method may be deprecated in the future
Parameters:
- title: The message box title
- content: The message box message