tclServiceMode             package:tcltk             R Documentation

_A_l_l_o_w _T_c_l _e_v_e_n_t_s _t_o _b_e _s_e_r_v_i_c_e_d _o_r _n_o_t

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     tclServiceMode(on = NULL)

_A_r_g_u_m_e_n_t_s:

      on: (logical) Whether event servicing is turned on. 

_D_e_t_a_i_l_s:

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

_V_a_l_u_e:

     The value of the Tcl service mode before the call.

_E_x_a_m_p_l_e_s:

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

