gtkAccelMapAddEntry          package:RGtk2          R Documentation

_g_t_k_A_c_c_e_l_M_a_p_A_d_d_E_n_t_r_y

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

     Registers a new accelerator with the global accelerator map. This
     function should only be called once per 'accel.path' with the
     canonical 'accel.key' and 'accel.mods' for this path. To change
     the accelerator during runtime programatically, use
     'gtkAccelMapChangeEntry'. The accelerator path must consist of
     "<WINDOWTYPE>/Category1/Category2/.../Action", where <WINDOWTYPE>
     should be a unique application-specific identifier, that
     corresponds to the kind of window the accelerator is being used
     in, e.g. "Gimp-Image", "Abiword-Document" or "Gnumeric-Settings".
     The Category1/.../Action portion is most appropriately chosen by
     the action the accelerator triggers, i.e. for accelerators on menu
     items, choose the item's menu path, e.g. "File/Save As",
     "Image/View/Zoom" or "Edit/Select All". So a full valid
     accelerator path may look like: "<Gimp-Toolbox>/File/Dialogs/Tool
     Options...".

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

     gtkAccelMapAddEntry(accel.path, accel.key, accel.mods)

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

'accel.path': [character]  valid accelerator path

'accel.key': [numeric]   the accelerator key

'accel.mods': ['GdkModifierType']  the accelerator modifiers

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

     Derived by RGtkGen from GTK+ documentation

