Function set_callback

pub fn set_callback<F, W>(widget: &mut W, cb: F)
where F: FnMut(&mut dyn WidgetExt), W: WidgetExt,
Available on crate feature dep_fltk only.
Expand description

Sets the callback of a widget