IupGetActionName
Returns the name of the action being executed by the application.
Parameters/Return
char* IupGetActionName(void); [in C] [There is no equivalent in IupLua]Returns the name of the action.
Note
The programmer often defines an action with a given name, but when associating it to a function he/she might make a typo, or vice-versa. This kind of mistake is very common, but IUP cannot detect it automatically. The predefined DEFAULT_ACTION action combined with function IupGetActionName can help the programmer detect this problem. Simply define a default action and check which action name activated it.