Function fltk::app::set_callback

source ·
pub fn set_callback<F, W>(widget: &mut W, cb: F)where
    F: FnMut(&mut dyn WidgetExt),
    W: WidgetExt,
Expand description

Sets the callback of a widget