gtkImageMenuItemNewFromStock      package:RGtk2      R Documentation

_g_t_k_I_m_a_g_e_M_e_n_u_I_t_e_m_N_e_w_F_r_o_m_S_t_o_c_k

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

     Creates a new 'GtkImageMenuItem' containing the image and text
     from a  stock item. Some stock ids have preprocessor functions
     like 'GTK_STOCK_OK'  and 'GTK_STOCK_APPLY'.

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

     gtkImageMenuItemNewFromStock(stock.id, accel.group, show = TRUE)

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

'stock.id': [character]  the name of the stock item.

'accel.group': ['GtkAccelGroup']  the 'GtkAccelGroup' to add the menu
          items accelerator to, or 'NULL'.

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

     If you want this menu item to have changeable accelerators, then
     pass in 'NULL' for accel_group. Next call
     'gtkMenuItemSetAccelPath' with an appropriate path for the menu
     item, use 'gtkStockLookup' to look up the standard accelerator for
     the stock item, and if one is found, call 'gtkAccelMapAddEntry' to
     register it.

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

     ['GtkWidget']  a new 'GtkImageMenuItem'.

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

     Derived by RGtkGen from GTK+ documentation

