diff options
Diffstat (limited to 'doc/GetCursor.3')
| -rw-r--r-- | doc/GetCursor.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/GetCursor.3 b/doc/GetCursor.3 index 6f8e34f..6bfad3f 100644 --- a/doc/GetCursor.3 +++ b/doc/GetCursor.3 @@ -42,7 +42,7 @@ Token for window in which the cursor will be used. .AP Tcl_Obj *objPtr in/out Description of cursor; see below for possible values. Internal rep will be modified to cache pointer to corresponding Tk_Cursor. -.AP char *name in +.AP "const char" *name in Same as \fIobjPtr\fR except description of cursor is passed as a string and resulting Tk_Cursor is not cached. .AP "const char" *source in @@ -57,9 +57,9 @@ Height of \fIsource\fR and \fImask\fR. X-location of cursor hot-spot. .AP "int" yHot in Y-location of cursor hot-spot. -.AP Tk_Uid fg in +.AP "const char" *fg in Textual description of foreground color for cursor. -.AP Tk_Uid bg in +.AP "const char" *bg in Textual description of background color for cursor. .AP Display *display in Display for which \fIcursor\fR was allocated. @@ -174,7 +174,7 @@ Tk_Cursor cursor; #include "mask.cursor" cursor = Tk_GetCursorFromData(interp, tkwin, source_bits, mask_bits, source_width, source_height, source_x_hot, - source_y_hot, Tk_GetUid("red"), Tk_GetUid("blue")); + source_y_hot, "red", "blue"); .CE .PP Under normal conditions \fBTk_GetCursorFromData\fR |
