Skip to content

fontlab_plugmix.general.GeneralContext

GeneralContext

Expose menus, status, snapshot, edit and owned timers to a General.

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
__init__ function (self, services: Any, plugin: Plugin) -> None
close function (self) -> None Stop plugin-owned timers before dropping Qt callbacks.
edit function (self, plan_fn: Any, title: str) -> Any Commit a prepared geometry plan as one App history operation.
notify function (self, title: str, message: str) -> None Put a short status message in FontLab's main window.
snapshot function (self) -> snapshot.GlyphSnapshot | None Capture the current glyph through the flWorkspace route.
timer function (self, ms: int, fn: Any) -> Any Start an owned timer whose callback cannot escape into Qt.
zoom_selected function (self) -> bool Fit selected nodes of the active occurrence with a small canvas margin.