Trait Container
unsegen::container
pub trait Container<P: ?Sized>: Widget { fn input(&mut self, input: Input, parameters: &mut P) -> Option<Input>; }
Extension to the widget trait to enable passing input to (active) widgets. The parameter P can be used to manipulate global application state.
fn input(&mut self, input: Input, parameters: &mut P) -> Option<Input>