Skip to content

fontlabapp.studios.component_studio._shared.ComponentPanel

ComponentPanel

The originals' component panel as a tab: controls, the dry-run table, Reload selection and Apply.

Subclasses set ACTION/DONE/HEADERS (the original's) and UNDO (the Undo label's action) and fill in the hooks.

Source bases

Inherited member index

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

  • contain — defined by fontlabapp.studios._kerning_ui.Panel.contain
  • failed — defined by fontlabapp.studios._kerning_ui.Panel.failed
  • fill_scope — defined by fontlabapp.studios._kerning_ui.Panel.fill_scope
  • reload_view — defined by fontlabapp.studios._kerning_ui.Panel.reload_view
  • run — defined by fontlabapp.studios._kerning_ui.Panel.run
  • table — defined by fontlabapp.studios._kerning_ui.Panel.table

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
ACTION attribute (shared captured text)
DONE attribute (shared captured text)
HEADERS attribute tuple[str, ...]
RELOAD attribute (shared captured text)
SCOPE attribute (shared captured text)
UNDO attribute (shared captured text)
__init__ function (self, tool: Tool) -> None
add_buttons function (self, buttons: Any) -> None
after_apply function (self) -> None Show the new state of the font.
apply function (self) -> bool Write the shown plan as one Undo step, then re-read every tab.
build_controls function (self, form: Any) -> None (shared captured text)
cells function (self, change: Any) -> tuple[str, ...] Row texts after glyph and master: 3 original columns (component, result) or 4 (with current).
chosen_masters function (self) -> list[str] Masters in scope: the scope combo picks the current master or all.
clear function (self) -> None
done_text function (self, result: dict, plan: Any) -> str The original panel's status after a write.
editor function (self) -> Any
fill function (self, plan: Any) -> None
final_plan function (self, package: Any, glyphs: list[Any], facts: Any, plan: Any) -> Any The plan Apply writes; the live plan by default.
glyph_names function (self) -> list[str] Glyphs the tab works on: the Font window selection.
intro function (self) -> str Subtitle text.
live_glyphs function (self) -> tuple[Any, list[Any]] Re-resolve the bound font and the scanned glyphs.
live_plan function (self) -> tuple[Any, Any, Any] Plan again from live data; refuse a refused, empty or changed plan before any write.
make_plan function (self, package: Any, glyphs: list[Any], facts: Any) -> tuple[Any, str] The original panel's plan: <code>collect</code><code>, blocked rows first, then </code><code>require&#95;safe</code>.
on_reload function (self) -> None Refresh control contents that depend on the font.
planner function (self) -> Any
refresh function (self) -> None Reload selection: read font, selection and the auto-composite map again, then plan.
relabel function (self) -> None Keep the scope combo in step with the font; the first fill takes the original's default.
reloaded function (self) -> None The Reload selection button: re-read the font and every tab.
replan function (self) -> None Recompute the plan from the controls; fill the table; enable Apply only when it is safe.
row_chosen function (self, name: str, master: Any) -> None Load the row's glyph on its master in the TGlyph preview.
scope_box function (self, layout: Any, *, plain: bool=False, title: str='Masters') -> Any The originals' Masters combo: "Current master (M)" / "All masters (N)".
status_text function (self, plan: Any) -> str
summary function (self, plan: Any) -> str Status line when Apply is possible, or when nothing is to do.
title function (self, plan: Any) -> str (shared captured text)