AFXMenuCommand

This class provides the interface for creating an FXMenuCommand and performing various management activities on it. It will use utility methods so the menu command is correctly managed for modules and toolsets.


AFXMenuCommand(owner, p, label, ic=None, tgt=None, sel=0)

Constructor.

ArgumentTypeDefaultDescription
ownerAFXGuiObjectManager Creator of the menu command.
pFXComposite Parent widget.
labelString Label for the menu button.
icFXIconNoneMenu button icon.
tgtFXObjectNoneMessage target.
selInt0Message ID.