- Found in:
- SkyUI
eventOnOptionMenuAccept(inta_option, inta_index)
Description
GitHub Wiki Description (SkyUI)
Called when a menu entry has been accepted.
Modify the internal state of the selected option, then use the option setters to apply the changes to the active page.
Documentation String
Called when a menu entry has been accepted
Parameters
inta_option
GitHub Wiki Description (SkyUI)
The option ID.
inta_index
GitHub Wiki Description (SkyUI)
The index of the accepted menu entry.
Examples
Auto-Generated Example
Scriptname MyCoolScript extends SKI_ConfigBase
event OnOptionMenuAccept(int a_option, int a_index)
Debug.trace("Event received - OnOptionMenuAccept: a_option = " + a_option + " a_index = " + a_index)
endEvent