[][src]Trait unsegen::container::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.

Required methods

fn input(&mut self, input: Input, parameters: &mut P) -> Option<Input>

Loading content...

Implementors

Loading content...