Skip to content

fontlabapp.qt.events.resize · declarations 001

Back to fontlabapp.qt.events.resize

resize_event_handler

resize_event_handler(base: type, owner: Callable[[Any], Any], method: str) -> Callable[[Any, Any], None]

Forward event dimensions after the base handler, when an owner exists.

Preserve the existing adapters' lookup order: test the current owner after base dispatch, read the event size, resolve the current owner's method, then read width and height. Re-read the owner because size retrieval can change it. Exceptions propagate unchanged; this adds no recovery policy.