diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2004-06-21 14:19:38 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2004-06-21 14:19:38 (GMT) |
commit | eb6e4fa31efe3d084a859eb501c955b30c6d085d (patch) | |
tree | 720b2670714e31cfc8ad6bcbcce8ad71a3b281b2 /doc/dialog.n | |
parent | 93960eef8cd7f021ae19600d7f3f7b5c636f60b5 (diff) | |
download | tk-eb6e4fa31efe3d084a859eb501c955b30c6d085d.zip tk-eb6e4fa31efe3d084a859eb501c955b30c6d085d.tar.gz tk-eb6e4fa31efe3d084a859eb501c955b30c6d085d.tar.bz2 |
Added example
Diffstat (limited to 'doc/dialog.n')
-rw-r--r-- | doc/dialog.n | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/dialog.n b/doc/dialog.n index 0e93888..269726a 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.3 2004/06/21 14:28:56 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 |