summaryrefslogtreecommitdiffstats
path: root/doc/ttk_button.n
diff options
context:
space:
mode:
authorbll <brad.lanam.comp@gmail.com>2018-04-09 01:15:15 (GMT)
committerbll <brad.lanam.comp@gmail.com>2018-04-09 01:15:15 (GMT)
commita785520e6f54edc75390fc68e1359ceec2db2764 (patch)
treeec9341e95ea188cd3ff20a94c5220d1d58135c25 /doc/ttk_button.n
parent29d2c6e66dfc2727cebc57211d3933b9b23f2395 (diff)
downloadtk-a785520e6f54edc75390fc68e1359ceec2db2764.zip
tk-a785520e6f54edc75390fc68e1359ceec2db2764.tar.gz
tk-a785520e6f54edc75390fc68e1359ceec2db2764.tar.bz2
Fix ordering errors and display fonts.
Add parameter text to all options. Verify ttk::treeview styling options. Update ttk::combobox styling doc.
Diffstat (limited to 'doc/ttk_button.n')
-rw-r--r--doc/ttk_button.n30
1 files changed, 14 insertions, 16 deletions
diff --git a/doc/ttk_button.n b/doc/ttk_button.n
index 2aaad18..6d81ff5 100644
--- a/doc/ttk_button.n
+++ b/doc/ttk_button.n
@@ -61,42 +61,40 @@ themes, which is useful for creating widgets for toolbars.
.PP
The class name for a \fBttk::button\fP is \fBTButton\fP.
.PP
-Dynamic states: active, disabled, pressed, readonly.
+Dynamic states: \fBactive\fP, \fBdisabled\fP, \fBpressed\fP, \fBreadonly\fP.
.PP
\fBTButton\fP styling options configurable with \fBttk::style\fP
are:
.PP
-\fB-anchor\fP
+\fB-anchor\fP \fIanchor\fP
.br
-\fB-background\fP
+\fB-background\fP \fIcolor\fP
.br
-\fB-bordercolor\fP
+\fB-bordercolor\fP \fIcolor\fP
.br
-\fB-darkcolor\fP
+\fB-darkcolor\fP \fIcolor\fP
.br
-\fB-foreground\fP
+\fB-foreground\fP \fIcolor\fP
.br
-\fB-font\fP
+\fB-font\fP \fIfont\fP
.br
-\fB-highlightcolor\fP
+\fB-highlightcolor\fP \fIcolor\fP
.br
-\fB-highlightthickness\fP
+\fB-highlightthickness\fP \fIamount\fP
.br
-\fB-lightcolor\fP
+\fB-lightcolor\fP \fIcolor\fP
.br
-\fB-padding\fP
+\fB-padding\fP \fIpadding\fP
.br
-\fB-relief\fP
-.br
-\fB-shiftrelief\fP
+\fB-relief\fP \fIrelief\fP
.br
+\fB-shiftrelief\fP \fIamount\fP
.RS
-shiftrelief specifies how far the button contents are
shifted down and right in the \fIpressed\fP state.
This action provides additional skeumorphic feedback.
.RE
-.br
-\fB-width\fP
+\fB-width\fP \fIamount\fP
.PP
Some options are only available for specific themes.
.PP