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ยง
fn handle_event(&mut self, event: Event)
๐Deprecated: Use tui-framework-experiment instead
fn handle_key(&mut self, event: KeyPressedEvent)
๐Deprecated: Use tui-framework-experiment instead
fn handle_mouse(&mut self, event: MouseEvent)
๐Deprecated: Use tui-framework-experiment instead