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.
Slots:
boolean
. Accessor: accel-group-is-locked
. Read-only.
Is the accel group locked.
accel-group-modifier-mask
. Read-only.
Modifier Mask.
Default value: '(:shift-mask control-mask :mod1-mask :super-mask :hyper-mask :meta-mask)
Signals:
integer
), (modifier gdk-modifier-type) => boolean
. Options: detailed.
The accel-activate
signal is an implementation detail of accel-group and not meant to be used by applications.
integer
), (modifier gdk-modifier-type), (closure GClosure
) => void. Options: run-first, detailed.
The accel-changed
signal is emitted when a GtkAccelGroupEntry
is added to or removed from the accel group.
Widgets like accel-label which display an associated accelerator should connect to this signal, and rebuild their visual representation if the accel_closure is theirs.