gtkWidgetSetAccelPath         package:RGtk2         R Documentation

_g_t_k_W_i_d_g_e_t_S_e_t_A_c_c_e_l_P_a_t_h

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

     Given an accelerator group, 'accel.group', and an accelerator
     path, 'accel.path', sets up an accelerator in 'accel.group' so
     whenever the key binding that is defined for 'accel.path' is
     pressed, 'widget' will be activated.  This removes any
     accelerators (for any accelerator group) installed by previous
     calls to 'gtkWidgetSetAccelPath'. Associating accelerators with
     paths allows them to be modified by the user and the modifications
     to be saved for future use. (See 'gtkAccelMapSave'.)

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

     gtkWidgetSetAccelPath(object, accel.path, accel.group)

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

'object': ['GtkWidget']  a 'GtkWidget'

'accel.path': [character]  path used to look up the accelerator

'accel.group': ['GtkAccelGroup']  a 'GtkAccelGroup'.

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

     This function is a low level function that would most likely be
     used by a menu creation system like 'GtkUIManager'. If you use
     'GtkUIManager', setting up accelerator paths will be done
     automatically.

     Even when you you aren't using 'GtkUIManager', if you only want to
     set up accelerators on menu items 'gtkMenuItemSetAccelPath'
     provides a somewhat more convenient interface.

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

     Derived by RGtkGen from GTK+ documentation

