summaryrefslogtreecommitdiffstats
path: root/doc/messageBox.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-10-28 10:19:28 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-10-28 10:19:28 (GMT)
commit6ff31223f9e947f2e8a9330e494b1c16708ab112 (patch)
tree4510d45a04d9e2aca7a63a3473795ac8dd76d9c8 /doc/messageBox.n
parentdefbe2d550efd6b5d93d6996f42d7e6d8339a168 (diff)
downloadtk-6ff31223f9e947f2e8a9330e494b1c16708ab112.zip
tk-6ff31223f9e947f2e8a9330e494b1c16708ab112.tar.gz
tk-6ff31223f9e947f2e8a9330e494b1c16708ab112.tar.bz2
Backport of documentation fixes
Diffstat (limited to 'doc/messageBox.n')
-rw-r--r--doc/messageBox.n7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/messageBox.n b/doc/messageBox.n
index 4e6eead..140b166 100644
--- a/doc/messageBox.n
+++ b/doc/messageBox.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: messageBox.n,v 1.5 2000/04/27 18:28:58 ericm Exp $
+'\" RCS: @(#) $Id: messageBox.n,v 1.5.8.1 2004/10/28 10:19:29 dkf Exp $
'\"
.so man.macros
.TH tk_messageBox n 4.2 Tk "Tk Built-In Commands"
@@ -78,10 +78,11 @@ and \fBcancel\fR.
.PP
.SH EXAMPLE
.CS
-set answer [tk_messageBox \-message "Really quit?" \-type yesno \-icon question]
+set answer [\fBtk_messageBox\fR \-message "Really quit?" \-type yesno \-icon question]
switch -- $answer {
yes exit
- no {tk_messageBox \-message "I know you like this application!" \-type ok}
+ no {\fBtk_messageBox\fR \-message "I know you like this application!" \e
+ \-type ok}
}
.CE