IupGetCallback
Returns the callback associated to an event.
Parameters/Return
Icallback IupGetCallback(Ihandle* ih, const char *name); [in C] [There is no equivalent in IupLua]
ih: identifier of the interface element. name: attribute name of the callback.
Notes
This function replaces the combination:
IupGetFunction(IupGetAttribute(ih, name))
If an event is associated using IupSetFunction and IupSetAttribute, the IupGetCallback also returns the correct callback. So old applications work normally.
See Also
IupSetCallback, IupGetFunction