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

hiInsertToolbarItem

hiInsertToolbarItem(
o_hiToolbar
o_hiToolbarItem
s_toolbarItemBefore
)
=> t / nil

Description

Inserts a toolbar item before a specific item in a toolbar.

Arguments

o_hiToolbar

Handle to the toolbar returned by hiCreateToolbar.

o_hiToolbarItem

Handle to the toolbar item returned by hiCreateAction, hiCreateToobarComboBox, hiCreateToolbarTypein, or hiCreateToolbarSeparator.

s_toolbarItemBefore

  

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

Values Returned

t

The toolbar item was added.

nil

There was an error.

Examples

Inserts typein before comboItem.

hiInsertToolbarItem(toolbar typein ’comboItem )
=>t

Related Topics

Toolbar Functions

hiInsertToolbarItems

hiAddToolbarItems

hiDeleteToolbarItem

hiDeleteToolbarItems

hiCreateToolbarTypein

hiCreateToolbarSeparator


Return to top
 ⠀
X