summaryrefslogtreecommitdiffstats
path: root/doc/ttk_widget.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-06-30 22:57:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-06-30 22:57:00 (GMT)
commitd6e7f6b3743e98803d7e8c7debc709c072c6e6a5 (patch)
treed6714c53bb2368a4c8befd4c7dc0085d88b31a15 /doc/ttk_widget.n
parent8ab3b0fffbe37701d924b4da873e6f231a843e5f (diff)
downloadtk-d6e7f6b3743e98803d7e8c7debc709c072c6e6a5.zip
tk-d6e7f6b3743e98803d7e8c7debc709c072c6e6a5.tar.gz
tk-d6e7f6b3743e98803d7e8c7debc709c072c6e6a5.tar.bz2
Minor doc updates (removing out of date changebars, improving typedef formatting,
etc.)
Diffstat (limited to 'doc/ttk_widget.n')
-rw-r--r--doc/ttk_widget.n10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/ttk_widget.n b/doc/ttk_widget.n
index 897cfbd..545f3b8 100644
--- a/doc/ttk_widget.n
+++ b/doc/ttk_widget.n
@@ -1,10 +1,11 @@
+'\" -*- nroff -*-
'\"
'\" Copyright (c) 2004 Joe English
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: ttk_widget.n,v 1.14 2008/05/09 18:35:00 patthoyts Exp $
+'\" RCS: @(#) $Id: ttk_widget.n,v 1.15 2008/06/30 22:57:03 dkf Exp $
'\"
.so man.macros
.TH ttk::widget n 8.5 Tk "Tk Themed Widget"
@@ -13,6 +14,7 @@
ttk::widget \- Standard options and commands supported by Tk themed widgets
.BE
.SH DESCRIPTION
+.PP
This manual describes common widget options and commands.
.SH "STANDARD OPTIONS"
The following options are supported by all Tk themed widgets:
@@ -40,6 +42,7 @@ See \fIoptions(n)\fR in the Tk reference manual for the full description.
.OP \-style style Style
May be used to specify a custom widget style.
.SH "SCROLLABLE WIDGET OPTIONS"
+.PP
The following options are supported by widgets that
are controllable by a scrollbar.
See \fIscrollbar(n)\fR for more information
@@ -71,6 +74,7 @@ then no command will be executed.
A command prefix, used to communicate with vertical scrollbars.
See the description of \fB\-xscrollcommand\fR above for details.
.SH "LABEL OPTIONS"
+.PP
The following options are supported by labels, buttons,
and other button-like widgets:
.OP \-text text Text
@@ -123,8 +127,8 @@ This is a write-only option:
setting it changes the widget state,
but the \fBstate\fR widget command
does not affect the \fB\-state\fR option.
-
.SH COMMANDS
+.PP
.TP
\fIpathName \fBcget\fR \fIoption\fR
Returns the current value of the configuration option given
@@ -176,6 +180,7 @@ If \fIstateSpec\fR is not specified,
returns a list of the currently-enabled state flags.
.RE
.SH "WIDGET STATES"
+.PP
The widget state is a bitmap of independent state flags.
Widget state flags include:
.TP
@@ -235,6 +240,7 @@ A \fIstate specification\fR or \fIstateSpec\fR is a list
of state names, optionally prefixed with an exclamation point (!)
indicating that the bit is off.
.SH EXAMPLES
+.PP
.CS
set b [ttk::button .b]