fontlabapp.core.controls.FontLab · declarations 001
Back to fontlabapp.core.controls.FontLab
__exit__
__exit__(*exc: object) -> None
__init__
__init__(application: Any = None) -> None
activate_font
activate_font(**arguments: Any) -> Any
activate_glyph
activate_glyph(**arguments: Any) -> Any
close
close() -> None
close_font
close_font(**arguments: Any) -> Any
create_dialog
create_dialog(title: str, build: Callable | None = None) -> OwnedWidget
Show an owned modeless QDialog composed by build(content).
create_panel
create_panel(title: str, build: Callable | None = None, *, area: str = 'right') -> OwnedWidget
Create an owned registered dock; float it when MainWindow is hidden.
create_widget
create_widget(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
current_font() -> Any
current_glyphs
current_glyphs() -> Any
font_info
font_info(**arguments: Any) -> Any
font_metrics
font_metrics(**arguments: Any) -> Any
fonts
fonts() -> list[dict[str, Any]]
Return native open-font records, retaining their native ids.
glyph
glyph(name: str, **arguments: Any) -> Any
Read glyph JSON by name; optional font/layer fields pass to fontpr.
glyph_info
glyph_info(**arguments: Any) -> Any
glyph_metrics
glyph_metrics(**arguments: Any) -> Any
glyph_windows
glyph_windows() -> list[GlyphWindow]
Find actual GlyphWindows without activating or closing any view.
list_actions
list_actions() -> Any
list_fonts
list_fonts() -> Any
list_glyphs
list_glyphs(**arguments: Any) -> Any
native_font
property
native_font: Any
native_glyph
property
native_glyph: Any
new_font
new_font(**arguments: Any) -> Any
open_font
open_font(**arguments: Any) -> Any
output
output() -> str
run_actions
run_actions(**arguments: Any) -> Any
save_font
save_font(**arguments: Any) -> Any
set_font_metrics
set_font_metrics(**arguments: Any) -> Any
set_glyph_metrics
set_glyph_metrics(**arguments: Any) -> Any
tool
tool(name: str, **arguments: Any) -> Any
Call native fontpr directly, preserving native errors and arguments.