ACTION

IUP - Portable User Interface

ACTION

Action generated when the element is activated. Affects each element differently.

Callback

int function(Ihandle *ih); [in C]
elem:action() -> (ret: number) [in Lua]

ih: identifier of the element that activated the event.

In some elements, this callback may receive more parameters, apart from ih. Please refer to each element's documentation.

Affects

IupButton, IupItem, IupList, IupText, IupCanvas, IupMultiline, IupToggle