clarify auto scrollbars & on-event interaction (ie, they don't interact)

This commit is contained in:
Robby Findler 2012-02-12 20:23:31 -06:00
parent 760ec887b9
commit f2d244cb1f

View File

@ -190,6 +190,12 @@ With automatic scrollbars, the programmer specifies the desired
scrollbars are not automatically hidden if they are unneeded; see scrollbars are not automatically hidden if they are unneeded; see
@method[canvas% show-scrollbars]. @method[canvas% show-scrollbars].
The coordinates for mouse
events (passed to @method[canvas<%> on-event]) are not adjusted to
account for the position of the scrollbar;
use the @method[canvas% get-view-start] method to find suitable
offsets.
See also See also
@method[canvas% init-manual-scrollbars] for information about manual scrollbars. The horizontal and vertical @method[canvas% init-manual-scrollbars] for information about manual scrollbars. The horizontal and vertical
scrollbars are always either both manual or both automatic, but they scrollbars are always either both manual or both automatic, but they