Skip to content

fontlabapp.qtsafe_api

qtsafe_api

Safe Qt list traversal, main-window discovery and literal text helpers.

Usage inside FontLab::

from fly.ap.qtsafe_api import qt_list, main_window
from fly.qt import QtGui
qt, fontlab = ..., ...  # native modules from the host
window = main_window(fontlab, qt)
widgets = qt_list(window.findChildren, QtGui.QWidget)
print(len(widgets))

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
__dir__ function () -> list[str] List only the names published by this facade. (shared captured text)
__getattr__ function (name: str) -> Any Resolve one original public object only when it is requested. (shared captured text)