Interface: ActionItem
This interface exposes the properties and methods for action items associated with menu items or quad menu items. An ActionItem can be created with the CuiMenu.CreateAction() method (in response to the #cuiRegisterMenus callback notification).
Properties:
.id : integer : ReadGets the id of the ActionItem.
.persistentActionId : string : ReadGets the persistent ID of the action item.
.isVisible : boolean : ReadGets whether the ActionItem is visible.
.isEnabled : boolean : ReadGets whether the ActionItem is enabled.
.isChecked : boolean : ReadGets whether the ActionItem is checked.
.description : string : ReadGets the description for the ActionItem.
.category : string : ReadGets the ActionItem's category.
.buttonText : string : ReadGets the ActionItem's button text.
.menuText : string : ReadGets the ActionItem's menu text.
.iconFileName : string : ReadGets the file name for the icon for the ActionItem, if one is assigned.
.iconIndex : index : ReadGets the index of the icon in the icon file for the ActionItem, if one is assigned.
.actionTableID : integer : ReadGets the ID of the action table that contains the ActionItem.
Methods:
<void>getDescription <&string>text
getDescription - no automatic redraw after invoked
text is Out parameterGets the description for the ActionItem.
<void>getCategory <&string>text
getCategory - no automatic redraw after invoked
text is Out parameterGets the category for the ActionItem.
<void>getButtonText <&string>text
getButtonText - no automatic redraw after invoked
text is Out parameterGets the button text for the ActionItem.
<void>getMenuText <&string>text
getMenuText - no automatic redraw after invoked
text is Out parameterGets the menu text for the ActionItem.
<boolean>hasIcon()
hasIcon - no automatic redraw after invokedReturns whether the ActionItem has an icon.
<boolean>getIconFileName <&string>fileName
getIconFileName - no automatic redraw after invoked
fileName is Out parameterReturns the icon file name for the ActionItem, it it has one.
<index>getIconIndex()
getIconIndex - no automatic redraw after invokedReturns the index of the icon for the ActionItem, if it has one.
