Skip to content

fontlab_plugmix.general.General · declarations 001

Back to fontlab_plugmix.general.General

kind class-attribute

kind: str

menu class-attribute

menu: str | None

on_font_closed

on_font_closed(font_id: int) -> None

Observe a newly closed font.

on_font_opened

on_font_opened(font_id: int) -> None

Observe a newly opened font.

run

run() -> None

Handle the menu command.

shortcut class-attribute

shortcut: str | None

start

start(ctx: GeneralContext) -> None

Begin a session after its command is installed.

stop

stop() -> None

End the session before its command is removed.