fontlabapp.fontui.teaching_writers.node_table · declarations 001
Back to fontlabapp.fontui.teaching_writers.node_table
Key
module-attribute
Key
TITLE
module-attribute
TITLE
apply_edits
apply_edits(snapshot: Snapshot, cells: dict[Key, tuple[str, str]], native: Any = None) -> ApplyResult
Write valid fresh rows once; keep each refused or invalid row independently.
capture_nodes
capture_nodes(native: Any = None, *, facts: Any = None) -> Snapshot
Refresh/Apply scan once; selection and post-Apply reads reuse cached facts.
Start the geometry budget after the dependency scan. The scan is the App's separate whole-font preflight and is not charged to the current-layer read.
current_context
current_context(native: Any) -> tuple[tuple[int, int, int, int], Any, Any, Any]
Map the active FontGate glyph by fgId into its registered font.
main
main() -> None
Use FontLab's existing event loop and parent window.
native_module
native_module(native: Any = None) -> Any
Resolve the host lazily and require its main UI thread.
read_rows
read_rows(layer: Any, deadline: float) -> tuple[NodeRow, ...]
Read current-layer nodes and shape guards only; never scan font dependencies.
same_geometry
Ignore selection changes while guarding coordinates, order and type.
select_nodes
Sync every own node independently of edit refusals; name failed rows.
Deselection clears smart-selection metadata; other values are retained. Read flags back; restore a failed row's opening flags where possible. Geometry is read; no geometry writes, history or dependency scans occur.
show
show(qt: Any, parent: Any, *, embedded: bool = False) -> Any
Open an owned editable table; drain callbacks on Close or setup failure.