| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: window offset &key delay-redraw
Scrolls window by offset
which must be a position object (see make-position) indicating the
amount to scroll by in the x and y directions. Redrawing is delayed if
the delay-redraw keyword argument is
true. Returns the actual amount of scrolling achieved as a position,
or nil
if no scrolling was done. See also
scroll-to.
This function is called automatically by user-scroll when the user clicks on the
scrollbar of a regular window or a lisp-widget-window
(but not for an os-widget-window
, which handles its
scrolling internally).
Keystrokes do not automatically scroll windows by default. Keyboard scrolling can be set up by writing a virtual-key-down method that calls this function, or more simply by using the handle-scrolling-keys property.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |