Skip to content

fontlabapp.masters.layers.selection · declarations 001

Back to fontlabapp.masters.layers.selection

capture

capture(deadline: float) -> LayerSelection

Return complete twice-read slot facts, or a diagnosed whole-call refusal.

Explicit per-slot symbol.layerName preserves mixed layers and repeated glyphs; an empty symbol layer uses that glyph's active layer. Font-window rows use actual native selection on the current master. Qt modeless focus is ignored. No CurrentGlyph, selection/master writer, fgGlyph or fgPackage getter is used. Native calls cannot be preempted; checkpoints diagnose expiry on return.

document_context

document_context(deadline: float) -> tuple

Read parent/view context without resolving a changed selected glyph.