get-scroll-pos in canvas%
Gets the current value of a manual scrollbar. The result is always
0 if the scrollbar is not active or it is automatic.
See also
init-manual-scrollbars.
(-> exact integer in [0, 10000]senda-canvasget-scroll-poswhich)
which: symbol in'(horizontal vertical)The
whichargument is either'horizontalor'vertical, indicating that the value of the horizontal or vertical scrollbar should be returned, respectively.