Skip to content

fontlab_glyport.ui.vanilla

vanilla

vanilla core controls as real Qt widgets plus a recorded UI graph.

Qt arrives through an injected qt namespace exposing QtCore and QtGui (FontLab's PythonQt keeps widgets in QtGui); nothing here imports a Qt binding. Each window owns a UIGraph; controls become graph nodes when they join a window, and callbacks become graph connections. getNSView() returns the underlying Qt widget as the compatibility handle for now.

Window autosaveName frames live in an injected settings mapping (default: the process-wide in-memory _DEFAULT_SETTINGS); nothing is written to FontLab preferences or files.

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
ErrorSink attribute (shared captured text)
OnClose attribute (shared captured text)
SLIDER_STEPS attribute (shared captured text)
Settings attribute
Wrap attribute (shared captured text)
make_vanilla_module function (qt: Any, *, error_sink: ErrorSink, graph_factory: Callable=UIGraph, wrap: Wrap | None=None, settings: Settin… Return a fresh <code>vanilla</code><code> module bound to </code><code>qt</code><code> and </code><code>error&#95;sink</code>.
test_module function () Import compatibility for Vanilla's demonstration class; never fake tests.
vanilla_provider function (qt: Any, error_sink: ErrorSink, *, wrap: Wrap | None=None, settings: Settings | None=None, on_close: OnClose… Zero-argument provider for an ExecutionContext <code>vanilla</code> adapter.