IupSetFunction

IUP - Portable User Interface

IupSetFunction

Associates a function to an action.

This function is now deprecated. The applications should use IupSetCallback instead.

Parameters/Return

Icallback IupSetFunction(const char *name, Icallback func); [in C]
[There is no equivalent in Lua]

name: name of an action.
func: address of a C function. If NULL removes the association.

Returns the address of the previous function associated to the action.

See Also

IupGetFunction, DEFAULT_ACTION,  IupSetCallback,