The repaint protocol is the mechanism whereby a program keeps the display up-to-date, reflecting the results of both synchronous and asynchronous events. The repaint mechanism may be invoked by user programs each time through their top-level command loop. It may also be invoked directly or indirectly as a result of events received from the display server host. For example, if a window is on display with another window overlapping it, and the second window is buried, a "damage notification" event may be sent by the server; CLIM would cause a repaint to be executed for the newly-exposed region. [annotate]
Requests that the repaint event repaint-event 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 sheet using the repaint region gotten from repaint-event. [annotate] |
Implements repainting for a given sheet class. sheet is the sheet to repaint and region is the region to repaint. [annotate] |
Recursively causes repainting of the sheet sheet and any of its descendants that overlap the region region. [annotate] All CLIM implementations must support repainting for regions that are rectangles or region sets composed entirely of rectangles. [annotate] |
The following classes implement the standard repaint protocols. None of the three following classes is instantiable. [annotate]
Defines a dispatch-repaint method that calls queue-repaint. [annotate] |
Defines a dispatch-repaint method that calls handle-repaint. [annotate] |
Defines a dispatch-repaint method that calls queue-repaint, and a method on repaint-sheet that does nothing. This means that its children will be recursively repainted when the repaint event is handled. [annotate] |