search for: tcl_setservicemod

Displaying 1 result from an estimated 1 matches for "tcl_setservicemod".

Did you mean: tcl_setservicemode
2005 Apr 23
1
tclServiceMode: stop Tcl/Tk from updating
...ge can update too frequently: for exmaple, we might go through a long sequence of operations to construct a complex display, and in Windows each addition will be shown separately. To work around this, I've added a function "tclServiceMode" which serves as an R interface to the "Tcl_SetServiceMode" function in the TCL API. Calling "tclServiceMode(on = FALSE)" will stop Tcl/Tk from responding to any events (redraws in particular) until "tclServiceMode(on = TRUE)" is called. As far as I know, events are queued, not lost, when handling is turned off. So far this funct...