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

hiGetWMOffsets

hiGetWMOffsets() 
=> l_offsets 

Description

Returns a list of offsets (dimensions) of the window manager border placed around each window.

This function can be used to specify arguments to various window functions, like hiGetAbsWindowScreenBBox, when you want to take the window manager border into account.

Arguments

None.

Value Returned

l_offsets

A four-element list of window manager border dimensions, in the following order:

x_xOffset: Width of the left window border in pixels.

x_yOffset: Height of the top window border in pixels.

x_widthOffset: Number of extra pixels added to the width of a window due to the window manager border (two times x_xOffset in most cases).

x_heightOffset: Number of extra pixels added to the height of a window due to the window manager border.

Examples

Returns the dimensions of the window manager border.

hiGetWMOffsets( ) 
=> (6 23 12 29)

Related Topics

Window Functions


Return to top
 ⠀
X