IupDetach
Disassociates an interface element from its parent.
Parameters/Return
void IupDetach(Ihandle *element); [in C] iup.Detach(element: ihandle) [in Lua] or element:detach() [in Lua]
element: Identifier of the interface element to be detached.
Notes
This function does not destroy the interface element, just remove it from the child list of its parent. If you remove a control from an already mapped dialog you must explicitly call IupDestroy for that control.