summaryrefslogtreecommitdiffstats
path: root/doc/GetColor.3
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-11-08 15:28:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-11-08 15:28:08 (GMT)
commit9dfb62d45d29b6eef7a298530bc334f5353aa874 (patch)
tree3697a1e2444e5e6ee232e22bfb2e1fc57081b975 /doc/GetColor.3
parent94ee921c9a1cc92e24329bf1662aac13751fe763 (diff)
downloadtk-9dfb62d45d29b6eef7a298530bc334f5353aa874.zip
tk-9dfb62d45d29b6eef7a298530bc334f5353aa874.tar.gz
tk-9dfb62d45d29b6eef7a298530bc334f5353aa874.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).
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