Function 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