Expand/Shrink

IupGetAttributeHandle

Definition: include pGUI.e

Ihandln res = IupGetAttributeHandle(Ihandln ih, string name)
-- or --
Ihandln res = IupGetAttributeHandleId(Ihandln ih, string name, integer id)
-- or --
Ihandln res = IupGetAttributeHandleId2(Ihandln ih, string name, integer lin, col)
Description: Instead of using IupGetAttribute() and IupGetHandle(), this function directly returns the associated handle.

ih: identifier of the interface element.
name: name of the attribute.
id, lin, col: used when the attribute has additional ids. (since 3.21)

Returns: the element with the associated name. The function will not check for inheritance since all the attributes that associate handles are not inheritable.
pwa/p2js: Not supported. (Just not stumbled into a need for it as yet, probably would not be all that technically difficult.)
See Also: IupSetAttributeHandle, IupSetAttribute, IupSetAttributes, IupSetHandle