summaryrefslogtreecommitdiffstats
path: root/doc/dialog.n
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2004-10-28 10:19:28 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2004-10-28 10:19:28 (GMT)
commit687ea9c7fa1c93b45ecfe7c1e2a4903c1d66f193 (patch)
tree4510d45a04d9e2aca7a63a3473795ac8dd76d9c8 /doc/dialog.n
parente858401f8bf6377c0ed3e19ca52b42ca7eea5b22 (diff)
downloadtk-687ea9c7fa1c93b45ecfe7c1e2a4903c1d66f193.zip
tk-687ea9c7fa1c93b45ecfe7c1e2a4903c1d66f193.tar.gz
tk-687ea9c7fa1c93b45ecfe7c1e2a4903c1d66f193.tar.bz2
Backport of documentation fixes
Diffstat (limited to 'doc/dialog.n')
-rw-r--r--doc/dialog.n10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/dialog.n b/doc/dialog.n
index 0e93888..12f2e7c 100644
--- a/doc/dialog.n
+++ b/doc/dialog.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: dialog.n,v 1.2 1998/09/14 18:22:55 stanton Exp $
+'\" RCS: @(#) $Id: dialog.n,v 1.2.26.1 2004/10/28 10:19:29 dkf Exp $
'\"
.so man.macros
.TH tk_dialog n 4.1 Tk "Tk Built-In Commands"
@@ -60,6 +60,14 @@ of the buttons, then -1 is returned.
While waiting for the user to respond, \fBtk_dialog\fR sets a local
grab. This prevents the user from interacting with the application
in any way except to invoke the dialog box.
+.SH EXAMPLE
+.CS
+set reply [\fBtk_dialog\fR .foo "The Title" "Do you want to say yes?" \\
+ questhead 0 Yes No "I'm not sure"]
+.CE
+
+.SH "SEE ALSO"
+tk_messageBox(n)
.SH KEYWORDS
bitmap, dialog, modal