Skip to content

fontlab_plugmix.tool.ToolContext

ToolContext

Offer checked active glyph reads, selection and undoable edits.

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) -> None
edit function (self, plan_fn: Any, title: str) -> Any Commit a caller-provided (work, facts, editor) through App's writer.
redraw function (self) -> None Ask FontLab to repaint the active Glyph canvas.
select function (self, indices: tuple[int, ...], *, toggle: bool=False) -> None Change selection flags only; no outline geometry or history write.
snapshot function (self) -> snapshot.GlyphSnapshot | None Capture through the workspace path, never CurrentGlyph().