scan method to implement scanning of the
The first call,
), records the x and y coordinates and
the current Canvas view. The second call,
), causes the view in the Canvas to be
adjusted by 10 times the difference between these coordinates and the
previous ones sent with
scanMark. This makes the
Canvas look as if it were moved at high speed.
The Canvas widget can be scrolled both horizontally and vertically.
used to communicate with the Scrollbars. See Chapter 6 for more information on how these methods