diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-29 16:04:11 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2007-10-29 16:04:11 (GMT) |
commit | 447c5cc18c467353963659dc23a69436b253293c (patch) | |
tree | f1b13d0b63bdcb785dc2718534eb209b9796d50b /doc/dialog.n | |
parent | 5f3a1bfa8de8e91197ca501ca72204d29cd4ba4d (diff) | |
download | tk-447c5cc18c467353963659dc23a69436b253293c.zip tk-447c5cc18c467353963659dc23a69436b253293c.tar.gz tk-447c5cc18c467353963659dc23a69436b253293c.tar.bz2 |
Lots more GOOBE stuff. Now works with 'make html'!
Diffstat (limited to 'doc/dialog.n')
-rw-r--r-- | doc/dialog.n | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/dialog.n b/doc/dialog.n index fa908ef..7ed3d28 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.5 2007/10/26 20:13:23 dgp Exp $ +'\" RCS: @(#) $Id: dialog.n,v 1.6 2007/10/29 16:04:13 dkf Exp $ '\" .so man.macros .TH tk_dialog n 4.1 Tk "Tk Built-In Commands" @@ -41,7 +41,7 @@ If this is an empty string then no bitmap is displayed in the dialog. If this is an integer greater than or equal to zero, then it gives the index of the button that is to be the default button for the dialog (0 for the leftmost button, and so on). -If less than zero or an empty string then there won't be any default +If less than zero or an empty string then there will not be any default button. .TP \fIstring\fR @@ -55,14 +55,14 @@ mouse or by typing return to invoke the default button (if any). Then it returns the index of the selected button: 0 for the leftmost button, 1 for the button next to it, and so on. If the dialog's window is destroyed before the user selects one -of the buttons, then -1 is returned. +of the buttons, then \-1 is returned. .PP 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?" \\ +set reply [\fBtk_dialog\fR .foo "The Title" "Do you want to say yes?" \e questhead 0 Yes No "I'm not sure"] .CE |