Preparing search index...

    Enum specifying mouse cursor shape.

        // CursorShape defines the mouse cursor appearance over a widget.
    // Use widget.setCursor() to change the cursor shape.
    const root = new Widget(parent);
    const layout = new BoxLayout();
    layout.setDirection(Direction.TopToBottom);
    root.layout = layout;

    const label = new Label(root);
    label.text = 'Hover over the button to see a pointing hand cursor';
    layout.addWidget(label);

    const btn = new PushButton(root);
    btn.text = 'Clickable';
    btn.setCursor(CursorShape.PointingHandCursor);
    layout.addWidget(btn);

    // Other common cursor shapes:
    // CursorShape.ArrowCursor, CrossCursor, WaitCursor, IBeamCursor,
    // SizeVerCursor, SizeHorCursor, ForbiddenCursor, OpenHandCursor
    Index

    Enumeration Members

    ArrowCursor: number

    Standard arrow cursor.

    BlankCursor: number

    Blank/invisible cursor.

    BusyCursor: number

    Busy cursor.

    ClosedHandCursor: number

    Closed/grabbing hand cursor.

    CrossCursor: number

    Crosshair cursor.

    DragCopyCursor: number

    Drag to copy cursor.

    DragLinkCursor: number

    Drag to link cursor.

    DragMoveCursor: number

    Drag to move cursor.

    ForbiddenCursor: number

    Forbidden/prohibited cursor.

    IBeamCursor: number

    Text input cursor.

    OpenHandCursor: number

    Open hand cursor.

    PointingHandCursor: number

    Pointing hand cursor.

    SizeAllCursor: number

    Omnidirectional resize cursor.

    SizeBDiagCursor: number

    Backslash diagonal resize cursor.

    SizeFDiagCursor: number

    Forward diagonal resize cursor.

    SizeHorCursor: number

    Horizontal resize cursor.

    SizeVerCursor: number

    Vertical resize cursor.

    SplitHCursor: number

    Horizontal split cursor.

    SplitVCursor: number

    Vertical split cursor.

    UpArrowCursor: number

    Upward-pointing arrow cursor.

    WaitCursor: number

    Wait/loading cursor.

    WhatsThisCursor: number

    Help/what's this cursor.