summaryrefslogtreecommitdiffstats
path: root/doc/ttk_button.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ttk_button.n')
-rw-r--r--doc/ttk_button.n20
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/ttk_button.n b/doc/ttk_button.n
index 396360c..ce1771b 100644
--- a/doc/ttk_button.n
+++ b/doc/ttk_button.n
@@ -1,22 +1,30 @@
'\"
'\" 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_button.n,v 1.3 2006/12/13 23:04:32 hobbs Exp $
+'\"
.so man.macros
.TH ttk_button n 8.5 Tk "Tk Themed Widget"
.BS
+.\" Use _ instead of :: as the name becomes a filename on install
.SH NAME
-ttk::button \- Widget that issues a command when pressed
+ttk_button \- Widget that issues a command when pressed
.SH SYNOPSIS
\fBttk::button\fR \fIpathName \fR?\fIoptions\fR?
.BE
+
.SH DESCRIPTION
-A \fBbutton\fR widget displays a textual label and/or image,
+A \fBttk::button\fR widget displays a textual label and/or image,
and evaluates a command when pressed.
.SO
\-class \-compound \-cursor \-image
\-state \-style \-takefocus \-text
\-textvariable \-underline \-width
.SE
+
.SH "WIDGET-SPECIFIC OPTIONS"
.OP \-command command Command
A script to evaluate when the widget is invoked.
@@ -31,7 +39,6 @@ The default is \fBnormal\fR.
.br
Depending on the theme, the default button may be displayed
with an extra highlight ring, or with a different border color.
-See also: \fIkeynav(n)\fR.
.OP \-width width Width
If greater than zero, specifies how much space, in character widths,
to allocate for the text label.
@@ -56,10 +63,10 @@ Invokes the command associated with the button.
.TP
\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
.TP
-\fIpathName \fBinstate \fIstatespec\fR ?\fIscript\fR?
+\fIpathName \fBinstate \fIstateSpec\fR ?\fIscript\fR?
.TP
\fIpathName \fBstate\fR ?\fIstateSpec\fR?
-See \fIwidget(n)\fR
+See \fIttk_widget(n)\fR
.SH "COMPATIBILITY OPTIONS"
.OP \-state state State
@@ -70,6 +77,7 @@ widget state, but the \fBstate\fR widget command does
not affect the state option.
.SH "SEE ALSO"
-widget(n), keynav(n)
+ttk_widget(n), button(n)
+
.SH "KEYWORDS"
widget, button, default, command