IupSetHandle

IUP - Portable User Interface

IupSetHandle

Associates a name with an interface element.

Parameters/Return

Ihandle *IupSetHandle(const char *name, Ihandle *ih); [in C]
iup.SetHandle(name: string, ih: ihandle) -> old_ih: ihandle [in Lua]

name: name of the interface element.
ih: identifier of the interface element. Use NULL to remove the association.

Returns the identifier of the interface element previously associated to the parameter name.

See Also

IupGetHandle