gtkQuitAddFull             package:RGtk2             R Documentation

_g_t_k_Q_u_i_t_A_d_d_F_u_l_l

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

     Registers a function to be called when an instance of the mainloop
     is left. In comparison to 'gtkQuitAdd' this function adds the
     possibility to  pass a marshaller and a function to be called when
     the quit handler is freed.

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

     gtkQuitAddFull(main.level, fun, data = NULL)

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

'main.level': [numeric] Level at which termination the function shall
          be called. You can pass 0 here to have the function run at
          the termination of the current mainloop.

  'data': [R object] Pointer to pass when calling 'function'.

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

     The former can be used to run interpreted code instead of a
     compiled function while the latter can be used to free the
     information stored in 'data' (while you can do this in 'function'
     as well)... So this function will mostly be used by GTK+ wrappers
     for languages other than C.

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

     [numeric] A handle for this quit handler (you need this for
     'gtkQuitRemove') or 0 if you passed a 'NULL' pointer in
     'function'.

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

     Derived by RGtkGen from GTK+ documentation

