Skip to content

fontlabapp.core.host.Action

Action

One QAction. Call it (or trigger()) to run the command.

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
__call__ attribute
__init__ function (self, qaction: Any, path: tuple[str, ...]=()) -> None
__repr__ function (self) -> str
checkable attribute (self) -> bool
checked attribute (self) -> bool
code attribute (self) -> str Qt objectName, e.g.
enabled attribute (self) -> bool
label attribute (self) -> str
path attribute (self) -> str
set_checked function (self, checked: bool) -> Action Trigger a checkable action only when its state differs from <code>checked</code>.
shortcut attribute (self) -> str
tooltip attribute (self) -> str
trigger function (self) -> Action Run the command; a disabled action raises instead of silently doing nothing.
visible attribute (self) -> bool