Function fltk::app::add_idle [−][src]
pub fn add_idle<F: FnMut() + 'static>(cb: F)
Expand description
Add an idle callback to run within the event loop.
Calls to WidgetExt::redraw
within the callback require an explicit sleep