Package: gtk
Class gtk-accel-group
Superclassesg-object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails A gtk-accel-group object represents a group of keyboard accelerators, typically attached to a toplevel gtk-window widget with the gtk-window-add-accel-group function. Usually you will not need to create a gtk-accel-group object directly. Instead, when using the gtk-ui-manager class, GTK automatically sets up the accelerators for your menus in the gtk-accel-group object of the
UI manager. Note that accelerators are different from mnemonics. Accelerators are shortcuts for activating a menu item. They appear alongside the menu item they are 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 the gtk-label-new-with-mnemonic function. Menu items can have both accelerators and mnemonics, of course. Signal DetailsThe "accel-activate" signallambda (group acceleratable keyval modifier) :detailedThe signal is an implementation detail of the gtk-accel-group class and not meant to be used by applications.
The "accel-changed" signallambda (group keyval modifier func) :detailedThe signal is emitted when an entry is added to or removed from the accelerator group. Widgets like the gtk-accel-label widget which display an associated accelerator should connect to this signal, and rebuild their visual representation if func is theirs.
| Slot Access FunctionsInherited Slot Access FunctionsSee also |
*2021-12-24