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

hiSetCursor

hiSetCursor(
w_windowId
x_cursor
)
=> t / nil

Description

Sets the cursor you specify for the window.

Arguments

w_windowId

The window ID.

x_cursor

The integer ID associated with the cursor you want to set. The following table lists the constants that are legal values for this argument, as well as their equivalent X Windows cursors:

x_cursor Constant

Description

X Windows Equivalent

hicArrow

The default pointer cursor

XC_left_ptr

hicArrowPadlock

A pointer with a lock

hicCreateRuler

A pointer with a ruler

-

hicCreateRulerDistance

A two-sided arrow

-

hicCreateRulerEdge

A two-sided arrow between edges

-

hicCross

A multi-lined cross

XC_cross

hicFastEdit

A pencil with a via pointing to the top-left corner of the window

hicFastEditPadlock

A pencil with a lock pointing to the top-left corner of the window

hicHand

A hand with index finger extended

XC_hand2

hicHelp

A question mark with an arrow

XC_question_arrow

hicIbeam

An "I-beam" text insertion cursor

XC_xterm

hicNo

A skull and crossbones

XC_pirate

hicSizeAll

Four connected arrows pointing up/down/left/right

XC_fleur

hicSizeNESW

Two connected arrows pointing top-right and bottom-left

hicSizeNS

Two arrows pointing top and bottom

XC_sb_v_double_arrow

hicSizeNWSE

Two connected arrows pointing top-left and bottom-right

hicSizeWE

Two arrows pointing left and right

XC_sb_h_double_arrow

hicUpArrow

An arrow pointing straight up

XC_sb_up_arrow

hicWait

An analog wristwatch

XC_watch

hicArrowHourglass

An hourglass shape

hicHourglass

As above

hicNoCursor

The default cursor for the widget (typically the pointer cursor)

hicInvertedArrow

A pointer cursor with white and black inverted

hicTumblingDice1

A box with a dot in the upper left corner

hicTumblingDice2

A box with a dot in the upper right corner

hicTumblingDice3

A box with a dot in the lower left corner

hicTumblingDice4

A box with a dot in the lower right corner.

The above tumbling dice cursors are used, in turn, to indicate that DFII is busy. They are displayed when hiGetUserAbort() or voGetUserAbort() is called during long operations.

hicBusyRead

An open book (used for SKILL context loading)

hicHourglass1

An hourglass just turned over

hicHourglass2

An hourglass with some sand in the bottom

hicHourglass3

An hourglass with more sand in the bottom

hicHourglass4

An hourglass with most of the sand in the bottom

hicHourglass5

An hourglass with all the sand in the bottom

hicHourglass6

An hourglass on its side

The numbered hourglass cursors are displayed during SKILL garbage collection.

hicTCross

A single line cross

XC_tcross

The following cursor definitions specifically use Qt defined cursor shapes.

hicQtArrow

Same as hicArrow

XC_left_ptr

hicQtUpArrow

An arrow pointing up

XC_center_ptr

hicQtCross

A single-line crosshair

XC_crosshair

hicQtIBeam

An I-Beam text cursor

XC_xterm

hicQtWait

An analog wristwatch

XC_watch

hicQtBusy

An arrow with an hourglass

hicQtForbidden

A circle with a diagonal line

hicQtPointingHand

A hand with index finger extended

XC_hand2

hicQtWhatsThis

An arrow with a question mark

hicQtDragCopy

A closed hand with a plus sign

hicQtDragLink

A closed hand with a link icon (looks like a USB connector cable)

hicQtDragMove

A closed hand with an arrow

hicQtOpenHand

A hand with fingers extended

hicQtSizeAll

Four connected arrows pointing up/down/left/right

XC_fleur

hicQtSizeBDiag

A solid diagonal arrow pointing down-left and up-right

hicQtSizeFDiag

A solid diagonal arrow pointing down-right and up-left

hicQtSizeHor

A solid horizontal arrow pointing left and right

hicQtSizeVer

A solid vertical arrow pointing up and down

hicQtSplitH

Two vertical lines with left/right arrows

hicQtSplitV

Two horizontal lines with up/down arrows

hiQtClosedHand

A hand with fingers curled up

The following cursors are not part of the standard cursor set but can still be desirable to depict certain operations, including enterfunctions (see hiSetEFunCursor).

hicAlign

A cursor that represents alignment

hicAreaSelect

A cursor for area selection

hicArrowA

An arrow with an "A" for a label or other text

hicArrowArc

An arrow with an arc

hicArrowBox

An arrow with a box that represents moving or stretching

hicArrowCircle

An arrow with a circle

hicArrowCircleI

An arrow with an "i" in a circle

hicArrowCopy

An arrow with a glyph that represents copying.

hicArrowDot

An arrow with a dot that represents a solder dot

hicArrowEllipse

An arrow with an ellipse

hicArrowEllipsis

An arrow with three dots for the default enterfunction cursor

hicArrowIBeam

An arrow with an I-Beam for direct text edit

hicArrowInstance

An arrow with a glyph for "create instance"

hicArrowMagnifier

An arrow with a magnifier for the Zoom command

hicArrowMove

An arrow with a four-way arrow

hicArrowPin

An arrow with a "pin" glyph

hicArrowPolygon

An arrow with a polygon

hicArrowRectangle

An arrow with a rectangle

hicArrowRotate

An arrow with a "rotation" glyph

hicArrowSlashCircle

An arrow with a "forbidden" glyph

hicArrowT

An arrow with a "T" for direct text edit

hicArrowText

An arrow with a glyph used for "create label"

hicArrowTextBox

An arrow with text in a box

hicArrowTextWire

An arrow with a glyph used for "create wire name"

hicArrowWire

An arrow with a zig-zag line that represents drawing a wire or a path

hicArrowX

An arrow with a X for the Delete command

hicAttachDetach

A cursor for attach and detach operations

hicChaining

A cursor for chaining operations

hicChop

A cursor for chopping a shape

hicCreateRow

A cursor for row creation

hicCreateVia

A cursor for via creation

hicDescend

A down arrow for descending into an instance

hicMagnifier

A magnifying glass that can be used with the Zoom command (the hotspot being the center of the magnifying glass)

hicMagnifierMinus

A magnifying glass that can be used with the Zoom-Out command (the hotspot being the center of the "-")

hicMagnifierPlus

A magnifying glass that can be used with the Zoom-In command (the hotspot being the center of the "+")

hicMerge

A cursor for merging shapes

hicMove

A cursor that represents moving.

hicMPP

An arrow with "MPP" attached

hicProbe

A "probe" cursor

hicReshape

A cursor for modifying shapes

hicSpinCircle

A cursor to indicate that a command is running (the hotspot being the center of the circle)

hicStretchE

A cursor that represents stretching East.

hicStretchN

A cursor that represents stretching North.

hicStretchNE

A cursor that represents stretching North-East.

hicStretchNW

A cursor that represents stretching North-West.

hicStretchS

A cursor that represents stretching South.

hicStretchSE

A cursor that represents stretching South-East.

hicStretchSW

A cursor that represents stretching South-West.

hicStretchW

A cursor that represents stretching West.

hicSlot

A cursor for slots

hicSplit

A cursor for splitting a shape

hicUnmarkNet

A cursor for removing the mark from a net

hicIBeam

A narrow I-Beam (as compared to hicIbeam)

hicRotatedIBeam

An I-Beam for vertical text.

hicMoveSmall

A smaller 4-way arrow than hicMove

hicArrowFilter

An arrow with a funnel shape

Value Returned

t

The cursor was set.

nil

The cursor was not set.

Related Topics

Window Functions

hiGetCursorName


Return to top
 ⠀
X