Function droom_ui::dialog::alarm::alarm [] [src]

pub fn alarm<S1, S2>(title: S1,
                     message: S2,
                     button1: String,
                     button2: Option<String>,
                     button3: Option<String>)
                     -> AlarmButton where S1: Into<String>, S2: Into<String>

Shows a modal dialog containing a message and up to three buttons.

Returns the pressed button.

See the IUP Alarm Documentation.