Skip to content

fontlabapp.studios.anchor_studio.tabs.Tab · declarations 001

Back to fontlabapp.studios.anchor_studio.tabs.Tab

COLUMNS class-attribute instance-attribute

COLUMNS: Sequence[str]

WRITES class-attribute instance-attribute

WRITES

__init__

__init__(studio: Studio) -> None

bases_allowed

bases_allowed() -> bool

chosen

chosen() -> list[str]

The glyphs an action reads or writes (tabs with a scope widen it).

controls

controls() -> None

every_master

every_master() -> bool

guard

guard(action: Callable[[], Any]) -> Any

Run action; a ValueError from a field becomes the status line.

names

names() -> list[str]

pair

pair(layout: Any, subject: str, planner: Callable[[], Planner], action: str, *, masters: Callable[[], Sequence[str] | None] = lambda: None) -> None

A "Preview …" and an apply button for one planner.

preview

preview(planner: Planner, *, masters: Sequence[str] | None = None) -> list[Row]

Plan planner without writing; the table shows every change and skip.

refresh

refresh() -> None

remove_hints

remove_hints() -> int

The hint opt-in: remove PostScript hints from the chosen layers, one Undo step per layer.

row_chosen

row_chosen(name: str, layer: Any = None) -> None

run

run(action: str, planner: Planner, *, masters: Sequence[str] | None = None) -> bool

Write planner to the chosen glyphs as one labelled step; show the plan.

show_rows

show_rows(rows: Sequence[Row]) -> None

use_selection

use_selection() -> list[str]