Delays the updating of specified panes until all state changes have been performed.
capi
with-atomic-redisplay (&rest panes) &body body => result*
panes⇩ |
Panes. |
body⇩ |
Lisp forms. |
result* |
Multiple values. |
The macro with-atomic-redisplay
delays the updating of panes and their descendants until the exit from the with-atomic-redisplay
macro.
The forms in body are evaluated as in implicit progn and the value of the last form is returned.
Most CAPI pane slot writers update the visual appearance of the pane at the point that their state changes, but it is sometimes necessary to cause all updates to the pane to be left until after they are all completed. The macro with-atomic-redisplay
defers all visible changes to the state of each pane in panes until the end of the scope of the macro.
with-atomic-redisplay
does not cause Graphics Ports drawing operations on panes to be deferred.with-atomic-redisplay
can be used recursively. The actual display happens when exiting the outermost invocation.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27