redisplay-event

Generic Function

Package: common-graphics

Arguments: drawable stream

Called whenever a drawable control needs to be redrawn, such as when it is uncovered. drawable is the drawable control itself. stream is the stream on which to draw.

If the use-bitmap-stream property of the control is true, then stream will be the bitmap-stream of the control; otherwise stream will be the visible window of the control.

If use-bitmap-stream is true, then redisplay-event will be called only when the application explicitly calls update-drawable on the drawable; otherwise whatever is currently drawn on the bitmap-stream is used to refresh the visible window as needed.

The default redisplay-event method essentially just calls the on-redisplay handler of the drawable if it has one. The on-redisplay handler is the more typical place to place custom drawing code.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.