Skip to content

fontlabapp.fontui.appshell.AppShell

AppShell

The shared studio window; see the module text.

Source bases

Inherited member index

Source-proven inherited members; local declarations override these entries.

  • connect — defined by fontlabapp.fontui.lifecycle.Owned.connect

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
__init__ function (self, title: str, preview: str | None=None, tabs: Sequence[Any]=(), *, parent: Any=None, package: Callable[[…
add_tab function (self, spec: Any) -> Any Build <code>spec</code><code> into a new tab and return what </code><code>spec.build</code> returned.
close function (self) -> None
current_layer function (self) -> str | None The live master name the app edits: the font's current (default) master.
embed function (self, child: Any) -> Any Own <code>child</code><code>: an </code><code>Owned</code> closes with the shell.
hint_check function (self, name: str, layer: str | None=None) -> Any The live hint state of <code>name</code><code> on </code><code>layer</code> (default: the current master), or None.
history function (self, label: str, glyphs: Sequence[Any], mutate: Callable[[], Any], *, layers: Sequence[Any], read_back: Cal… One named Undo step over explicit live <code>layers</code>; None when refused.
package function (self) -> Any The live font package the shell writes to, or None.
set_about function (self, text: str) -> None Set task help, source links and credits without changing task-tab state.
set_actions function (self, tab: Any, *, refresh: Any=None, preview: Any=None, apply: Any=None, dirty: Any=None, ready: Any=None, … Bind explicit task actions; <code>ready</code> must validate the accepted plan and target.
set_preview function (self, preview: Any) -> Any Embed the preview widget (TGlyph or TMetrics) in the preview pane.
set_status function (self, text: str) -> None
show function (self) -> None Initially fit content and equal preview panes; clamp later user resizes.