IupSetHandle

IUP - Portable User Interface

IupSetHandle

Defines a name for an interface element.

Parameters/Return

Ihandle *IupSetHandle(char *name, Ihandle *element); [in C]
IupSetHandle(name: string, element: iuplua_tag) -> handle: iuplua_tag [in IupLua3]
iup.SetHandle(name: string, element: iuplua_tag) -> handle: iuplua_tag [in IupLua5]

name: name of the interface element.
element: identifier of the interface element.

This function returns the identifier of the interface element previously associated to the parameter name.

Note

Attention: To delete an elementÂ’s name, use

IupSetHandle("my element name", NULL);

See Also

IupGetHandle.