diff options
author | fvogel <fvogelnew1@free.fr> | 2019-08-23 13:51:43 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-08-23 13:51:43 (GMT) |
commit | a3e1608b7330f108496c85f6b07afbce6288abdf (patch) | |
tree | 13d7a092c15c287ba244d006a62b1f929238e4ad /doc | |
parent | e5845ff546364f25ae5975f00bf7e2756f4d692d (diff) | |
download | tk-a3e1608b7330f108496c85f6b07afbce6288abdf.zip tk-a3e1608b7330f108496c85f6b07afbce6288abdf.tar.gz tk-a3e1608b7330f108496c85f6b07afbce6288abdf.tar.bz2 |
Fix [cb077bea5b]: ttk::progressbar: configuring -value is ignored when -variable is set
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ttk_progressbar.n | 4 | ||||
-rw-r--r-- | doc/ttk_scale.n | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/ttk_progressbar.n b/doc/ttk_progressbar.n index 1687123..5d6316a 100644 --- a/doc/ttk_progressbar.n +++ b/doc/ttk_progressbar.n @@ -49,9 +49,11 @@ In \fIindeterminate\fR mode, it is interpreted modulo \fB\-maximum\fR; that is, the progress bar completes one .QW cycle when the \fB\-value\fR increases by \fB\-maximum\fR. +If \fB\-variable\fR is set to an existing variable, specifying \fB\-value\fR +has no effect (the variable value takes precedence). .OP \-variable variable Variable The name of a global Tcl variable which is linked to the \fB\-value\fR. -If specified, the \fB\-value\fR of the progress bar is +If specified to an existing variable, the \fB\-value\fR of the progress bar is automatically set to the value of the variable whenever the latter is modified. .SH "WIDGET COMMAND" diff --git a/doc/ttk_scale.n b/doc/ttk_scale.n index f8f5072..aa851b9 100644 --- a/doc/ttk_scale.n +++ b/doc/ttk_scale.n @@ -42,6 +42,8 @@ Specifies a real value corresponding to the right or bottom end of the scale. This value may be either less than or greater than the \fB\-from\fR option. .OP \-value value Value Specifies the current floating-point value of the variable. +If \fB\-variable\fR is set to an existing variable, specifying \fB\-value\fR +has no effect (the variable value takes precedence). .OP \-variable variable Variable Specifies the name of a global variable to link to the scale. Whenever the value of the variable changes, the scale will update to reflect this value. |