Skip to content

fontlab_glyport.plugins.base.PluginEnv

PluginEnv dataclass

What plugin classes need from their host and UI layer.

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
appkit attribute Mapping[str, Any]
classes attribute Mapping[str, type]
defaults attribute MutableMapping[str, Any]
diagnostic_sink attribute Callable[[ReceiptDiagnostic], object] | None
error_sink attribute ErrorSink
filters attribute MutableMapping
guard function (self, owner: object, function: Callable, *args: Any) -> Any Run a protocol method (through <code>wrap</code> when given, so late menu and paint callbacks keep the execution context); exceptions go to the sink.
host attribute PluginHost
log attribute Callable[[str], object]
menu attribute Any
paint_scope attribute Callable[[Any], Any]
runner function (self, owner: object) -> Callable[[Callable], Callable] <code>NSMenuItem.&#95;runner</code> for items a plugin adds: its guard.
wrap attribute Callable[[Callable], Callable] | None