Function add_idle
pub fn add_idle<F>(cb: F)where
F: FnMut() + 'static,
👎Deprecated since 1.2.26: please use
add_idle3
insteadAvailable 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