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: ihandle) -> handle: ihandle [in IupLua3]
iup.SetHandle(name: string, element: ihandle) -> handle: ihandle [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.