Function message_set_hotspot

Source
pub fn message_set_hotspot(enabled: bool)
Expand description

Set whether hotspot is enabled for FLTK’s dialog boxes

Examples found in repository?
examples/terminal.rs (line 1011)
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}