AccelGroup


Object Hierarchy:

Gtk.AccelGroup Gtk.AccelGroup Gtk.AccelGroup GLib.Object GLib.Object GLib.Object->Gtk.AccelGroup

Description:

[ CCode ( type_id = "gtk_accel_group_get_type ()" ) ]
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 UIManager, GTK+ automatically sets up the accelerators for your menus in the ui manager’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+-3.0

Content:

Properties:

Static methods:

Creation methods:

Methods:

Signals:

Inherited Members: