summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-12-17 15:28:18 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-12-17 15:28:18 (GMT)
commitf00b32df9e6404486f4c95fff8e260707796cbfa (patch)
tree2fcfcf3b49c023154eb40c827d5c8db79f31ae0a
parentec760820e19e871d5baac4033fbca8eff48f60e9 (diff)
downloadtk-f00b32df9e6404486f4c95fff8e260707796cbfa.zip
tk-f00b32df9e6404486f4c95fff8e260707796cbfa.tar.gz
tk-f00b32df9e6404486f4c95fff8e260707796cbfa.tar.bz2
Doc-fix: [$photo put] knows about solid colours, and not files. [Bug 640026]
-rw-r--r--ChangeLog6
-rw-r--r--doc/photo.n15
2 files changed, 14 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 31dbeeb..1202dce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-12-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+
+ * doc/photo.n: Fixed documentation of the put subcommand to no
+ longer talk about files and to mention that you can use colour
+ names for working with solid colours. [Bug 640026]
+
2002-12-13 Don Porter <dgp@users.sf.net>
* generic/tkMain.c (Tk_Main): Call on Tcl*StartupScript*() routines
diff --git a/doc/photo.n b/doc/photo.n
index a756411..54fc053 100644
--- a/doc/photo.n
+++ b/doc/photo.n
@@ -9,7 +9,7 @@
'\" Department of Computer Science,
'\" Australian National University.
'\"
-'\" RCS: @(#) $Id: photo.n,v 1.12 2002/06/22 00:37:16 dkf Exp $
+'\" RCS: @(#) $Id: photo.n,v 1.13 2002/12/17 15:28:19 dkf Exp $
'\"
.so man.macros
.TH photo n 4.0 Tk "Tk Built-In Commands"
@@ -241,12 +241,13 @@ image as a list of three integers between 0 and 255, representing the
red, green and blue components respectively.
.TP
\fIimageName \fBput\fR \fIdata\fR ?\fIoption value(s) ...\fR?
-Sets pixels in \fI imageName\fR to the data specified in
-\fIdata\fR. This command first searches the list of image file
-format handlers for a handler that can interpret the data
-in \fIdata\fR, and then reads the image in \fIfilename\fR into
-\fIimageName\fR (the destination image). The following options
-may be specified:
+Sets pixels in \fI imageName\fR to the data specified in \fIdata\fR.
+This command first searches the list of image file format handlers for
+a handler that can interpret the data in \fIdata\fR, and then reads
+the image encoded within into \fIimageName\fR (the destination image).
+Note that \fIdata\fR may also be a single color name if you wish to
+fill a rectangular region with that color. The following options may
+be specified:
.RS
.TP
\fB\-format \fIformat-name\fR