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


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

name: name of an interface element.

Returns: the element handle or NULL if not found.


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 using IupGetAttribute.

See Also