diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-15 13:15:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-15 13:15:14 (GMT) |
commit | 418fba3d3d0db14e0f74b19da9c077903f7dbdcd (patch) | |
tree | 9228e48dd6be2573326e1506c130a0932a45ac66 /doc/scrollbar.n | |
parent | 405efb77f1e112a07406b05b1dfca6b8622cc9c9 (diff) | |
parent | 51da8fabbfe52df8ccaa273c48fcf127f35f79fd (diff) | |
download | tk-418fba3d3d0db14e0f74b19da9c077903f7dbdcd.zip tk-418fba3d3d0db14e0f74b19da9c077903f7dbdcd.tar.gz tk-418fba3d3d0db14e0f74b19da9c077903f7dbdcd.tar.bz2 |
Merge 8.7. Make test-cases on MacOS and X11 pass (win32 not tested yet)
Diffstat (limited to 'doc/scrollbar.n')
-rw-r--r-- | doc/scrollbar.n | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/scrollbar.n b/doc/scrollbar.n index 5a062ce..4f808f4 100644 --- a/doc/scrollbar.n +++ b/doc/scrollbar.n @@ -103,7 +103,7 @@ name is \fIpathName\fR. This command may be used to invoke various operations on the widget. It has the following general form: .CS -\fIpathName option \fR?\fIarg arg ...\fR? +\fIpathName option \fR?\fIarg ...\fR? .CE \fIOption\fR and the \fIarg\fRs determine the exact behavior of the command. The following @@ -223,7 +223,8 @@ it is slightly less than what fits in the window, so that there is a slight overlap between the old and new views. \fINumber\fR is either 1, which means the next page should become visible, or \-1, which means that the previous page should -become visible. +become visible. Fractional number are rounded away from 0, so +scrolling 0.001 pages has the same effect as scrolling 1 page. .TP \fIprefix \fBscroll \fInumber \fBunits\fR . @@ -232,7 +233,9 @@ The units are defined in whatever way makes sense for the widget, such as characters or lines in a text widget. \fINumber\fR is either 1, which means one unit should scroll off the top or left of the window, or \-1, which means that one unit -should scroll off the bottom or right of the window. +should scroll off the bottom or right of the window. Fractional +numbers are rounded away from 0, so scrolling 0.001 units has +the same effect as scrolling 1 unit. .SH "OLD COMMAND SYNTAX" .PP In versions of Tk before 4.0, the \fBset\fR and \fBget\fR widget |