summaryrefslogtreecommitdiffstats
path: root/doc/ttk_widget.n
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-12-13 23:04:32 (GMT)
committerhobbs <hobbs>2006-12-13 23:04:32 (GMT)
commitd4a63ee0259256e40eba77a360b9902afc472bc4 (patch)
tree128697b7c80828f4a3d31417bb432bc8eec88b00 /doc/ttk_widget.n
parent318393c4af319ed15ef4a5d6e3f5b12259fe695d (diff)
downloadtk-d4a63ee0259256e40eba77a360b9902afc472bc4.zip
tk-d4a63ee0259256e40eba77a360b9902afc472bc4.tar.gz
tk-d4a63ee0259256e40eba77a360b9902afc472bc4.tar.bz2
* unix/Makefile.in (install-doc): intentionally skip ttk_dialog.n
installation (not for public consumption) * doc/scrollbar.n, doc/button.n, doc/checkbutton.n: * doc/entry.n, doc/frame.n, doc/label.n, doc/labelframe.n: * doc/menu.n, doc/menubutton.n, doc/panedwindow.n: * doc/radiobutton.n, doc/scrollbar.n, doc/ttk_*: revamp ttk docs to use consist nroff format (not 100% consistent with classic widget docs). Add more man page cross-linking "SEE ALSO".
Diffstat (limited to 'doc/ttk_widget.n')
-rw-r--r--doc/ttk_widget.n18
1 files changed, 14 insertions, 4 deletions
diff --git a/doc/ttk_widget.n b/doc/ttk_widget.n
index da22343..1c70d67 100644
--- a/doc/ttk_widget.n
+++ b/doc/ttk_widget.n
@@ -1,15 +1,21 @@
'\"
'\" Copyright (c) 2004 Joe English
-'\" $Id: ttk_widget.n,v 1.2 2006/11/15 13:29:17 dkf Exp $
+'\"
+'\" 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.3 2006/12/13 23:04:33 hobbs Exp $
'\"
.so man.macros
.TH ttk_widget n 8.5 Tk "Tk Themed Widget"
.BS
.SH NAME
-widget \- Standard options and commands supported by Tk themed widgets
+ttk_widget \- Standard options and commands supported by Tk themed widgets
.BE
+
.SH DESCRIPTION
This manual describes common widget options and commands.
+
.SH "STANDARD OPTIONS"
The following options are supported by all Tk themed widgets:
.OP \-class undefined undefined
@@ -35,6 +41,7 @@ or the empty string.
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
@@ -63,6 +70,7 @@ then no command is be executed.
.OP \-yscrollcommand yScrollCommand ScrollCommand
A command prefix, used to communicate with vertical scrollbars.
See the description of \fB-xscrollcommand\fR above for details.
+
.SH "LABEL OPTIONS"
The following options are supported by labels, buttons,
and other button-like widgets:
@@ -75,8 +83,7 @@ in place of the \fB-text\fR resource.
.OP \-underline underline Underline
If set, specifies the integer index (0-based) of a character to underline
in the text string.
-The underlined character is used for mnemonic activation
-(see \fIkeynav(n)\fR).
+The underlined character is used for mnemonic activation.
.OP \-image image Image
Specifies an image to display.
This is a list of 1 or more elements.
@@ -205,6 +212,7 @@ entry widget value failed validation.)
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
.CS
set b [ttk::button .b]
@@ -218,7 +226,9 @@ $b instate {pressed !disabled} { .b invoke }
# Reenable widget:
$b state !disabled
.CE
+
.SH "SEE ALSO"
ttk_intro(n), style(n)
+
.SH KEYWORDS
state, configure, option