winMenu              package:svWidgets              R Documentation

_A_d_d_i_t_i_o_n_a_l _w_i_n_M_e_n_u_X_X_X() _f_u_n_c_t_i_o_n_s

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

     A couple of winMenuXXX() functions are defined in the package
     'utils' to manipulate custom menus of Rgui (under windows only).
     Here are some additional ones. note that you should preferrably
     use the corresponding MenuXXX() function defined in this package
     (they work with windows menus as well as other menus, like Tk.

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

       winMenuChangeItem(menu, item, action, options = "")
       winMenuStateItem(menu, item, active = TRUE)

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

    menu: Name of a menu 

    item: Name of a menu item 

  action: Action the menu triggers (R code) 

 options: Additional options, for instance 'state = "disable"' to
          disable the menu at creation. 

  active: Do we enable or disable the menu item? 

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

     These functions complement the winMenuXXX() functions in package
     'utils'. Do prefer to use the corresponding MenuXXX() functions
     that work with all types of menus (currently, only Windows and Tk,
     but more will be added in the future).

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

     Philippe Grosjean

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

     'MenuChangeItem', 'MenuStateItem'

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

        ## See ?MenuNames for extensive examples

