pub type EventCallback<S> = Box<dyn FnMut(&mut S, &mut Ui<'_>, &Event)>;Expand description
A callback that receives every event the Widgets generate.
It receives the application state, a Ui handle for reaching the Widgets, and the event.
Register one with Engine::on_event.
Aliased Typeยง
pub struct EventCallback<S>(/* private fields */);