summaryrefslogtreecommitdiffstats
path: root/doc/ttk_button.n
diff options
context:
space:
mode:
authorbll <brad.lanam.comp@gmail.com>2018-04-07 21:41:23 (GMT)
committerbll <brad.lanam.comp@gmail.com>2018-04-07 21:41:23 (GMT)
commit9f347dbb2d063634cf64fa8ba9148f9a9d94d1ff (patch)
tree72284348f9e428240c383b9abf9e820d1c36e111 /doc/ttk_button.n
parentb8e8b04cbc139156ee15356180185446b08d1cbb (diff)
downloadtk-9f347dbb2d063634cf64fa8ba9148f9a9d94d1ff.zip
tk-9f347dbb2d063634cf64fa8ba9148f9a9d94d1ff.tar.gz
tk-9f347dbb2d063634cf64fa8ba9148f9a9d94d1ff.tar.bz2
draft 4
Diffstat (limited to 'doc/ttk_button.n')
-rw-r--r--doc/ttk_button.n40
1 files changed, 28 insertions, 12 deletions
diff --git a/doc/ttk_button.n b/doc/ttk_button.n
index 7e7db11..2aaad18 100644
--- a/doc/ttk_button.n
+++ b/doc/ttk_button.n
@@ -61,28 +61,44 @@ 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.
+.PP
\fBTButton\fP styling options configurable with \fBttk::style\fP
are:
.PP
--background
-.RS
+\fB-anchor\fP
.br
-maps: active, disabled, readonly
-.RE
+\fB-background\fP
.br
--foreground
+\fB-bordercolor\fP
.br
-.RS
-maps: active, disabled, readonly
-.RE
+\fB-darkcolor\fP
+.br
+\fB-foreground\fP
+.br
+\fB-font\fP
.br
--font
+\fB-highlightcolor\fP
.br
--bordercolor
+\fB-highlightthickness\fP
.br
--lightcolor
+\fB-lightcolor\fP
.br
--darkcolor
+\fB-padding\fP
+.br
+\fB-relief\fP
+.br
+\fB-shiftrelief\fP
+.br
+.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
+.PP
+Some options are only available for specific themes.
.PP
See the \fBttk::style\fP manual page for information on how to configure
ttk styles.