Valadoc | Vala | Tutorial | API-References | Markup

AccelGroup


Object Hierarchy:

Object hierarchy for AccelGroup

Description:

public class AccelGroup : Object

A AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Window (with add_accel_group ). Usually you won't need to create a AccelGroup directly; instead, when using GtkItemFactory, GTK+ automatically sets up the accelerators for your menus in the item factory's AccelGroup.

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


Namespace: Gtk
Package: gtk+-2.0

Content:

Properties:

Static methods:

Creation methods:

Methods:

Signals:

Fields: