summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-04-03 04:33:58 (GMT)
committerhobbs <hobbs>2001-04-03 04:33:58 (GMT)
commite045454eaa4882cbc40ffd264d84f11387584b80 (patch)
tree162fd1c9128ef3e1d52a19389af88b416a63b775
parenta96be5eeb87d2a370e50af33b72a82289f91abb2 (diff)
downloadtk-e045454eaa4882cbc40ffd264d84f11387584b80.zip
tk-e045454eaa4882cbc40ffd264d84f11387584b80.tar.gz
tk-e045454eaa4882cbc40ffd264d84f11387584b80.tar.bz2
* doc/image.n: added warning about names chosen for images.
-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.