createMenuBar          package:RGtkViewers          R Documentation

_C_r_e_a_t_e _a_n_d _p_o_p_u_l_a_t_e _G_t_k _M_e_n_u _B_a_r

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

     This is a convenience function for creating a menu bar and
     populating it with menus. The menus can be recursive.

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

     createMenuBar(..., mbar = gtkMenuBar())

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

     ...: a collection of named element each of which gives the label
          for the menu and a list of the elements in that menu. For
          example, 'createMenubar(File=list(Open=function(x,...) { }))'

    mbar: an optional existing 'GtkMenuBar' object to which to append
          the objects. If this is not specified, a new one is created.

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

     The 'GtkMenuBar' object.

_N_o_t_e:

     This will probably be moved to a new package named RGtkUtils in
     the future.

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

     Duncan Temple Lang <duncan@research.bell-labs.com>

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.omegahat.org/RGtk>, <URL: http://www.gtk.org>

_S_e_e _A_l_s_o:

     'createSimpleMenu'

_E_x_a_m_p_l_e_s:

