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

hiInsertToolbarItems

hiInsertToolbarItems(
o_hiToolbar
l_hiToolbarItems
s_toolbarItemBefore
)
=> t / nil

Description

Inserts toolbar items before the specified item in a toolbar.

Arguments

o_hiToolbar

Handle to the toolbar returned by hiCreateToolbar.

l_hiToolbarItems

List of toolbar items returned by hiCreateAction, hiCreateToolbarComboBox, hiCreateToolbarTypein, or hiCreateToolbarSeparator.

s_toolbarItemBefore

  

The name of the toolbar item before which to add the new toolbar items.

Values Returned

t

The toolbar items were added to the toolbar.

nil

There was an error.

Examples

Inserts typein and anotherTypein before comboItem.

hiInsertToolbarItem(toolbar list ( typein anotherTypein ) ’comboItem )
=>t

Related Topics

Toolbar Functions

hiAddToolbarItems

hiDeleteToolbarItem

hiDeleteToolbarItems

hiCreateToolbarComboBox

hiCreateToolbarTypein


Return to top
 ⠀
X