summaryrefslogtreecommitdiffstats
path: root/doc/ttk_notebook.n
diff options
context:
space:
mode:
authorbll <brad.lanam.comp@gmail.com>2018-04-07 22:31:27 (GMT)
committerbll <brad.lanam.comp@gmail.com>2018-04-07 22:31:27 (GMT)
commita063dba9f5ccd8490ec5c1e1f14745b2f6ba22fa (patch)
treeea2d3d5868944e42bfa6d39c0f720066da132434 /doc/ttk_notebook.n
parent9f347dbb2d063634cf64fa8ba9148f9a9d94d1ff (diff)
downloadtk-a063dba9f5ccd8490ec5c1e1f14745b2f6ba22fa.zip
tk-a063dba9f5ccd8490ec5c1e1f14745b2f6ba22fa.tar.gz
tk-a063dba9f5ccd8490ec5c1e1f14745b2f6ba22fa.tar.bz2
draft 5: all but treeview should be complete.
Diffstat (limited to 'doc/ttk_notebook.n')
-rw-r--r--doc/ttk_notebook.n47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/ttk_notebook.n b/doc/ttk_notebook.n
index e2ae137..2d6cf4b 100644
--- a/doc/ttk_notebook.n
+++ b/doc/ttk_notebook.n
@@ -208,6 +208,53 @@ pack [\fBttk::notebook\fR .nb]
\&.nb select .nb.f2
ttk::notebook::enableTraversal .nb
.CE
+.SH "STYLING OPTIONS"
+.PP
+The class name for a \fBttk::notebook\fP is \fBTNotebook\fP. The tab has
+a class name of \fBTNotebook.Tab\fP
+.PP
+Dynamic states: active, disabled, selected
+.PP
+\fBTNotebook\fP styling options configurable with \fBttk::style\fP
+are:
+.PP
+\fB-background\fP
+.br
+\fB-darkcolor\fP
+.br
+\fB-expand\fP
+.br
+.RS
+-expand is a padding value.
+.RE
+.br
+\fB-lightcolor\fP
+.br
+\fB-foreground\fP
+.br
+\fB-padding\fP
+.br
+\fB-tabmargins\fP
+.br
+\fB-tabposition\fP
+.PP
+\fBTNotebook.Tab\fP styling options configurable with \fBttk::style\fP
+are:
+.PP
+\fB-background\fP
+.br
+\fB-bordercolor\fP
+.br
+\fB-font\fP
+.br
+\fB-foreground\fP
+.br
+\fB-padding\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.
.SH "SEE ALSO"
ttk::widget(n), grid(n)
.SH "KEYWORDS"