Skip to content

fontlab.flBasicTool · declarations 001

Back to fontlab.flBasicTool

activateTool

activateTool() -> Any

activateTool()

Switches the editor into this tool's mode. The tool begins receiving mouse and keyboard events. Equivalent to clicking the tool's button in the toolbar.

Source: FontLab Proteus API documentation

cursorId instance-attribute

cursorId: Any

CursorId

The cursor shape to display when this tool is active. Read-only — determined by the tool's implementation. Common values map to standard system cursors (arrow, crosshair, pen, etc.).

Source: FontLab Proteus API documentation

deactivateTool

deactivateTool() -> Any

deactivateTool()

Switches away from this tool, returning to the previously active tool (or the application's default tool).

Source: FontLab Proteus API documentation

needDeactivateParent instance-attribute

needDeactivateParent: Any

bool

If True, the tool's parent tool should be deactivated when this tool activates. Used for temporary sub-tools — for example, holding Alt momentarily switches to the Pointer while Alt is held, then restores the previous tool on release.

Source: FontLab Proteus API documentation