Skip to content

fontlabapp.core.signals.callbacks · declarations 001

Back to fontlabapp.core.signals.callbacks

quiet_callbacks

quiet_callbacks(owner: CallbackOwner) -> Iterator[None]

Suppress this owner's callbacks until the scope exits.

The owner must expose a writable _quiet boolean. This is intended for Python wrappers on their UI thread, including reentrant signal handlers. It neither blocks Qt signals nor changes connections, targets or ownership. Exceptions propagate after the prior flag is restored; data changes made inside the scope are not rolled back. Missing owner state refuses on entry.