diff options
author | dgp <dgp@users.sourceforge.net> | 2007-11-01 16:37:09 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-11-01 16:37:09 (GMT) |
commit | 0241933d2fcf1a09145b33048c52e40988a8bfa9 (patch) | |
tree | cee00028b46ebd747b575cdf9398299f2c8393c8 /doc/messageBox.n | |
parent | 08a5977be6d47dbe4b3fa1bac892353f66dd2990 (diff) | |
download | tk-0241933d2fcf1a09145b33048c52e40988a8bfa9.zip tk-0241933d2fcf1a09145b33048c52e40988a8bfa9.tar.gz tk-0241933d2fcf1a09145b33048c52e40988a8bfa9.tar.bz2 |
merge updates from HEAD
Diffstat (limited to 'doc/messageBox.n')
-rw-r--r-- | doc/messageBox.n | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/messageBox.n b/doc/messageBox.n index 78849fa..fc191c5 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.8 2004/10/28 10:22:51 dkf Exp $ +'\" RCS: @(#) $Id: messageBox.n,v 1.8.2.1 2007/11/01 16:37:15 dgp Exp $ '\" .so man.macros .TH tk_messageBox n 4.2 Tk "Tk Built-In Commands" @@ -29,7 +29,10 @@ The following option-value pairs are supported: .TP \fB\-default\fR \fIname\fR \fIName\fR gives the symbolic name of the default button for -this message window ('ok', 'cancel', and so on). See \fB\-type\fR +this message window ( +.QW ok , +.QW cancel , +and so on). See \fB\-type\fR for a list of the symbolic names. If this option is not specified, the first button in the dialog will be made the default. .TP @@ -89,7 +92,7 @@ and \fBcancel\fR. set answer [\fBtk_messageBox\fR \-message "Really quit?" \e \-icon question \-type yesno \e \-detail "Select \e"Yes\e" to make the application exit"] -switch -- $answer { +switch \-\- $answer { yes exit no {\fBtk_messageBox\fR \-message "I know you like this application!" \e \-type ok} |