[−][src]Function native_windows_gui::modal_fatal_message
pub fn modal_fatal_message<'a, P: Into<ControlHandle>>(
parent: P,
title: &'a str,
content: &'a str
) -> !
Display a message box and then panic. 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