diff options
author | dkf <dkf@noemail.net> | 2008-06-30 22:56:59 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2008-06-30 22:56:59 (GMT) |
commit | 8d46f1ba64cc754a2853c5253744215ef1f2b3c0 (patch) | |
tree | d6714c53bb2368a4c8befd4c7dc0085d88b31a15 /doc/button.n | |
parent | 18641c7826bca127501bd5fc410313ca66544e86 (diff) | |
download | tk-8d46f1ba64cc754a2853c5253744215ef1f2b3c0.zip tk-8d46f1ba64cc754a2853c5253744215ef1f2b3c0.tar.gz tk-8d46f1ba64cc754a2853c5253744215ef1f2b3c0.tar.bz2 |
Minor doc updates (removing out of date changebars, improving typedef formatting,
etc.)
FossilOrigin-Name: 3354fd63452f0b436d3a487f1e1f0fecf750cee1
Diffstat (limited to 'doc/button.n')
-rw-r--r-- | doc/button.n | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/button.n b/doc/button.n index 1a7d2ec..ca12ea2 100644 --- a/doc/button.n +++ b/doc/button.n @@ -1,3 +1,4 @@ +'\" -*- nroff -*- '\" '\" Copyright (c) 1990-1994 The Regents of the University of California. '\" Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -5,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: button.n,v 1.17 2008/05/11 00:12:02 patthoyts Exp $ +'\" RCS: @(#) $Id: button.n,v 1.18 2008/06/30 22:57:02 dkf Exp $ '\" .so man.macros .TH button n 4.4 Tk "Tk Built-In Commands" @@ -77,7 +78,6 @@ If the width is negative then this specifies a minimum width. If this option is not specified, the button's desired width is computed from the size of the image or bitmap or text being displayed in it. .BE - .SH DESCRIPTION .PP The \fBbutton\fR command creates a new window (given by the @@ -105,7 +105,6 @@ and it can be made to flash. When a user invokes the button (by pressing mouse button 1 with the cursor over the button), then the Tcl command specified in the \fB\-command\fR option is invoked. - .SH "WIDGET COMMAND" .PP The \fBbutton\fR command creates a new Tcl command whose @@ -151,7 +150,6 @@ Invoke the Tcl command associated with the button, if there is one. The return value is the return value from the Tcl command, or an empty string if there is no command associated with the button. This command is ignored if the button's state is \fBdisabled\fR. - .SH "DEFAULT BINDINGS" .PP Tk automatically creates class bindings for buttons that give them @@ -178,8 +176,8 @@ actions occur: the button is completely non-responsive. .PP The behavior of buttons can be changed by defining new bindings for individual widgets or by redefining the class bindings. - .SH EXAMPLES +.PP This is the classic Tk .QW "Hello, World!" demonstration: |