fontlabapp.qt.events.key
key
Injected key-press routing for PythonQt-safe widget subclasses.
Assign the returned method as keyPressEvent on a Python subclass. The caller
keeps key, owner and callback policy; a truthy handled result accepts the event.
Other events call the supplied native base directly, because PythonQt protected
handlers cannot be resolved through super(). Imports stay host-free.
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
key_press_handler |
function | (base: type, handle: Callable[[Any, Any], bool]) -> Callable[[Any, Any], None] |
Accept a handled key once, else call the explicit base once. |