Ets_Tree_Element_Child_Count()
Note: Requires OPNET Development Kit
Abstract
Returns the number of children of a given node in an element tree.
Syntax
Ets_Tree_Element_Child_Count (element_ptr)
| Argument | Type | Description |
|---|---|---|
element_ptr |
EtsT_Tree_Element * |
Pointer to parent. |
Return Type
int
Number of children of the given element.
Header
ets_api_gui.h
Details
This function returns a count of the number of child elements in the child list of the parent element.
See Ets_Tree_Element_Child_Add() to add an element at a given position or Ets_Tree_Element_Child_Nth() to get the nth child under a parent.