Returns the current scroll position of a pane such as
A pane with built-in scrolling.
A keyword, either
An integer or
The generic function
get-scroll-position returns the scroll position of the pane
in the given
should be an instance of a pane class that has built-in scrolling. That is, the scrolling is implemented by the underlying widget. Examples include list-panel, display-pane and tree-view.
In general, the units in the returned value
are unspecified, but they can be passed to the generic function scroll with
:move to restore the position.
For a list-panel, the vertical units are items.
is not displayed on the screen, for example if
get-scroll-position is called after
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017