VSetTextCaret
Name
VSetTextCaret - sets the caret used in the Text (Tablet) Item.
Synopsis
VSetTextCaret(c)
char *c;
Description
VSetTextCaret sets the caret used in the Text (Tablet) Item. The caret is
a character string composed of one or more characters. It indicates that a
Text Item is enabled and shows where the text is appended.
Return Value
0 - work successfully.
265 - invalid caret.
Parameters
c - character string representing the new caret.
Side Effect
Changes the value of the local global variable "char caret[100]".
Entry Conditions
VCreateColormap should be called earlier, else VSetTextCaret prints an
error message to the standard error stream, produces a core dump file and
exits from the current process.
Related Functions
VAddText,
VCheckTextEvents.