gtk-Keyboard-Accelerators       package:RGtk2       R Documentation

_A_c_c_e_l_e_r_a_t_o_r _G_r_o_u_p_s

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

     Groups of global keyboard accelerators for an entire GtkWindow

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkAccelGroupNew()'
      'gtkAccelGroupConnect(object, accel.key, accel.mods, accel.flags,
     closure)'
      'gtkAccelGroupConnectByPath(object, accel.path, closure)'
      'gtkAccelGroupDisconnect(object, closure)'
      'gtkAccelGroupDisconnectKey(object, accel.key, accel.mods)'
      'gtkAccelGroupQuery(object, accel.key, accel.mods)'
      'gtkAccelGroupActivate(object, accel.quark, acceleratable,
     accel.key, accel.mods)'
      'gtkAccelGroupLock(object)'
      'gtkAccelGroupUnlock(object)'
      'gtkAccelGroupFromAccelClosure(closure)'
      'gtkAccelGroupsActivate(object, accel.key, accel.mods)'
      'gtkAccelGroupsFromObject(object)'
      'gtkAccelGroupFind(object, find.func, data = NULL)'
      'gtkAcceleratorValid(keyval, modifiers)'
      'gtkAcceleratorParse(accelerator)'
      'gtkAcceleratorName(accelerator.key, accelerator.mods)'
      'gtkAcceleratorGetLabel(accelerator.key, accelerator.mods)'
      'gtkAcceleratorSetDefaultModMask(default.mod.mask)'
      'gtkAcceleratorGetDefaultModMask()'
      'gtkAccelGroup()'

_H_i_e_r_a_r_c_h_y:

     GObject
        +----GtkAccelGroup 

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

     A 'GtkAccelGroup' represents a group of keyboard accelerators,
     typically attached to a toplevel 'GtkWindow' (with
     'gtkWindowAddAccelGroup'). Usually you won't need to create a
     'GtkAccelGroup' directly; instead, when using 'GtkItemFactory',
     GTK+ automatically sets up the accelerators for your menus in the
     item factory's 'GtkAccelGroup'.

     Note that accelerators are different from mnemonics. Accelerators
     are shortcuts for activating a menu item; they appear alongside
     the menu item they're a shortcut for. For example "Ctrl+Q" might
     appear alongside the "Quit" menu item. Mnemonics are shortcuts for
     GUI elements such as text entries or buttons; they appear as
     underlined characters. See 'gtkLabelNewWithMnemonic'. Menu items
     can have both accelerators and mnemonics, of course.

_S_t_r_u_c_t_u_r_e_s:


     '_G_t_k_A_c_c_e_l_G_r_o_u_p' An object representing and maintaining a group of
          accelerators.


     '_G_t_k_A_c_c_e_l_K_e_y' _undocumented _ *'GtkAccelKey' is a
          transparent-type.*

          '_a_c_c_e_l_K_e_y' [numeric] 

          '_a_c_c_e_l_M_o_d_s' ['GdkModifierType'] 

          '_a_c_c_e_l_F_l_a_g_s' [numeric] 


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gtkAccelGroup' is the equivalent of 'gtkAccelGroupNew'.

_U_s_e_r _F_u_n_c_t_i_o_n_s:


     '_G_t_k_A_c_c_e_l_G_r_o_u_p_A_c_t_i_v_a_t_e(_a_c_c_e_l._g_r_o_u_p, _a_c_c_e_l_e_r_a_t_a_b_l_e, _k_e_y_v_a_l, _m_o_d_i_f_i_e_r)' 
          _undocumented _

          '_a_c_c_e_l._g_r_o_u_p' ['GtkAccelGroup'] 

          '_a_c_c_e_l_e_r_a_t_a_b_l_e' ['GObject'] 

          '_k_e_y_v_a_l' [numeric] 

          '_m_o_d_i_f_i_e_r' ['GdkModifierType'] 


     '_G_t_k_A_c_c_e_l_G_r_o_u_p_F_i_n_d_F_u_n_c(_k_e_y, _c_l_o_s_u_r_e, _d_a_t_a)' Since 2.2

          '_k_e_y' ['GtkAccelKey'] 

          '_c_l_o_s_u_r_e' ['GClosure'] 

          '_d_a_t_a' [R object] 


_S_i_g_n_a_l_s:


     '_a_c_c_e_l-_a_c_t_i_v_a_t_e(_a_c_c_e_l._g_r_o_u_p, _a_c_c_e_l_e_r_a_t_a_b_l_e, _k_e_y_v_a_l, _m_o_d_i_f_i_e_r, _u_s_e_r._d_a_t_a)' 
          The accel-activate signal is an implementation detail of
          'GtkAccelGroup' and not meant to be used by applications.  

          '_a_c_c_e_l._g_r_o_u_p' ['GtkAccelGroup']  the 'GtkAccelGroup' which
               received the signal

          '_a_c_c_e_l_e_r_a_t_a_b_l_e' ['GObject']  the object on which the
               accelerator was activated

          '_k_e_y_v_a_l' [numeric]  the accelerator keyval

          '_m_o_d_i_f_i_e_r' ['GdkModifierType']  the modifier combination of
               the accelerator

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.

          _Returns:_ [logical] 'TRUE' if the accelerator was activated


     '_a_c_c_e_l-_c_h_a_n_g_e_d(_a_c_c_e_l._g_r_o_u_p, _k_e_y_v_a_l, _m_o_d_i_f_i_e_r, _a_c_c_e_l._c_l_o_s_u_r_e, _u_s_e_r._d_a_t_a)' 
          The accel-changed signal is emitted when a
          'GtkAccelGroupEntry' is added to or removed from the accel
          group. 

          Widgets like 'GtkAccelLabel' which display an associated 
          accelerator should connect to this signal, and rebuild  their
          visual representation if the 'accel.closure' is theirs.  

          '_a_c_c_e_l._g_r_o_u_p' ['GtkAccelGroup']  the 'GtkAccelGroup' which
               received the signal

          '_k_e_y_v_a_l' [numeric]  the accelerator keyval

          '_m_o_d_i_f_i_e_r' ['GdkModifierType']  the modifier combination of
               the accelerator

          '_a_c_c_e_l._c_l_o_s_u_r_e' ['GClosure']  the 'GClosure' of the
               accelerator

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


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

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/gtk/gtk-Keyboard-Accelerators.html>

