Function message_set_hotspot
Source pub fn message_set_hotspot(enabled: bool)
Expand description
Set whether hotspot is enabled for FLTK’s dialog boxes
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}