gdk.flush               package:Rggobi               R Documentation

_C_a_u_s_e _p_e_n_d_i_n_g _G_t_k _G_U_I _e_v_e_n_t_s _t_o _b_e _p_r_o_c_e_s_s_e_d

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

     Because of the interaction with the R event loop (reading use
     input), on occassion, the changes caused by certain R functions
     that operate on the the ggobi GUI are not displayed immediately.
     This function allows the R programmer to try to force these
     changes to be displayed.

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

     gdk.flush()

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

     This flushes the Gtk events pending and forces them to be sent to
     the event queue and hopefully invoke the  low Gtk handler in R's
     event loop.

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

     No value.

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

     Duncan Temple Lang

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.ggobi.org/RSggobi.html>

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

       g <- ggobi(system.file("data", "flea.xml",package="Rggobi"), args="-noinit")
       g$scatmat(1:3)
       gdk.flush()

