tclServiceMode {tcltk} | R Documentation |
This function controls or reports on the Tcl service mode, i.e. whether Tcl will respond to events.
tclServiceMode(on = NULL)
on |
(logical) Whether event servicing is turned on. |
If called with on == NULL
(the default), no change is made.
The value of the Tcl service mode before the call.
## Not run: oldmode <- tclServiceMode(FALSE) # Do some work to create a nice picture. Nothing will be displayed until... tclServiceMode(oldmode) ## End(Not run)