Skip to content

fontlab_plugmix.general.GeneralContext · declarations 001

Back to fontlab_plugmix.general.GeneralContext

__init__

__init__(services: Any, plugin: Plugin) -> None

close

close() -> None

Stop plugin-owned timers before dropping Qt callbacks.

edit

edit(plan_fn: Any, title: str) -> Any

Commit a prepared geometry plan as one App history operation.

notify

notify(title: str, message: str) -> None

Put a short status message in FontLab's main window.

snapshot

snapshot() -> GlyphSnapshot | None

Capture the current glyph through the flWorkspace route.

timer

timer(ms: int, fn: Any) -> Any

Start an owned timer whose callback cannot escape into Qt.

zoom_selected

zoom_selected() -> bool

Fit selected nodes of the active occurrence with a small canvas margin.