fontlab_plugmix.tool.Tool
Tool
One native tool; event handlers return True only when they handle input.
Source bases
Inherited member index
Source-proven inherited members; local declarations override these entries.
name— defined byfontlab_plugmix.plugin.Plugin.namerequires— defined byfontlab_plugmix.plugin.Plugin.requiressince— defined byfontlab_plugmix.plugin.Plugin.sincetitle— defined byfontlab_plugmix.plugin.Plugin.title
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 |
|---|---|---|---|
activate |
function | (self, ctx: ToolContext) -> None |
Receive an active context after FontLab switches to this tool. |
cursor |
attribute | ClassVar[str | None] |
|
deactivate |
function | (self) -> None |
Release per-activation state. |
double_click |
function | (self, event: ToolEvent) -> bool |
Handle a double click. |
key_down |
function | (self, event: ToolEvent) -> bool |
Observe key press without taking FontLab shortcuts. |
key_up |
function | (self, event: ToolEvent) -> bool |
Observe key release without taking FontLab shortcuts. |
kind |
attribute | ClassVar[str] |
|
marks |
function | (self, glyph: snapshot.GlyphSnapshot | None) -> list[Mark] |
Return overlay marks only while active. |
move |
function | (self, event: ToolEvent) -> bool |
Handle mouse move. |
press |
function | (self, event: ToolEvent) -> bool |
Handle mouse press. |
release |
function | (self, event: ToolEvent) -> bool |
Handle mouse release. |