Hold or Flush Output on an On-Screen Graphics Device.
持有或刷新屏幕上的图形设备输出。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This gives a way to hold/flush output on certain on-screen devices, and is ignored by other devices.
这给人一种方法来保持/刷新某些屏幕上的设备上输出,而忽略其他设备。
用法----------Usage----------
dev.hold(level = 1L)
dev.flush(level = 1L)
参数----------Arguments----------
参数:level
Integer >= 0. The amount by which to change the hold level. Negative values will be silently replaced by zero.
整数> = 0。通过改变保持水平的数额。负值将被自动取代为零。
Details
详情----------Details----------
Devices which implement this maintain a stack of hold levels: calling dev.hold increases the level and dev.flush decreases it. Calling dev.hold when the hold level is zero increases the hold level and inhibits graphics display. When calling dev.flush clears all pending holds the screen display is refreshed and normal operation is resumed.
该设备实现这个维持一个保持水平的堆栈:调用dev.hold提高水平和dev.flush降低。调用dev.hold时保持水平是保持零增长的水平和抑制图形显示。当调用dev.flush清除所有未决拥有屏幕显示刷新和恢复正常运作。
This is implemented for the windows device with buffering selected (the default). When the hold level is positive the "busy" cursor is set on the device's window.
这是实施缓冲的选择(默认)windows设备。时保持水平是积极的“忙”光标设置设备的窗口。
值----------Value----------
The current level after the change, invisibly. This is 0 on devices where hold levels are not supported.
变更后的现有水平,无形中。这是0在那里举行的水平的设备上不支持。