Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiSetTreeItemIcons

hiSetTreeItemIcons(
r_treeItem
l_icons
)
=> t / nil

Description

Sets the following icons for a tree item: default icon, expanded icon (displayed when the item is expanded), selection icon (displayed when the item is selected), and expanded selection icon (displayed when the item is both expanded and selected).

Arguments

r_treeItem

Handle to the tree item, returned by hiCreateTreeItem.

l_icons

A list of four icons, in the following order:

( g_itemIcon g_expandedIcon g_selectionIcon g_expandedSelectionIcon ).

g_selectionIcon and g_expandedSelectionIcon are currently not displayed.

Value Returned

t

The icons are set. Note that g_selectionIcon and g_expandedSelectionIcon are updated but are currently not displayed in the tree.

nil

r_treeItem or an icons in l_icons is invalid.

Related Topics

Form and Field Functions

hiGetTreeItemIcons

hiSwapTreeItemSelectionIcons

hiCreateTreeItem


Return to top
 ⠀
X