fontlabapp.fontui.teaching.host
host
Embed retained teaching panels without replacing their close protocols.
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 |
|---|---|---|---|
OPEN |
attribute | list[Any] |
|
bind_current_preview |
function | (shell: Any) -> Any |
Capture the active font, glyph and exact layer; never retarget implicitly. |
bind_preview |
function | (shell: Any, font: Any, name: str | None=None, layer: str | None=None) -> Any |
Bind a read-only preview to the captured font and layer. |
create |
function | (title: str, preview: str | None=None, parent: Any=None, package: Any=None) -> TeachingShell |
Create an owned shell; callers construct all panels before showing it. |
current_target |
function | () -> tuple[Any, str | None, str | None, tuple[Any, ...]] |
Resolve the active glyph through its actual package, including its layer. |
embed |
function | (shell: Any, title: str, panel: Any) -> PanelOwner |
Adopt one already constructed panel without opening another window. |
finish |
function | (shell: Any) -> Any |
Show the completed shell, retaining it for the native menu lifetime. |
refresh_current_preview |
function | (shell: Any) -> Any |
Explicit Refresh replaces a captured proof only after its owner closes. |
require_current_preview |
function | (shell: Any) -> None |
Refuse an action whose current target no longer matches the visible proof. |