IupSetFunction

IUP - Portable User Interface

IupSetFunction

Associates a function to an action.

Parameters/Return

Icallback IupSetFunction (char *action, Icallback function); [in C]
[There is no equivalent in Lua]

action: name of an action.
function: path of a function.

This function returns the address of the previous function associated to the action.

See Also

IupGetFunction, DEFAULT_ACTION.