gtkWidgetAddAccelerator        package:RGtk2        R Documentation

_g_t_k_W_i_d_g_e_t_A_d_d_A_c_c_e_l_e_r_a_t_o_r

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

     Installs an accelerator for this 'widget' in 'accel.group' that
     causes 'accel.signal' to be emitted if the accelerator is
     activated. The 'accel.group' needs to be added to the widget's
     toplevel via 'gtkWindowAddAccelGroup', and the signal must be of
     type 'G_RUN_ACTION'. Accelerators added through this function are
     not user changeable during runtime. If you want to support
     accelerators that can be changed by the user, use
     'gtkAccelMapAddEntry' and 'gtkWidgetSetAccelPath' or
     'gtkMenuItemSetAccelPath' instead.

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

     gtkWidgetAddAccelerator(object, accel.signal, accel.group, accel.key, accel.mods, accel.flags)

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

'object': ['GtkWidget']        widget to install an accelerator on

'accel.signal': [character]  widget signal to emit on accelerator
          activation

'accel.group': ['GtkAccelGroup']   accel group for this widget, added
          to its toplevel

'accel.key': [numeric]     GDK keyval of the accelerator

'accel.mods': ['GdkModifierType']    modifier key combination of the
          accelerator

'accel.flags': ['GtkAccelFlags']   flag accelerators, e.g.
          'GTK_ACCEL_VISIBLE'

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

     Derived by RGtkGen from GTK+ documentation

