scroll in canvas%
Sets the values of automatic scrollbars. (This method has no effect on manual scrollbars.)
(-> voidsenda-canvasscrollh-valuev-value)
h-value: real number in [0.0, 1.0] or#f
v-value: real number in [0.0, 1.0] or#fIf either argument is
#f, the scrollbar value is not changed in the corresponding direction.The
h-valueandv-valuearguments each specify a fraction of the scrollbar's movement. A0.0value sets the scrollbar to its left/top, while a1.0value sets the scrollbar to its right/bottom. A0.5value sets the scrollbar to its middle. In general, if the canvas's virtual size isv, its client size isc, and(>, then scrolling tovc)psets the view start to(floor (*.p(-vc)))See also
init-auto-scrollbarsandget-view-start.