summaryrefslogtreecommitdiffstats
path: root/doc/GetColor.3
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2012-11-08 15:28:08 (GMT)
committerdkf <dkf@noemail.net>2012-11-08 15:28:08 (GMT)
commit1478bfcc771923533731703c5a702e917678321b (patch)
tree3697a1e2444e5e6ee232e22bfb2e1fc57081b975 /doc/GetColor.3
parent9e63ff95798ec7ff7f442602a8fcfe5393c6f573 (diff)
downloadtk-1478bfcc771923533731703c5a702e917678321b.zip
tk-1478bfcc771923533731703c5a702e917678321b.tar.gz
tk-1478bfcc771923533731703c5a702e917678321b.tar.bz2
Updated the language of the documentation so that "object" refers to an OO
concept throughout, and a Tcl_Obj is called a "value" (which is what it is). FossilOrigin-Name: 3a0b1c1e25465dd28ecc512fd2be7f898b5e260c
Diffstat (limited to 'doc/GetColor.3')
-rw-r--r--doc/GetColor.38
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/GetColor.3 b/doc/GetColor.3
index 5b7a553..2fb1118 100644
--- a/doc/GetColor.3
+++ b/doc/GetColor.3
@@ -67,8 +67,8 @@ colormap space is exhausted.
.PP
Given a textual description of a color, \fBTk_AllocColorFromObj\fR
locates a pixel value that may be used to render the color
-in a particular window. The desired color is specified with an
-object whose string value must have one of the following forms:
+in a particular window. The desired color is specified with a
+value whose string value must have one of the following forms:
.TP 20
\fIcolorname\fR
Any of the valid textual names for a color defined in the
@@ -106,7 +106,7 @@ such as \fBTk_AllocColorFromObj\fR and \fBTk_GetColorFromObj\fR.
.PP
\fBTk_GetColor\fR is identical to \fBTk_AllocColorFromObj\fR except
that the description of the color is specified with a string instead
-of an object. This prevents \fBTk_GetColor\fR from caching the
+of a value. This prevents \fBTk_GetColor\fR from caching the
return value, so \fBTk_GetColor\fR is less efficient than
\fBTk_AllocColorFromObj\fR.
.PP
@@ -173,4 +173,4 @@ There should be exactly one call to \fBTk_FreeColorFromObj\fR
or \fBTk_FreeColor\fR for each call to \fBTk_AllocColorFromObj\fR,
\fBTk_GetColor\fR, or \fBTk_GetColorByValue\fR.
.SH KEYWORDS
-color, intensity, object, pixel value
+color, intensity, value, pixel value