DXmCreateCursor(3X)
NAME
DXmCreateCursor − Creates a specific cursor.
SYNOPSIS
Cursor DXmCreateCursor(widget, cursorkind)
Widget widget;
int cursorkind;
PARAMETERS
The widget from which display information is obtained. An integer that represents the type of cursor, as follows:
| Value | Cursor Description |
| decw$c_wait_cursor (4) | A watch |
| decw$c_questionmark_cursor (54) | A question mark |
| decw$c_inactive_cursor (6) | A caution ("do not enter") symbol |
The following X Window System fallbacks are provided in the event the DECwindows-specific cursors cannot be loaded:
| DECwindows-Specific Cursor | X Fallback |
| decw$c_wait_cursor | XC_watch |
| decw$c_questionmark_cursor | XC_question_arrow |
| decw$c_inactive_cursor | XC_circle |
You can specify additional cursor symbols by examining the /usr/include/X11/decwcursor.h file. (X Window System fallbacks are provided for each of those cursors as well.)
DESCRIPTION
The DXmCreateCursor routine enables you to create a cursor that displays as a watch, question mark, or caution ("do not enter") symbol (these are the most frequently used cursor symbols).
RETURN VALUES
The identifier (cursor ID) of the created cursor.