pub type KeyHandler = Rc<dyn Fn(&Key, Modifiers) -> bool>;
Called with the focused element’s key presses; returns true when it handled the key.
pub struct KeyHandler { /* private fields */ }