tclServiceMode {tcltk}R Documentation

Allow Tcl events to be serviced or not

Description

This function controls or reports on the Tcl service mode, i.e. whether Tcl will respond to events.

Usage

tclServiceMode(on = NULL)

Arguments

on (logical) Whether event servicing is turned on.

Details

If called with on == NULL (the default), no change is made.

Value

The value of the Tcl service mode before the call.

Examples

## Not run: 
    
    oldmode <- tclServiceMode(FALSE)
    # Do some work to create a nice picture.  Nothing will be displayed until...
    tclServiceMode(oldmode)
## End(Not run)

[Package tcltk version 2.2.1 Index]