All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

with-atomic-redisplay

Macro
Summary

Delays the updating of specified panes until all state changes have been performed.

Package

capi

Signature

with-atomic-redisplay (&rest panes ) &body body

Description

The macro with-atomic-redisplay delays the updating of the specified panes and their descendants until the exit from the with-atomic-redisplay macro.

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.

Notes
  1. with-atomic-redisplay does not cause Graphics Ports drawing operations to the panes to be deferred.
  2. with-atomic-redisplay can be used recursively. The actual display happens when exiting the outermost invocation.
See also

display
simple-pane


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex