
CURSOR_SRC_CHAR
Specifies the index into the shape font. Predefined shapes are in <xview/cursor.h>.
Argument: unsigned int
Default: -1
Procs: create, get, set
Objects: Xv_Cursor
Usage:
xv_set(cursor,
CURSOR_SRC_CHAR, OLC_BASIC_PTR,
CURSOR_MASK_CHAR, OLC_BASIC_MASK_PTR,
NULL);
See Also: 13.2,
CURSOR_MASK_CHAR
CURSOR_STRING
Creates a text drag and drop cursor. The value of the attribute is the string which is to be displayed in-
side the “flying punch card.” If the string exceeds 3 characters, then only the first 3 characters are
displayed, and a “More arrow” is shown within the cursor. CURSOR_STRING is mutually exclusive
of
CURSOR_IMAGE, CURSOR_SRC_CHAR, and CURSOR_MASK_CHAR. The string is not copied. Once the
drag and drop operation is complete, the text cursor objects used in the operation must be destroyed.
Argument: char *
Default: None
Procs: create,get
Objects: Cursor
See Also: 13.5,
CURSOR_DRAG_STATE, CURSOR_DRAG_TYPE
CURSOR_XHOT
Specifies the x coordinate of the hotspot. Its value cannot be negative.
Argument: int
Default: 0
Procs: create, get, set
Objects: Cursor
See Also: 13.3
CURSOR_YHOT
Specifies the y coordinate of the hotspot. Its value cannot be negative.
Argument: int
Default: 0
Procs: create, get, set
Objects: Cursor
See Also: 13.3
DND_ACCEPT_CURSOR
During a drag and drop operation, this defines the mouse cursor that is used when the cursor is over
an acceptable drop-site.
Argument: Xv_cursor
Default: