fontlab.flObject · declarations 002
tag
tag(*args: Any, **kwargs: Any) -> Any
tag([string])
Gets or sets a short string tag on the object. Called with no argument it returns the current tag; called with a string it sets it. Tags are a quick labeling mechanism — similar to properties but without needing a key.
Source: FontLab Proteus API documentation
type
instance-attribute
type: Any
object type
An integer constant identifying what kind of object this is. Every subclass (shape, node, layer, glyph, etc.) has its own type constant. Pass this value to fl.flModel.typeToStr() to get a human-readable name like "Shape" or "Node".
Source: FontLab Proteus API documentation
update
update() -> Any
update()
Signals to FontLab that this object's data has changed and the UI should reflect the latest state. Call this after programmatic changes if the canvas or inspectors are not updating on their own.
Source: FontLab Proteus API documentation