Usually you won't need to create a Gtk::AccelGroup directly; instead, gtkmm automatically sets up the accelerators for your menus. Note that accelerators are different from mnemonics. Accelerators are shortcuts for activating a menu item; they appear alongside the menu item for which they're a shortcut. 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 the Gtk::Label constructor. Menu items can have both accelerators and mnemonics, of course.
|  | 
| 
 Public Member Functions | 
| virtual | ~AccelGroup () | 
| GtkAccelGroup* | gobj () | 
|  | Provides access to the underlying C GObject. 
 
 | 
| const  GtkAccelGroup* | gobj () const | 
|  | Provides access to the underlying C GObject. 
 
 | 
| GtkAccelGroup* | gobj_copy () | 
| void | lock () | 
|  | Locks the given accelerator group. 
 
 | 
| void | unlock () | 
|  | Undoes the last call to lock() on this accel_group . 
 
 | 
| bool | disconnect_key (guint accel_key, Gdk::ModifierType accel_mods) | 
|  | Removes an accelerator previously installed through connect(). 
 
 | 
| Glib::SignalProxy3< void, guint, GdkModifierType, GClosure* >
 | signal_accel_changed () | 
| 
 Static Public Member Functions | 
| Glib::RefPtr<AccelGroup> | create () | 
|  | Creates a new Gtk::AccelGroup object. 
 
 | 
| bool | valid (guint keyval, Gdk::ModifierType modifiers) | 
|  | Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. 
 
 | 
| void | parse (const  Glib::ustring& accelerator, guint& accelerator_key, Gdk::ModifierType& accelerator_mods) | 
|  | Parse the accelerator string. 
 
 | 
| Glib::ustring | name (guint accelerator_key, Gdk::ModifierType accelerator_mods) | 
|  | Converts an accelerator keyval and modifier mask into a string parseable by parse(). 
 
 | 
| void | set_default_mod_mask (Gdk::ModifierType default_mod_mask) | 
|  | Sets the modifiers that will be considered significant for keyboard accelerators. 
 
 | 
| Gdk::ModifierType | get_default_mod_mask () | 
|  | See set_default_mod_mask(). 
 
 | 
| bool | activate (Gtk::Object& object, guint accel_key, Gdk::ModifierType accel_mods) | 
|  | Finds the first accelerator in any Gtk::AccelGroup attached to object that matches accel_key and accel_mods , and activates that accelerator. 
 
 | 
| 
 Protected Member Functions | 
|  | AccelGroup () | 
| virtual void | on_accel_changed (guint keyval, GdkModifierType modifier, GClosure* accel_closure) | 
| 
 Related Functions | 
| (Note that these are not member functions.) 
 
 | 
| Glib::RefPtr<Gtk::AccelGroup> | wrap (GtkAccelGroup* object, bool take_copy=false) |