fontlabapp.studios._kerning_app
_kerning_app
Window assembly shared by Kerning Browser and Kerning Batch: one AppShell, one Tool, TMetrics on top.
What: show opens the shell (fontui.app_shell(app, "tmetrics")), keeps
one studios._kerning.Tool on it, embeds a control-less read-only TMetrics
preview of the current font, adds every registered tab, reads the package and
shows the current master in the preview; any failure closes the shell and
re-raises. Used by kerning_browser.app and kerning_batch.app.
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 |
|---|---|---|---|
ATTRIBUTE |
attribute | ||
bind_actions |
function | (shell: Any, tool: Tool) -> None |
Route bottom actions to the existing tab controllers without duplicating writers. |
capture_source |
function | (getter: Callable[[], Any], *, deferred: bool=False) -> Callable[[], Any] |
Bind one valid font; deferred startup failures leave a recoverable shell. |
metrics_preview |
function | (shell: Any, tool: Tool) -> Any |
A control-less read-only TMetrics of the current font, or None without a font. |
show |
function | (app: str, register_tabs: Callable[[], Any], *, parent: Any=None, package: Any=None, font: Any=None, preview:… |
Open <code>app</code> for the current font; return the shell. |
tool_for |
function | (shell: Any, app: str) -> Tool |
The <code>Tool</code><code> of </code><code>shell</code>, created on first use. |