fontlabapp.studios.proof_studio.session.Studio
Studio
Shared Proof Studio state for one shell.
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, shell: Any, *, font: Callable[[], Any] | None=None, selection: Callable[[], tuple[str, ...]] | None=No… |
|
copy |
function | (self, proof: Proof | None, part: int, clipboard: Callable[[str], Any]) -> str | None |
Put the exact text of <code>part</code><code> on </code><code>clipboard</code>; return it (None when nothing to copy). |
font |
function | (self) -> Any |
(shared captured text) |
generate |
function | (self, generator: Generator, choice: str, *, seed: int | None=None, values: dict[str, Any] | None=None) -> Pr… |
The proof for <code>choice</code>; None (with the reason in the status line) on failure. |
load |
function | (self, generator: Generator, settings: Any) -> Outcome | None |
The generator's saved values (None, with the reason in the status line, on failure). |
open |
function | (self, generator: Generator, choice: str, context: Context | None=None) -> bool |
Open the new FontLab Glyph tab(s); True on success. |
paint |
function | (self, generator: Generator, choice: str, view: Any, proof: Proof | None) -> str | None |
Draw <code>proof.canvas</code> in the absorbed panel's own stacked view; return the status. |
run |
function | (self, generator: Generator, action: Action, context: Context) -> Outcome | None |
Run a generator action; its status goes to the status line (None on failure). |
save |
function | (self, generator: Generator, settings: Any, values: dict[str, Any], proof: Proof) -> bool |
Save the generator's values after a user edit; False (status) when the save fails. |
show |
function | (self, proof: Proof | None, part: int=0) -> str |
Preview <code>part</code><code> of </code><code>proof</code> in TMetrics with its size, layer and kerning; return the text. |