fontlabapp.core.host.Action · declarations 001
Back to fontlabapp.core.host.Action
__call__
class-attribute
instance-attribute
__call__
__init__
__init__(qaction: Any, path: tuple[str, ...] = ()) -> None
__repr__
__repr__() -> str
checkable
property
checkable: bool
checked
property
checked: bool
code
property
code: str
Qt objectName, e.g. actionAdd_Component (stable across languages).
enabled
property
enabled: bool
label
property
label: str
path
property
path: str
set_checked
set_checked(checked: bool) -> Action
Trigger a checkable action only when its state differs from checked.
shortcut
property
shortcut: str
tooltip
property
tooltip: str
trigger
trigger() -> Action
Run the command; a disabled action raises instead of silently doing nothing.
visible
property
visible: bool