From 8af50844a00afde9432be612e1b042242432fa9c Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Sun, 12 Feb 2012 20:23:31 -0600 Subject: [PATCH] clarify auto scrollbars & on-event interaction (ie, they don't interact) original commit: f2d244cb1fd24cf4fc99a49f1d8f5d15f6e9fb43 --- collects/scribblings/gui/canvas-class.scrbl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/collects/scribblings/gui/canvas-class.scrbl b/collects/scribblings/gui/canvas-class.scrbl index 1af63abe..cdc3edf1 100644 --- a/collects/scribblings/gui/canvas-class.scrbl +++ b/collects/scribblings/gui/canvas-class.scrbl @@ -188,7 +188,13 @@ With automatic scrollbars, the programmer specifies the desired virtual size of the canvas, and the scrollbars are automatically handled to allow the user to scroll around the virtual area. The 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 @method[canvas% init-manual-scrollbars] for information about manual scrollbars. The horizontal and vertical