fontlabapp.core.host.Actions
Actions
Every menu QAction by "Menu > Item" path, plus main-window QActions.
Keys are clean English paths; main-window QActions outside the menus are
keyed by objectName. Lookup also accepts the Qt objectName
(actionAdd_Component), a status-tip code (@mainwindow.actionAdd_Component)
and paths with menu markup or different case. Keys are remembered, but each
lookup resolves to the QAction that is in the menu now, so menus FontLab
rebuilds (Script, Recent Fonts) never return a replaced action.
Source bases
Mapping[str, Action](not resolved from selected source)
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 |
|---|---|---|---|
__getitem__ |
function | (self, key: str) -> Action |
|
__init__ |
function | (self, menu: MenuBar, extra: Any=list) -> None |
|
__iter__ |
function | (self) -> Iterator[str] |
|
__len__ |
function | (self) -> int |
|
__repr__ |
function | (self) -> str |
|
items |
function | (self) |
|
search |
function | (self, text: str) -> list[Action] |
Actions whose path, objectName or tooltip contains <code>text</code>. |
values |
function | (self) |