summaryrefslogtreecommitdiffstats
path: root/doc/checkbutton.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-08-28 15:16:10 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-08-28 15:16:10 (GMT)
commit5397491a300effb666df74fee45b7ce334350586 (patch)
tree949a47d61ae43ae08199dc36040c6697e50fcba0 /doc/checkbutton.n
parent9fef5d810024d4e069a4792461495a17eda7d956 (diff)
downloadtk-5397491a300effb666df74fee45b7ce334350586.zip
tk-5397491a300effb666df74fee45b7ce334350586.tar.gz
tk-5397491a300effb666df74fee45b7ce334350586.tar.bz2
Assorted documentation improvements.
Diffstat (limited to 'doc/checkbutton.n')
-rw-r--r--doc/checkbutton.n15
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