summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-05-05 19:51:40 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-05-05 19:51:40 (GMT)
commit01461b552198a9b080cf21446514ed0bc061419f (patch)
tree7d107e0a97a5f87d4416cb17a416a2378495855d
parent2ec7162d109eca92bb2ef89add0826b71e241e95 (diff)
parent5def4ba26dcbe1563f4bf4a29a68472414f5cbcd (diff)
downloadtk-01461b552198a9b080cf21446514ed0bc061419f.zip
tk-01461b552198a9b080cf21446514ed0bc061419f.tar.gz
tk-01461b552198a9b080cf21446514ed0bc061419f.tar.bz2
Fix [1ff193f1e3]: improve documentation for ttk::scrollbar
-rw-r--r--doc/ttk_combobox.n2
-rw-r--r--doc/ttk_scrollbar.n16
2 files changed, 13 insertions, 5 deletions
diff --git a/doc/ttk_combobox.n b/doc/ttk_combobox.n
index 9c01409..b8fd2bc 100644
--- a/doc/ttk_combobox.n
+++ b/doc/ttk_combobox.n
@@ -124,6 +124,8 @@ are:
.PP
\fB\-arrowcolor\fP \fIcolor\fP
.br
+\fB\-arrowsize\fP \fIamount\fP
+.br
\fB\-background\fP \fIcolor\fP
.br
\fB\-bordercolor\fP \fIcolor\fP
diff --git a/doc/ttk_scrollbar.n b/doc/ttk_scrollbar.n
index 49681a1..bd80760 100644
--- a/doc/ttk_scrollbar.n
+++ b/doc/ttk_scrollbar.n
@@ -76,7 +76,7 @@ Modify or query the widget state; see \fIttk::widget(n)\fR.
.SH "INTERNAL COMMANDS"
.PP
The following widget commands are used internally
-by the TScrollbar widget class bindings.
+by the \fBTScrollbar\fP widget class bindings.
.TP
\fIpathName \fBdelta \fIdeltaX deltaY\fR
Returns a real number indicating the fractional change in
@@ -153,6 +153,7 @@ grid $f.vsb \-row 0 \-column 1 \-sticky nsew
grid $f.hsb \-row 1 \-column 0 \-sticky nsew
grid columnconfigure $f 0 \-weight 1
grid rowconfigure $f 0 \-weight 1
+pack $f
.CE
.SH "STYLING OPTIONS"
.PP
@@ -160,20 +161,25 @@ The class name for a \fBttk::scrollbar\fP is \fBTScrollbar\fP.
.PP
Dynamic states: \fBactive\fP, \fBdisabled\fP.
.PP
-\fBTScrollbar\fP styling options configurable with \fBttk::style\fP
-are:
+\fBTScrollbar\fP (or more specifically \fBVertical.TScrollbar\fP and
+\fBHorizontal.TScrollbar\fP) styling options that are configurable with
+\fBttk::style\fP are:
.PP
\fB\-arrowcolor\fP \fIcolor\fP
.br
+\fB\-arrowsize\fP \fIamount\fP
+.br
\fB\-background\fP \fIcolor\fP
.br
\fB\-bordercolor\fP \fIcolor\fP
.br
-\fB\-darkcolor\fP \fIcolor\fP
+\fB\-darkcolor\fP \fIcolor\fP (color of the dark part of the 3D relief)
.br
\fB\-foreground\fP \fIcolor\fP
.br
-\fB\-lightcolor\fP \fIcolor\fP
+\fB\-gripcount\fP \fIcount\fP (number of lines on the thumb)
+.br
+\fB\-lightcolor\fP \fIcolor\fP (color of the light part of the 3D relief)
.br
\fB\-troughcolor\fP \fIcolor\fP
.PP