Setting the shape of the cursor

setcursor()

Set the shape of the cursor


SYNTAX

setcursor(window_id , cursor_type)

Changes the shape of the cursor.

window_id

The identifier of the window in which the cursor is to be used. Note that the cursor is changed for all windows that have the same winclass value as the specified window.

cursor_type

One of the cursor shapes defined in $SCULPTOR/include/sculptor.h. See Cursor shapes for the list of types available.

The default is CURSOR_DEFAULT. This selects the user’s default cursor icon, which is set by means of the Control Panel.


EXAMPLES

setcursor(wintask, CURSOR_WAIT)
setcursor(HelpWin, CURSOR_HELP)