Skip to content

fontlab_instamix.gui

gui

Small PythonQt dialogs for use inside FontLab.

PythonQt is imported only when a function is called, never at module import, so this module is importable outside FontLab. Without PythonQt every helper falls back to the console. message always prints and never opens a dialog.

Classes

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
FILE_PATTERN attribute
confirm function (text: str, title: str='Instamix') -> bool
install_selected function (paths: list[str | Path] | None=None, *, data: Path | None=None, folder: bool=False) -> list[dict] Install selected extensions; report each failure and continue other selections.
message function (text: str, title: str='Instamix', *, error: bool=False) -> None Print a status line; inside FontLab stdout goes to the Output panel.
pick_file function (title: str='Choose an extension', pattern: str=FILE_PATTERN) -> str Return PythonQt's QString path, or an empty string on cancellation.
pick_files function (title: str='Choose extensions', pattern: str=FILE_PATTERN) -> list[str] Choose archives/manifests; console fallback takes one literal path per line.
pick_folder function (title: str='Choose an extension folder') -> str Choose a .fontlabext directory without mixing folders into a file dialog.