Function fltk::app::add_idle

source ·
pub fn add_idle<F: FnMut() + 'static>(cb: F)
👎Deprecated since 1.2.26: please use add_idle3 instead
Expand description

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