summaryrefslogtreecommitdiffstats
path: root/doc/image.n
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-05-15 18:21:45 (GMT)
committerericm <ericm@noemail.net>2000-05-15 18:21:45 (GMT)
commit12f7d356497448597d8a7cbaa4b5664a971ec0c0 (patch)
tree13ac478424a609a08eb922b050439a74404458c2 /doc/image.n
parent48c2264924c5f59552b6de950e15887a365e07d0 (diff)
downloadtk-12f7d356497448597d8a7cbaa4b5664a971ec0c0.zip
tk-12f7d356497448597d8a7cbaa4b5664a971ec0c0.tar.gz
tk-12f7d356497448597d8a7cbaa4b5664a971ec0c0.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]. FossilOrigin-Name: 53c2f9bf908f0ca358175e6b6220862cb1376f2a
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