Ets_Tree_Element_Destroy()
Note: Requires OPNET Development Kit
Abstract
Removes and destroys the memory of a tree element.
Syntax
Ets_Tree_Element_Destroy (element_ptr)
| Argument | Type | Description |
|---|---|---|
element_ptr |
EtsT_Tree_Element * |
Pointer to element. |
Return Type
void
No return value.
Header
ets_api_gui.h
Details
This function destroys the memory associated with an ETS tree element. It will also unlink the node from its parent if a parent exists, and recursively destroy all children of the node.
See Ets_Tree_Element_Child_Remove() to remove an element from a parent without destroying it.