Function message_title

Source
pub fn message_title(title: &str)
Expand description

Set the next dialog’s title

Examples found in repository?
examples/terminal.rs (line 1010)
1008fn error_box(msg: String) {
1009    fltk::app::lock().unwrap();
1010    fltk::dialog::message_title("Error");
1011    fltk::dialog::message_set_hotspot(true);
1012    fltk::dialog::message_icon_label("!");
1013    fltk::dialog::message(&msg);
1014    fltk::app::unlock();
1015}