get-scroll-range in canvas%
Gets the current maximum 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]
send a-canvas get-scroll-range which)
which : symbol in '(horizontal vertical)
The which argument is either 'horizontal or
'vertical, indicating whether to get the maximum value of the
horizontal or vertical scrollbar, respectively.