IupDetach

IUP - Portable User Interface

IupDetach

Disassociates an interface element from its parent.

Parameters/Return

void IupDetach(Ihandle *element); [in C]
IupDetach(element: ihandle) [in IupLua3]
iup.Detach(element: ihandle) [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, 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.

See Also

IupAppend, IupDestroy.