IupGetHandle

IUP - Portable User Interface

IupGetHandle

Returns the identifier of an interface element that has an associated name using IupSetHandle or using LED.

Parameters/Return

Ihandle *IupGetHandle(const char *name); [in C]
iup.GetHandle(name: string) -> ih: ihandle [in Lua]

name: name of an interface element.

Returns the identifier of the interface element.

Note

This function is used for integrating IUP and LED. To manipulate an interface element defined in LED, first capture its identifier using function IupGetHandle, passing the name of the interface element as parameter, then use this identifier on the calls to IUP functions – for example, a call to the function that verifies the value of an attribute, IupGetAttribute.

See Also

IupSetHandle.