IupTimer
Creates a timer which periodicaly invokes a callback when the time is up. Each timer should be destroyed using IupDestroy.
Creation
Ihandle* IupTimer(); [in C] iuptimer() -> (elem: iuplua_tag) [in IupLua3] iup.timer() -> (elem: iuplua_tag) [in IupLua5] timer() [in LED]The function returns the identifier of the created handle, or NULL if an error occurs.
Attributes
TIME: The time interval in miliseconds.
RUN: Starts and stops the timer. Possible values: "YES" or "NO".
Callbacks
ACTION_CB: Called when the time is up.
int function(Ihandle *self); [in C] elem:action() -> (ret: number) [in IupLua]self: Timer handle.