 -- Class: <gtk-accel-group>
     Derives from <gobject>.

     This class defines no direct slots.

 -- Signal on <gtk-accel-group>: accel-activate (arg0 <gobject>) (arg1 <guint>) (arg2 <gdk-modifier-type>) => <gboolean>
     The accel-activate signal is an implementation detail of <gtk-accel-group> and not meant to be used by applications.

 -- Signal on <gtk-accel-group>: accel-changed (arg0 <guint>) (arg1 <gdk-modifier-type>) (arg2 <gclosure>)
     The accel-changed signal is emitted when a <gtk-accel-group-entry> is added to or removed from the accel group.

     Widgets like <gtk-accel-label> which display an associated accelerator should connect to this signal, and rebuild their visual representation if the ACCEL-CLOSURE is theirs.

 -- Function: gtk-accel-group-new =>  (ret <gtk-accel-group>)
     Creates a new <gtk-accel-group>.

     ret
          a new <gtk-accel-group> object

 -- Function: gtk-accel-group-connect (self <gtk-accel-group>) (accel_key unsigned-int) (accel_mods <gdk-modifier-type>) (accel_flags <gtk-accel-flags>) (closure <gclosure>)
 -- Method: connect
     Installs an accelerator in this group. When ACCEL-GROUP is being activated in response to a call to gtk-accel-groups-activate, CLOSURE will be invoked if the ACCEL-KEY and ACCEL-MODS from gtk-accel-groups-activate match those of this connection.

     The signature used for the CLOSURE is that of <gtk-accel-group-activate>.

     Note that, due to implementation details, a single closure can only be connected to one accelerator group.

     accel-group
          the accelerator group to install an accelerator in

     accel-key
          key value of the accelerator

     accel-mods
          modifier combination of the accelerator

     accel-flags
          a flag mask to configure this accelerator

     closure
          closure to be executed upon accelerator activation

 -- Function: gtk-accel-group-connect-by-path (self <gtk-accel-group>) (accel_path mchars) (closure <gclosure>)
 -- Method: connect-by-path
     Installs an accelerator in this group, using an accelerator path to look up the appropriate key and modifiers (see gtk-accel-map-add-entry). When ACCEL-GROUP is being activated in response to a call to gtk-accel-groups-activate, CLOSURE will be invoked if the ACCEL-KEY and ACCEL-MODS from gtk-accel-groups-activate match the key and modifiers for the path.

     The signature used for the CLOSURE is that of <gtk-accel-group-activate>.

     accel-group
          the accelerator group to install an accelerator in

     accel-path
          path used for determining key and modifiers.

     closure
          closure to be executed upon accelerator activation

 -- Function: gtk-accel-group-disconnect (self <gtk-accel-group>) (closure <gclosure>) =>  (ret bool)
 -- Method: disconnect
     Removes an accelerator previously installed through gtk-accel-group-connect.

     accel-group
          the accelerator group to remove an accelerator from

     closure
          the closure to remove from this accelerator group

     ret
          #t if the closure was found and got disconnected

 -- Function: gtk-accel-group-disconnect-key (self <gtk-accel-group>) (accel_key unsigned-int) (accel_mods <gdk-modifier-type>) =>  (ret bool)
 -- Method: disconnect-key
     Removes an accelerator previously installed through gtk-accel-group-connect.

     accel-group
          the accelerator group to install an accelerator in

     accel-key
          key value of the accelerator

     accel-mods
          modifier combination of the accelerator

     ret
          #t if there was an accelerator which could be removed, #f otherwise

 -- Function: gtk-accel-group-activate (self <gtk-accel-group>) (accel_quark unsigned-int) (acceleratable <gobject>) (accel_key unsigned-int) (accel_mods <gdk-modifier-type>) =>  (ret bool)
 -- Method: activate

     accel-group

     accel-quark

     acceleratable

     accel-key

     accel-mods

     ret

 -- Function: gtk-accel-group-lock (self <gtk-accel-group>)
 -- Method: lock
     Locks the given accelerator group.

     Locking an acelerator group prevents the accelerators contained within it to be changed during runtime. Refer to gtk-accel-map-change-entry about runtime accelerator changes.

     If called more than once, ACCEL-GROUP remains locked until gtk-accel-group-unlock has been called an equivalent number of times.

     accel-group
          a <gtk-accel-group>

 -- Function: gtk-accel-group-unlock (self <gtk-accel-group>)
 -- Method: unlock
     Undoes the last call to gtk-accel-group-lock on this ACCEL-GROUP.

     accel-group
          a <gtk-accel-group>

 -- Function: gtk-accel-group-from-accel-closure (closure <gclosure>) =>  (ret <gtk-accel-group>)
     Finds the <gtk-accel-group> to which CLOSURE is connected; see gtk-accel-group-connect.

     closure
          a <gclosure>

     ret
          the <gtk-accel-group> to which CLOSURE is connected, or #f.

 -- Function: gtk-accel-groups-activate (object <gobject>) (accel_key unsigned-int) (accel_mods <gdk-modifier-type>) =>  (ret bool)
     Finds the first accelerator in any <gtk-accel-group> attached to OBJECT that matches ACCEL-KEY and ACCEL-MODS, and activates that accelerator. If an accelerator was activated and handled this keypress, #t is returned.

     object
          the <gobject>, usually a <gtk-window>, on which to activate the accelerator.

     accel-key
          accelerator keyval from a key event

     accel-mods
          keyboard state mask from a key event

     ret
          #t if the accelerator was handled, #f otherwise

 -- Function: gtk-accel-groups-from-object (object <gobject>) =>  (ret gslist-of)
     Gets a list of all accel groups which are attached to OBJECT.

     object
          a <gobject>, usually a <gtk-window>

     ret
          a list of all accel groups which are attached to OBJECT

 -- Function: gtk-accelerator-valid (keyval unsigned-int) (modifiers <gdk-modifier-type>) =>  (ret bool)
     Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. For example, the <gdk-a> keyval plus <gdk-control-mask> is valid - this is a "Ctrl+a" accelerator. But, you can't, for instance, use the <gdk--control-l> keyval as an accelerator.

     keyval
          a GDK keyval

     modifiers
          modifier mask

     ret
          #t if the accelerator is valid

 -- Function: gtk-accelerator-name (accelerator_key unsigned-int) (accelerator_mods <gdk-modifier-type>) =>  (ret mchars)
     Converts an accelerator keyval and modifier mask into a string parseable by gtk-accelerator-parse. For example, if you pass in <gdk-q> and <gdk-control-mask>, this function returns "<Control>q".

     If you need to display accelerators in the user interface, see gtk-accelerator-get-label.

     accelerator-key
          accelerator keyval

     accelerator-mods
          accelerator modifier mask

     ret
          a newly-allocated accelerator name

 -- Function: gtk-accelerator-get-label (accelerator_key unsigned-int) (accelerator_mods <gdk-modifier-type>) =>  (ret mchars)
     Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.

     accelerator-key
          accelerator keyval

     accelerator-mods
          accelerator modifier mask

     ret
          a newly-allocated string representing the accelerator.

     Since 2.6