__init__(self,
name,
menu,
asl=None,
owner=None,
tooltip=None)
(Constructor)
|
|
Create a MAction object
- Parameters:
name (str) - the string that will appear in the menu for this action
menu (QWidget or None) - the QWidget that owns this action, if a QMenu, the title property
may be used when determining the command function when the action
is triggered.
asl (str) - the asl this action will apply to. If not supplied, the asl is
taken as the menu asl
owner (ToggleTableObject) - the object this Action will operate on
tooltip (str) - the string that will appear as a tooltip for this action
|