fontlabapp.qt.events.key · declarations 001
Back to fontlabapp.qt.events.key
key_press_handler
key_press_handler(base: type, handle: Callable[[Any, Any], bool]) -> Callable[[Any, Any], None]
Accept a handled key once, else call the explicit base once.
Return values stay None. Policy, acceptance and base exceptions propagate unchanged; no fallback runs after a failing stage. The closure retains no widget or owner itself, so callers keep their existing cleanup policy.