Ets_Tree_Element_Icon_Get()

Note: Requires OPNET Development Kit

Abstract

Returns the name of the icon associated with a tree element.

Syntax

Ets_Tree_Element_Icon_Get (element_ptr, type)
Argument Type Description
element_ptr EtsT_Tree_Element * Pointer to element.
type EtsC_Tree_Icon_Type Type of icon (see Details).

Return Type

char *

Name of icon. Returns NIL if element_ptr is NIL or if there is no icon associated with the element.

ets_api_gui.h

Details

This function returns the name of the tree element icon, which was last set with Ets_Tree_Element_Icon_Set(), or when the element was first created. The type determines whether the closed or open icon name is being returned and can be either EtsC_Tree_Icon_Open or EtsC_Tree_Icon_Closed.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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