Function native_windows_gui::modal_info_message [−][src]
pub fn modal_info_message<'a, P: Into<ControlHandle>>(
parent: P,
title: &'a str,
content: &'a str
) -> MessageChoice
Expand description
Display a simple message box. The message box has for style MessageButtons::Ok
and MessageIcons::Info
.
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