gtkUIManagerGetWidget         package:RGtk2         R Documentation

_g_t_k_U_I_M_a_n_a_g_e_r_G_e_t_W_i_d_g_e_t

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

     Looks up a widget by following a path.  The path consists of the
     names specified in the XML description of the UI.  separated by
     '/'. Elements which don't have a name or action attribute in  the
     XML (e.g. <popup>) can be addressed by their XML element name 
     (e.g. "popup"). The root element ("/ui") can be omitted in the
     path.

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

     gtkUIManagerGetWidget(object, path)

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

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

  'path': [character]  a path

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

     Note that the widget found by following a path that ends in a
     <menu> element is the menuitem to which the menu is attached, not
     the menu itself.

     Also note that the widgets constructed by a ui manager are not
     tied to  the lifecycle of the ui manager. If you add the widgets
     returned by this  function to some container or explicitly ref
     them, they will survive the destruction of the ui manager.  

     Since  2.4

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

     ['GtkWidget']  the widget found by following the path, or 'NULL'
     if no widget was found.

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

     Derived by RGtkGen from GTK+ documentation

