Next: , Up: Gtk+ Objects

6.4.1 accel-group

— Class: accel-group

Superclass: g-object

An accel-group represents a group of keyboard accelerators, typically attached to a toplevel gtk-window (with gtk_window_add_accel_group()). Usually you won't need to create an accel-group directly.

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 label-mnemonic-widget. Menu items can have both accelerators and mnemonics, of course.