gtkTextBufferRegisterSerializeTagset  package:RGtk2  R Documentation

_g_t_k_T_e_x_t_B_u_f_f_e_r_R_e_g_i_s_t_e_r_S_e_r_i_a_l_i_z_e_T_a_g_s_e_t

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

     This function registers GTK+'s internal rich text serialization
     format with the passed 'buffer'. The internal format does not
     comply to any standard rich text format and only works between
     'GtkTextBuffer' instances. It is capable of serializing all of a
     text buffer's tags and embedded pixbufs.

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

     gtkTextBufferRegisterSerializeTagset(object, tagset.name = NULL)

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

'object': ['GtkTextBuffer']  a 'GtkTextBuffer'

'tagset.name': [character]  an optional tagset name, on 'NULL'

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

     This function is just a wrapper around
     'gtkTextBufferRegisterSerializeFormat'. The mime type used for
     registering is "application/x-gtk-text-buffer-rich-text", or
     "application/x-gtk-text-buffer-rich-text;format='tagset.name'" if
     a 'tagset.name' was passed.

     The 'tagset.name' can be used to restrict the transfer of rich
     text to buffers with compatible sets of tags, in order to avoid
     unknown tags from being pasted. It is probably the common case to
     pass an identifier != 'NULL' here, since the 'NULL' tagset
     requires the receiving buffer to deal with with pasting of
     arbitrary tags.  

     Since  2.10

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

     ['GdkAtom']  the 'GdkAtom' that corresponds to the newly
     registered format's mime-type.

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

     Derived by RGtkGen from GTK+ documentation

