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

hiSetDisabledIcon

hiSetDisabledIcon(
g_icon
g_disabledIcon
)
=> t / nil

Description

Specifies a disabled icon for an icon, which is displayed whenever the icon is disabled. This function only applies to icons used in menus, not to icons used in form fields or buttons.

This function must be called before the menu is instantiated for the disabled icon to be used.

Arguments

g_icon

Specifies the icon.

g_disabledIcon

Specifies the disabled icon.

Values Returned

t

The function was successful.

nil

There was an error.

Related Topics

Icon Functions

hiMatchColorByName

hiStringToIcon


Return to top
 ⠀
X