Skip to content

fontlabapp.core.controls.FontLab

FontLab

Lazy native application control; construct inside FontLab.

Catalogue calls return native JSON dictionaries. native_font and native_glyph return raw host values, without additional Python proxies. Closing this context removes only overlays/custom UI created through it.

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
__enter__ function (self) -> Self (shared captured text)
__exit__ function (self, *exc: object) -> None
__init__ function (self, application: Any=None) -> None
activate_font function (self, **arguments: Any) -> Any
activate_glyph function (self, **arguments: Any) -> Any
close function (self) -> None
close_font function (self, **arguments: Any) -> Any
create_dialog function (self, title: str, build: Callable | None=None) -> OwnedWidget Show an owned modeless QDialog composed by build(content).
create_panel function (self, title: str, build: Callable | None=None, *, area: str='right') -> OwnedWidget Create an owned registered dock; float it when MainWindow is hidden.
create_widget function (self, parent: Any=None, build: Callable | None=None, *, show: bool=True) -> OwnedWidget Compose a visible owned tool QWidget, or a child of explicit parent.
current_font function (self) -> Any
current_glyphs function (self) -> Any
font_info function (self, **arguments: Any) -> Any
font_metrics function (self, **arguments: Any) -> Any
fonts function (self) -> list[dict[str, Any]] Return native open-font records, retaining their native ids.
glyph function (self, name: str, **arguments: Any) -> Any Read glyph JSON by name; optional font/layer fields pass to fontpr.
glyph_info function (self, **arguments: Any) -> Any
glyph_metrics function (self, **arguments: Any) -> Any
glyph_window function (self) -> GlyphWindow
glyph_windows function (self) -> list[GlyphWindow] Find actual GlyphWindows without activating or closing any view.
list_actions function (self) -> Any
list_fonts function (self) -> Any
list_glyphs function (self, **arguments: Any) -> Any
native_font attribute (self) -> Any
native_glyph attribute (self) -> Any
new_font function (self, **arguments: Any) -> Any
open_font function (self, **arguments: Any) -> Any
output function (self) -> str
panel function (self, name: str) -> Panel Reuse ApplicationUI's panel catalogue; unknown names fail clearly.
preview attribute (self) -> Preview
run_actions function (self, **arguments: Any) -> Any
save_font function (self, **arguments: Any) -> Any
set_font_metrics function (self, **arguments: Any) -> Any
set_glyph_metrics function (self, **arguments: Any) -> Any
tool function (self, name: str, **arguments: Any) -> Any Call native fontpr directly, preserving native errors and arguments.