summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorbll <brad.lanam.comp@gmail.com>2018-04-06 13:21:30 (GMT)
committerbll <brad.lanam.comp@gmail.com>2018-04-06 13:21:30 (GMT)
commit7a143ce42951b8d9b3befc636645227230a0001d (patch)
tree0161e918f65a836ff15b833404090a8bd9018c84 /doc
parentdd2e701208f2adc2550d6a40b270c31be83d7dc2 (diff)
downloadtk-7a143ce42951b8d9b3befc636645227230a0001d.zip
tk-7a143ce42951b8d9b3befc636645227230a0001d.tar.gz
tk-7a143ce42951b8d9b3befc636645227230a0001d.tar.bz2
Add styling options. draft 1: for review.
Diffstat (limited to 'doc')
-rw-r--r--doc/ttk_button.n27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/ttk_button.n b/doc/ttk_button.n
index 5f3e486..6410346 100644
--- a/doc/ttk_button.n
+++ b/doc/ttk_button.n
@@ -57,6 +57,33 @@ Invokes the command associated with the button.
.PP
\fBTtk::button\fR widgets support the \fBToolbutton\fR style in all standard
themes, which is useful for creating widgets for toolbars.
+.SH "STYLING OPTIONS"
+.PP
+The class name for a \fBttk::button\fP is \fBTButton\fP.
+.PP
+TButton styling options configurable with ttk::style for TButton are:
+.PP
+.in +.5i
+-background
+.br
+.in +.5i
+maps: active, disabled, readonly
+.in
+.br
+-foreground
+.br
+.in +.5i
+maps: active, disabled, readonly
+.in
+.br
+-font
+.br
+-bordercolor
+.br
+-lightcolor
+.br
+-darkcolor
+.in
.SH "SEE ALSO"
ttk::widget(n), button(n)
.SH "KEYWORDS"