Function remove_timeout3
pub fn remove_timeout3(handle: *mut ())
Available on crate feature
dep_fltk
only.Expand description
Removes the timeout callback associated with the handle
use fltk::{prelude::*, *};
fn main() {
let callback = |handle| {
println!("FIRED");
};
let app = app::App::default();
let mut wind = window::Window::new(100, 100, 400, 300, "");
wind.show();
let handle = app::add_timeout3(1.0, callback);
app::remove_timeout3(handle);
app.run().unwrap();
}