summaryrefslogtreecommitdiffstats
path: root/doc/image.n
diff options
context:
space:
mode:
authorericm <ericm>2000-05-15 18:21:46 (GMT)
committerericm <ericm>2000-05-15 18:21:46 (GMT)
commit698e6260491555c0e947686a83d1fbab938f9102 (patch)
tree13ac478424a609a08eb922b050439a74404458c2 /doc/image.n
parent5a419fa18771e4048b825850f2c7a861d1103e97 (diff)
downloadtk-698e6260491555c0e947686a83d1fbab938f9102.zip
tk-698e6260491555c0e947686a83d1fbab938f9102.tar.gz
tk-698e6260491555c0e947686a83d1fbab938f9102.tar.bz2
* doc/image.n: Added documentation for [image inuse] command.
* tests/image.test: Added tests for [image inuse] command. * generic/tkImage.c (Tk_ImageObjCmd): Added [image inuse] command, which provides a means for programmers to determine if a given image is in use by any widgets. [RFE: 3327].
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 4c55018..4277ef4 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.2 1998/09/14 18:22:57 stanton Exp $
+'\" RCS: @(#) $Id: image.n,v 1.3 2000/05/15 18:21:47 ericm Exp $
'\"
.so man.macros
.TH image n 4.0 Tk "Tk Built-In Commands"
@@ -54,6 +54,10 @@ the existing instances will use the new image.
Returns a decimal string giving the height of image \fIname\fR
in pixels.
.TP
+\fBimage inuse \fIname\fR
+Returns a boolean value indicating whether or not the image given by
+\fIname\fR is in use by any widgets.
+.TP
\fBimage names\fR
Returns a list containing the names of all existing images.
.TP