fontlab_glyport.plugins.base.PluginEnv · declarations 001
Back to fontlab_glyport.plugins.base.PluginEnv
appkit
instance-attribute
appkit: Mapping[str, Any]
classes
class-attribute
instance-attribute
classes: Mapping[str, type]
defaults
class-attribute
instance-attribute
defaults: MutableMapping[str, Any]
diagnostic_sink
class-attribute
instance-attribute
diagnostic_sink: Callable[[ReceiptDiagnostic], object] | None
filters
class-attribute
instance-attribute
filters: MutableMapping
guard
guard(owner: object, function: Callable, *args: Any) -> Any
Run a protocol method (through wrap when given, so late menu and
paint callbacks keep the execution context); exceptions go to the sink.
log
class-attribute
instance-attribute
log: Callable[[str], object]
menu
class-attribute
instance-attribute
menu: Any
paint_scope
class-attribute
instance-attribute
paint_scope: Callable[[Any], Any]
runner
runner(owner: object) -> Callable[[Callable], Callable]
NSMenuItem._runner for items a plugin adds: its guard.
wrap
class-attribute
instance-attribute
wrap: Callable[[Callable], Callable] | None