From e045454eaa4882cbc40ffd264d84f11387584b80 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 3 Apr 2001 04:33:58 +0000 Subject: * doc/image.n: added warning about names chosen for images. --- doc/image.n | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. -- cgit v0.12