
Prototype: GemRB.SetActionIcon(WindowIndex, ControlIndex, ActionIndex)

Metaclass Prototype: SetActionIcon(ActionIndex)

Description: Sets up an action button based on the guibtact table. The ActionIndex should be less than 32. This action will set the button's image, the tooltip and the push button event handler.

Parameters:
WindowIndex, ControlIndex  - the button's reference
ActionIndex                - the row number in the guibtact.2da file

Return value: N/A

See also: SetSpellIcon, SetItemIcon, SetupControls
