Function autopilot::alert::alert
[−]
[src]
pub fn alert(
msg: &str,
title: Option<&str>,
default_button: Option<&str>,
cancel_button: Option<&str>
) -> Response
Displays an alert with the given attributes. If cancel_button
is not
given, only the default button is displayed.
Due to limitations in the Win32 API, Windows currently replaces
default_button
with "OK" and cancel_button
(if given) with "Cancel".
This may be fixed in a later release.