gtkUIManagerAddUiFromString      package:RGtk2      R Documentation

_g_t_k_U_I_M_a_n_a_g_e_r_A_d_d_U_i_F_r_o_m_S_t_r_i_n_g

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

     Parses a string containing a UI definition and  merges it with the
     current contents of 'self'. An enclosing <ui>  element is added if
     it is missing.

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

     gtkUIManagerAddUiFromString(object, buffer, length = -1, .errwarn = TRUE)

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

'object': ['GtkUIManager']  a 'GtkUIManager' object

'buffer': [character]  the string to parse

'length': [integer]  the length of 'buffer' (may be -1 if 'buffer' is
          nul-terminated)

.errwarn: Whether to issue a warning on error or fail silently

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

     Since  2.4

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

     A list containing the following elements: 

  retval: [numeric]  The merge id for the merged UI. The merge id can
          be used to unmerge the UI with 'gtkUIManagerRemoveUi'. If an
          error occurred, the return value is 0.

 'error': ['GError']  return location for an error

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

     Derived by RGtkGen from GTK+ documentation

