fontlabapp.studios.component_audit._shared
_shared
Pieces shared by the Component Audit tabs: backends, labels and the read-only snapshot panel.
What: backends() returns core.scripting.component_audit_backends()
(tests replace it). label builds the "Component Audit: <action>
<subject>" Undo label. AuditPanel is the base of the three read-only
inspector tabs (Composites, Where used, Missing bases): Refresh reads the
font's ordered masters, whole-font glyph order and component source values
once and computes the tab's result from them; every action (select, copy,
open) first rechecks that the same font, masters, glyph order, source and
result are still current, with the original inspectors' refusal texts
(fontlabapp.components.inspect.ui.ComponentsDialog), and clears the tab
when they are not. Nothing here opens history or writes a glyph.
Used by fontlabapp.studios.component_audit.
Classes
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 |
|---|---|---|---|
APP |
attribute | (shared captured text) | |
INCOMPLETE |
attribute | ||
MASTERS_CHANGED |
attribute | ||
NOT_CURRENT |
attribute | ||
ORDER_CHANGED |
attribute | ||
SOURCE_CHANGED |
attribute | ||
backends |
function | () -> Any |
The App backends of this app (<code>core.scripting.component_audit_backends</code>). |
hline |
function | (layout: Any) -> Any |
A horizontal line added to <code>layout</code>. |
label |
function | (action: str, names: Iterable[str]) -> str |
<code>"Component Audit: <action> <glyph or N glyphs>"</code>. |
plural |
function | (count: int, word: str) -> str |
|
subject |
function | (names: Iterable[str]) -> str |