diff options
Diffstat (limited to 'doc/checkbutton.n')
-rw-r--r-- | doc/checkbutton.n | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/checkbutton.n b/doc/checkbutton.n index c22bbcb..1383513 100644 --- a/doc/checkbutton.n +++ b/doc/checkbutton.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: checkbutton.n,v 1.12 2006/12/13 23:04:32 hobbs Exp $ +'\" RCS: @(#) $Id: checkbutton.n,v 1.13 2007/08/28 15:16:11 dkf Exp $ '\" .so man.macros .TH checkbutton n 4.4 Tk "Tk Built-In Commands" @@ -262,8 +262,19 @@ actions occur: the checkbutton is completely non-responsive. The behavior of checkbuttons can be changed by defining new bindings for individual widgets or by redefining the class bindings. +.SH EXAMPLE +This example shows a group of uncoupled checkbuttons. +.PP +.CS + labelframe .lbl -text "Steps:" + \fBcheckbutton\fR .c1 -text Lights -variable lights + \fBcheckbutton\fR .c2 -text Cameras -variable cameras + \fBcheckbutton\fR .c3 -text Action! -variable action + pack .c1 .c2 .c3 -in .lbl + pack .lbl +.CE + .SH "SEE ALSO" button(n), options(n), radiobutton(n), ttk_checkbutton(n) - .SH KEYWORDS checkbutton, widget |