diff options
author | fvogel <fvogelnew1@free.fr> | 2019-05-05 19:51:53 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-05-05 19:51:53 (GMT) |
commit | c4bbfb925fae272f474e5c33bf19fd2107821838 (patch) | |
tree | 1fd8e267129b351a7341f8548a8f1a21a3835a1d | |
parent | c8823f34cd8f58ee9fea240502314f1c37acfeb8 (diff) | |
parent | 01461b552198a9b080cf21446514ed0bc061419f (diff) | |
download | tk-c4bbfb925fae272f474e5c33bf19fd2107821838.zip tk-c4bbfb925fae272f474e5c33bf19fd2107821838.tar.gz tk-c4bbfb925fae272f474e5c33bf19fd2107821838.tar.bz2 |
Fix [1ff193f1e3]: improve documentation for ttk::scrollbar
-rw-r--r-- | doc/ttk_combobox.n | 2 | ||||
-rw-r--r-- | doc/ttk_scrollbar.n | 16 |
2 files changed, 13 insertions, 5 deletions
diff --git a/doc/ttk_combobox.n b/doc/ttk_combobox.n index 37acf19..24bf8d9 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 |