gtkMenuItemSetAccelPath        package:RGtk2        R Documentation

_g_t_k_M_e_n_u_I_t_e_m_S_e_t_A_c_c_e_l_P_a_t_h

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

     Set the accelerator path on 'menu.item', through which runtime
     changes of the menu item's accelerator caused by the user can be
     identified and saved to persistant storage (see 'gtkAccelMapSave'
     on this). To setup a default accelerator for this menu item, call
     'gtkAccelMapAddEntry' with the same 'accel.path'. See also
     'gtkAccelMapAddEntry' on the specifics of accelerator paths, and
     'gtkMenuSetAccelPath' for a more convenient variant of this
     function.

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

     gtkMenuItemSetAccelPath(object, accel.path)

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

'object': ['GtkMenuItem']   a valid 'GtkMenuItem'

'accel.path': [character]  accelerator path, corresponding to this menu
          item's functionality, or 'NULL' to unset the current path.

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

     This function is basically a convenience wrapper that handles
     calling 'gtkWidgetSetAccelPath' with the appropriate accelerator
     group for the menu item.

     Note that you do need to set an accelerator on the parent menu
     with 'gtkMenuSetAccelGroup' for this to work.

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

     Derived by RGtkGen from GTK+ documentation

