summaryrefslogtreecommitdiffstats
path: root/doc/image.n
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-04-03 04:33:58 (GMT)
committerhobbs <hobbs>2001-04-03 04:33:58 (GMT)
commit8ae891ee54673e0f08adaa897658ea57339a0928 (patch)
tree162fd1c9128ef3e1d52a19389af88b416a63b775 /doc/image.n
parent7c56be8d473726fbadb7c22cea25501a397f7215 (diff)
downloadtk-8ae891ee54673e0f08adaa897658ea57339a0928.zip
tk-8ae891ee54673e0f08adaa897658ea57339a0928.tar.gz
tk-8ae891ee54673e0f08adaa897658ea57339a0928.tar.bz2
* doc/image.n: added warning about names chosen for images.
Diffstat (limited to 'doc/image.n')
-rw-r--r--doc/image.n6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/image.n b/doc/image.n
index 930dca9..2d28b08 100644
--- a/doc/image.n
+++ b/doc/image.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: image.n,v 1.5 2000/11/28 11:16:04 dkf Exp $
+'\" RCS: @(#) $Id: image.n,v 1.6 2001/04/03 04:33:58 hobbs Exp $
'\"
.so man.macros
.TH image n 4.0 Tk "Tk Built-In Commands"
@@ -37,6 +37,10 @@ type; see below for details on the options for built-in image types.
If an image already exists by the given name then it is replaced
with the new image and any instances of that image will redisplay
with the new contents.
+It is important to note that the image command will silently overwrite any
+procedure that may currently be defined by the given name, so choose the
+name wisely. It is recommended to use a separate namespace for image names
+(e.g., \fB::img::logo\fR, \fB::img::large\fR).
.TP
\fBimage delete \fR?\fIname name\fR ...?
Deletes each of the named images and returns an empty string.