gtkItemFactoryAddForeign        package:RGtk2        R Documentation

_g_t_k_I_t_e_m_F_a_c_t_o_r_y_A_d_d_F_o_r_e_i_g_n

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

     Installs an accelerator for 'accel.widget' in 'accel.group', that
     causes the ::activate signal to be emitted if the accelerator is
     activated. *WARNING: 'gtk_item_factory_add_foreign' has been
     deprecated since version 2.4 and should not be used in
     newly-written code. The recommended API for this purpose are the
     functions  'gtkMenuItemSetAccelPath' and 'gtkWidgetSetAccelPath';
     don't  use 'gtkItemFactoryAddForeign' in new code, since it is
     likely to be removed in the future.*

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

     gtkItemFactoryAddForeign(accel.widget, full.path, accel.group, keyval, modifiers)

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

'accel.widget': ['GtkWidget']      widget to install an accelerator on 

'full.path': [character]           the full path for the 'accel.widget' 

'accel.group': ['GtkAccelGroup']       the accelerator group to install
          the accelerator in

'keyval': [numeric]            key value of the accelerator

'modifiers': ['GdkModifierType']         modifier combination of the
          accelerator

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

     This function can be used to make widgets participate in the accel
     saving/restoring functionality provided by 'gtkAccelMapSave' and
     'gtkAccelMapLoad', even if they haven't been created by an item
     factory.

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

     Derived by RGtkGen from GTK+ documentation

