IupSetAttributeHandle

IUP - Portable User Interface

IupSetAttributeHandle

Instead of using IupSetHandle and IupSetAttribute with a new creative name, this function automatically creates a non conflict name and associates the name with the attribute.

It is very usefull for associating images and menus.

Parameters/Return

void IupSetAttributeHandle(Ihandle *ih, char *name, Ihandle *ih_named); [in C]
[There is no equivalent in Lua] 

ih: identifier of the interface element.
name: name of the attribute.
ih_named: element to associate using a name

The function will not check for inheritance since all the attributes that associate handles are not inheritable.

See Also

IupGetAttributeHandle, IupSetAttribute, IupSetAttributes, IupStoreAttribute, IupSetHandle