fontlabapp.core.host.Menu
Menu
A QMenu whose entries are attributes named by fontlabapp.core.menu_names.
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 | (self) -> list[str] |
(shared captured text) |
__getattr__ |
function | (self, name: str) -> Action | Menu |
|
__getitem__ |
function | (self, key: str) -> Action | Menu |
Child by name or label, or a <code>"Sub > Item"</code> path below this menu. |
__init__ |
function | (self, qmenu: Any, path: tuple[str, ...]=(), names: dict | None=None, identity: tuple[str, ...]=()) -> None |
|
__iter__ |
function | (self) -> Iterator[Action | Menu] |
|
__len__ |
function | (self) -> int |
|
__repr__ |
function | (self) -> str |
|
find |
function | (self, text: str) -> list[Action] |
Actions below this menu whose label contains <code>text</code> (case-insensitive). |
items |
function | (self) -> dict[str, Action | Menu] |
Live <code>name -> Action | Menu</code> mapping in menu order. |
path |
attribute | (self) -> str |
(shared captured text) |
title |
attribute | (self) -> str |