Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

geGetEnablePredicate

geGetEnablePredicate(
r_menu
t_appName
)
=> n_enablePredicate

Description

Returns the enable predicate of the menu for the application named appName or nil if undefined.

Arguments

r_menu

The array, not the symbolic name, of a menu that is returned by hiCreateMenuItem or hiCreateSliderMenuItem.

t_appName

The text or symbolic name used to uniquely identify your application’s menu update system.

Value Returned

n_enablePredicate

The enable predicate of the menu for the application appName.

nil

Undefined

Examples

Returns the enable predicate of the menu for the application.

leCreateConicsItem
=> array[8]:108643592
geGetEnablePredicate(leCreateConicsItem ’default)
=> 2

Related Topics

Automatic Menu Enabling Functions


Return to top
 ⠀
X