Function add_idle2

pub fn add_idle2(cb: fn())
Available on crate feature dep_fltk only.
Expand description

Add an idle callback to run within the event loop. Calls to WidgetExt::redraw within the callback require an explicit sleep