18.8 Repaint Protocol

18.8.1 Repaint Protocol Functions

queue-repaint [Generic Function]
Arguments:
sheet region
Summary:
Requests that a repaint event for the region region be placed in the input queue of the sheet sheet. A program that reads events out of the queue will be expected to call handle-event for the repaint region; the method for that generic function on repaint events will generally call repaint-sheet.

handle-repaint [Generic Function]
Arguments:
sheet region
Summary:
Implements repainting for a given sheet class. It may only be called on a sheet that has an associated medium. sheet and region are as for dispatch-repaint.

repaint-sheet [Generic Function]
Arguments:
sheet medium region
Summary:
Recursively causes repainting of the sheet sheet and any of its children that overlap the region region. medium is the medium to use for the repainting; if it is nil, handle-repaint will allocate a medium and associate it with the sheet. handle-repaint will call repaint-sheet on sheet, and then call handle-repaint on all of the children of sheet.


CLIM 2.0 User's Guide - OCT 1998

Generated with Harlequin WebMaker