Skip to content

fontlabapp.core.host.Menu · declarations 001

Back to fontlabapp.core.host.Menu

__getattr__

__getattr__(name: str) -> Action | Menu

__getitem__

__getitem__(key: str) -> Action | Menu

Child by name or label, or a "Sub > Item" path below this menu.

__init__

__init__(qmenu: Any, path: tuple[str, ...] = (), names: dict | None = None, identity: tuple[str, ...] = ()) -> None

__iter__

__iter__() -> Iterator[Action | Menu]

__len__

__len__() -> int

__repr__

__repr__() -> str

find

find(text: str) -> list[Action]

Actions below this menu whose label contains text (case-insensitive).

items

items() -> dict[str, Action | Menu]

Live name -> Action | Menu mapping in menu order.

title property

title: str