fontlabapp.plugins.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 byfontlabapp.plugins.plugin.Plugin.namerequires— defined byfontlabapp.plugins.plugin.Plugin.requiressince— defined byfontlabapp.plugins.plugin.Plugin.sincetitle— defined byfontlabapp.plugins.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. (shared captured text) |
cursor |
attribute | ClassVar[str | None] |
(shared captured text) |
deactivate |
function | (self) -> None |
Release per-activation state. (shared captured text) |
double_click |
function | (self, event: ToolEvent) -> bool |
Handle a double click. (shared captured text) |
key_down |
function | (self, event: ToolEvent) -> bool |
Observe key press without taking FontLab shortcuts. (shared captured text) |
key_up |
function | (self, event: ToolEvent) -> bool |
Observe key release without taking FontLab shortcuts. (shared captured text) |
kind |
attribute | ClassVar[str] |
(shared captured text) |
marks |
function | (self, glyph: snapshot.GlyphSnapshot | None) -> list[Mark] |
Return overlay marks only while active. (shared captured text) |
move |
function | (self, event: ToolEvent) -> bool |
Handle mouse move. (shared captured text) |
needs_components |
attribute | ClassVar[bool] |
|
press |
function | (self, event: ToolEvent) -> bool |
Handle mouse press. (shared captured text) |
release |
function | (self, event: ToolEvent) -> bool |
Handle mouse release. (shared captured text) |