IupDetach
Disassociates an interface element from its parent.
Parameters/Return
void IupDetach(Ihandle *element); [in C] IupDetach(element: iuplua_tag) [in IupLua3] iup.Detach(element: iuplua_tag) [in IupLua5] or element:detach() [in IupLua]
element: Identifier of the interface element to be detached.
Notes
This function does not destroy the interface element.
ATTENTION: At the moment, this function only works before the element is mapped, i.e. before calling IupMap, IupShow, IupShowXY or IupPopup.