Skip to content

fontlab_glyport.plugins.host.PluginHost

PluginHost

Host services the plugin loader uses.

Source bases

  • Protocol (not resolved from selected source)

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
current_font function (self) -> Any
has_callbacks attribute (self) -> bool (shared captured text)
notify function (self, title: str, message: str) -> None
redraw function (self) -> None (shared captured text)
register_file_format function (self, file_format: Any, *, guard: Callable[..., Any] | None=None) -> object <code>guard(owner, function, &#42;args)</code><code> runs the export in the plugin&#x27;s context (</code><code>PluginEnv.guard</code>); a host calls the export through it.
register_menu function (self, menu: str, item: Any, index: int | None=None) -> object
register_painter function (self, phase: str, callback: Callable[[PaintContext], None], *, document_id: Any=None, layer_filter: str='act…
register_panel function (self, view: Any, title: str, min_height: int, max_height: int) -> object
register_tool function (self, tool: Any, *, guard: Callable[..., Any] | None=None, activate: Callable[[], Any] | None=None, deactiva…
remove function (self, token: object) -> None (shared captured text)
reporter_background_phase attribute str
restore_layer function (self, layer: Any, snapshot: Any) -> None
run_dialog function (self, view: Any, title: str, apply_label: str, on_close: Callable[[bool], None]) -> object
selected_layers function (self) -> Sequence[Any]
snapshot_layer function (self, layer: Any) -> Any
undo_group function (self, name: str) -> AbstractContextManager