Trait EventHandler

Source
pub trait EventHandler {
    // Provided methods
    fn handle_event(&mut self, event: Event) { ... }
    fn handle_key(&mut self, event: KeyPressedEvent) { ... }
    fn handle_mouse(&mut self, event: MouseEvent) { ... }
}
๐Ÿ‘ŽDeprecated: Use tui-framework-experiment instead

Provided Methodsยง

Source

fn handle_event(&mut self, event: Event)

๐Ÿ‘ŽDeprecated: Use tui-framework-experiment instead
Source

fn handle_key(&mut self, event: KeyPressedEvent)

๐Ÿ‘ŽDeprecated: Use tui-framework-experiment instead
Source

fn handle_mouse(&mut self, event: MouseEvent)

๐Ÿ‘ŽDeprecated: Use tui-framework-experiment instead

Implementorsยง