IupStoreAttribute

IUP - Portable User Interface

IupStoreAttribute

Defines an attribute for an interface element.

Parameters/Return

void IupStoreAttribute(Ihandle *element, char *a, char *v); [in C]
IupStoreAttribute(element: iulua_tag, attribute: string, value: string) [in IupLua3]
iup.StoreAttribute(element: iulua_tag, attribute: string, value: string) [in IupLua5] 

element: identifier of the interface element.
a: name of the attribute.
v: value of the attribute. If it equals NULL (nil in IupLua), the attribute will be removed from the element.

Note

The value stored in the attribute is duplicated. Usually you will not use this function to store private attributes of the application.

See Also

IupGetAttribute, IupSetAttribute