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.
Header
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.