setPlayOnSwap

Help Contents Graphics Window Control setPlayOnSwap
GraphLeave Turtle and Window Queries

setPlayOnSwap abool


command. Sets the internal state variable playOnSwap to the boolean input. If true, in singlebuffer mode the active graph will play its recorded commands whenever the buffers would get swapped in doublebuffer mode. This ensures that, after the window was partially occlused by another window, the graphics will be correctly redrawn.

Example:

Reference:

GraphLeave Turtle and Window Queries