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.