Ets_Tree_Element_Child_Add()

Note: Requires OPNET Development Kit

Abstract

Place the given node in the tree as a child of the given parent.

Syntax

Ets_Tree_Element_Child_Add (parent_ptr, child_ptr, position)
Argument Type Description
parent_ptr EtsT_Tree_Element * Parent node to which node is to be added.
child_ptr EtsT_Tree_Element * Node to be added.
position int Position under parent to which to be added.

Return Type

void

No return value.

ets_api_gui.h

Details

This function adds child as a child node of the parent, parent_ptr. The position specifies where in the parent's child list the node being added will be placed.

See Ets_Tree_Element_Child_Count() to get the number of children of the node or Ets_Tree_Element_Child_Nth() to get the nth child. Ets_Tree_Element_Create() creates a tree element. To refresh the control, call Ets_Ctl_Tree_Refresh().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com