Saves all registered attributes on the internal hash table.


void IupSaveClassAttributes(Ihandle* ih); [in C]
iup.SaveClassAttributes(ih: ihandle) [in Lua]

ih: identifier of the interface element.


When the element is mapped some attributes are stored only in the native system. If the element is unmaped those attributes are lost. So this function is useful when you want to unmap the element and keep its attributes.

It will not save id dependent attributes, like those which has a complementary number. For example: items in a IupList, IupTree or IupMatrix.

See Also

IupGetClassAttributes, IupGetClassName, IupGetClassType, IupGetAllAttributes, IupCopyClassAttributes