clearAllWindows            package:iSPlot            R Documentation

_C_l_e_a_r_s _a_l_l _G_t_k _W_i_n_d_o_w_s

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

     clearAllWindows destroys all gtk windows that have been opened 
     when using interactive scatterplots.  So all gtk windows stored 
     in the environments, viewEnv and controlEnv, will be destroyed 
     and the objects representing these windows will be removed from 
     viewEnv and controlEnv.  clearAllWindows is meant to be called 
     from askToQuit.  clearAllWindows also resets the control 
     environment variables to their default values by calling 
     setControlEnvDefaults.

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

     clearAllWindows()

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_S_e_e _A_l_s_o:

     'askToQuit', 'setDeleteEvents', 'setControlEnvDefaults'

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

       if (interactive())
       {
         createControlWindow()
         Sys.sleep(1)
         # should call clearAllWindows by choosing 'quit' under file menu
         clearAllWindows()
       }

