Skip to main content

KeyHandler

Type Alias KeyHandler 

Source
pub type KeyHandler = Rc<dyn Fn(&Key, Modifiers) -> bool>;
Expand description

Called with the focused element’s key presses; returns true when it handled the key.

Aliased Type§

pub struct KeyHandler { /* private fields */ }