Function fltk::app::wait_for [−][src]
pub fn wait_for(dur: f64) -> Result<bool, FltkError>
Expand description
Waits a maximum of dur
seconds or until “something happens”.
Returns true if an event happened (always true on windows).
Returns false if nothing happened.
Errors
Can error out on X11 system if interrupted by a signal