gtkClipboardRequestRichText      package:RGtk2      R Documentation

_g_t_k_C_l_i_p_b_o_a_r_d_R_e_q_u_e_s_t_R_i_c_h_T_e_x_t

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

     Requests the contents of the clipboard as rich text. When the rich
     text is later received, 'callback' will be called.

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

     gtkClipboardRequestRichText(object, buffer, callback, user.data)

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

'object': ['GtkClipboard']  a 'GtkClipboard'

'buffer': ['GtkTextBuffer']     a 'GtkTextBuffer'

'callback': ['GtkClipboardRichTextReceivedFunc']   a function to call
          when the text is received, or the retrieval fails. (It will
          always be called one way or the other.)

'user.data': [R object]  user data to pass to 'callback'.

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

     The 'text' parameter to 'callback' will contain the resulting rich
     text if the request succeeded, or 'NULL' if it failed. The
     'length' parameter will contain 'text''s length. This function can
     fail for various reasons, in particular if the clipboard was empty
     or if the contents of the clipboard could not be converted into
     rich text form.  

     Since  2.10

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

     Derived by RGtkGen from GTK+ documentation

