IupStoreAttribute

IUP - Portable User Interface

IupStoreAttribute

Defines an attribute for an interface element.

Parameters/Return

void IupStoreAttribute(Ihandle *ih, char *name, char *value); [in C]
iup.StoreAttribute(ih: iulua_tag, name: string, value: string) [in Lua] 

ih: identifier of the interface element. If NULL will set in the global environment.
name: name of the attribute.
value: value of the attribute. If NULL (nil in IupLua), the attribute will be removed from the element.

Notes

The value stored is duplicated if not processed by the element specific implementation. Usually you will not use this function to store private attributes of the application.

See Also

IupGetAttribute, IupSetAttribute