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

hiResizeWindow

hiResizeWindow(
w_windowId 
l_bBox 
) 
=> t / nil 

Description

Resizes a window to the size of a bounding box. If w_windowID is a window within a session window, the session window is resized.

The window manager banner is not considered part of the bounding box. The window, therefore, might not appear to be placed exactly at the specified points.

This function is not available in Concept SKILL. For more information, see Design Entry HDL–SKILL Routines.

Arguments

w_windowId

Window, session window, or floating dockable window that you want to resize. w_windowId cannot be a dockable window that is currently docked.

l_bBox

The new coordinates for the bounding box of the window. Specify the lower-left and upper-right screen coordinates, assuming 0:0 to be the lower-left corner of the screen:

((lowerLeft_X lowerLeft_Y) (upperRight_X upperRight_Y)

Value Returned

t

The window is resized.

nil

The window is not resized. An error message is also issued.

Examples

Resizes window (4)to 0:0 500:500 coordinate.

hiResizeWindow(window(4) list(0:0 500:500))
=> t

Resizes window(2) to match the size and position of window(1) by using the hiGetAbsWindowScreenBBox and hiResizeWindow functions:

win1BBox = hiGetAbsWindowScreenBBox(window(1) t)
hiResizeWindow(window(2) win1BBox)

Related Topics

Window Functions

hiGetAbsWindowScreenBBox


Return to top
 ⠀
X