IupUnmap (since 3.0)

Unmap the element from the native system. It will also unmap all its children.

It will NOT detach the element from its parent, and it will NOT destroy the IUP element.


void IupUnmap(Ihandle* ih); [in C]
iup.Unmap(ih: ihandle) [in Lua]
or ih:unmap() [in Lua]

ih: Identifier of an 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. Use the function IupSaveClassAttributes when you want to unmap the element and keep its attributes.

See Also

IupAppend, IupDetach, IupMap, IupCreate, IupDestroy