Skip to content

fontlabapp.shortcuts

shortcuts

Key press routing for PythonQt widget subclasses.

Usage inside FontLab::

from fly.ap.shortcuts import key_press_handler
from fly.qt import QtGui
class SearchField(QtGui.QLineEdit):
    keyPressEvent = key_press_handler(QtGui.QLineEdit,
        lambda widget, event: False)
field = SearchField()

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)