Function native_windows_gui::fatal_message [−][src]
pub fn fatal_message<'a>(title: &'a str, content: &'a str) -> !
Expand description
Display a message box and then panic. The message box has for style MessageButtons::Ok
and MessageIcons::Error
.
It is recommended to use modal_fatal_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