FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

scroll

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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version