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

original commit: f2d244cb1fd24cf4fc99a49f1d8f5d15f6e9fb43
This commit is contained in:
Robby Findler 2012-02-12 20:23:31 -06:00
parent 233cfe5643
commit 8af50844a0

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