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

hiPlaceToolbar

hiPlaceToolbar(
w_windowID
o_hiToolbar
[ s_toolbarArea ]
)
=> t / nil

Description

Adds a toolbar to the specified toolbar area of a window. If the toolbar already exists on the window, this function moves it to the specified area. The toolbar is placed at the end of the current toolbars in that area.

Arguments

w_windowID

The window ID.

o_hiToolbar

Handle to the toolbar returned by hiCreateToolbar.

s_toolbarArea

The toolbar area of the window; one of: ’left, ’right, ’top, and ’bottom.

Default value: ’top

Values Returned

t

The toolbar was added to the window.

nil

There was an error.

Examples

Adds toolbar to the top of the window.

hiPlaceToolbar( window ( 1 ) toolbar ’top )
=>t

Related Topics

Toolbar Functions

hiInsertToolbar

hiCreateToolbar

hiShowToolbar

hiSetToolbarObjName


Return to top
 ⠀
X