1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Groups of global keyboard accelerators for an entire GtkWindow
7 <!-- ##### SECTION Long_Description ##### -->
9 A #GtkAccelGroup represents a group of keyboard accelerators,
10 typically attached to a toplevel #GtkWindow (with
11 gtk_window_add_accel_group()). Usually you won't need to create a
12 #GtkAccelGroup directly; instead, when using #GtkItemFactory, GTK+
13 automatically sets up the accelerators for your menus in the item
14 factory's #GtkAccelGroup.
18 Note that <firstterm>accelerators</firstterm> are different from
19 <firstterm>mnemonics</firstterm>. Accelerators are shortcuts for
20 activating a menu item; they appear alongside the menu item they're a
21 shortcut for. For example "Ctrl+Q" might appear alongside the "Quit"
22 menu item. Mnemonics are shortcuts for GUI elements such as text
23 entries or buttons; they appear as underlined characters. See
24 gtk_label_new_with_mnemonic(). Menu items can have both accelerators
25 and mnemonics, of course.
28 <!-- ##### SECTION See_Also ##### -->
30 gtk_window_add_accel_group(), gtk_accel_map_change_entry(),
31 gtk_item_factory_new(), gtk_label_new_with_mnemonic()
34 <!-- ##### SECTION Stability_Level ##### -->
37 <!-- ##### STRUCT GtkAccelGroup ##### -->
39 An object representing and maintaining a group of accelerators.
43 <!-- ##### SIGNAL GtkAccelGroup::accel-activate ##### -->
48 @accelgroup: the object which received the signal.
54 <!-- ##### SIGNAL GtkAccelGroup::accel-changed ##### -->
59 @accelgroup: the object which received the signal.
64 <!-- ##### FUNCTION gtk_accel_group_new ##### -->
72 <!-- ##### MACRO gtk_accel_group_ref ##### -->
74 Deprecated equivalent of g_object_ref().
77 @Returns: the accel group that was passed in
80 <!-- ##### MACRO gtk_accel_group_unref ##### -->
82 Deprecated equivalent of g_object_unref().
87 <!-- ##### FUNCTION gtk_accel_group_connect ##### -->
97 <!-- # Unused Parameters # -->
102 <!-- ##### FUNCTION gtk_accel_group_connect_by_path ##### -->
112 <!-- ##### USER_FUNCTION GtkAccelGroupActivate ##### -->
124 <!-- ##### USER_FUNCTION GtkAccelGroupFindFunc ##### -->
136 <!-- ##### FUNCTION gtk_accel_group_disconnect ##### -->
144 <!-- # Unused Parameters # -->
149 <!-- ##### FUNCTION gtk_accel_group_disconnect_key ##### -->
160 <!-- ##### FUNCTION gtk_accel_group_query ##### -->
172 <!-- ##### FUNCTION gtk_accel_group_activate ##### -->
185 <!-- ##### FUNCTION gtk_accel_group_lock ##### -->
193 <!-- ##### FUNCTION gtk_accel_group_unlock ##### -->
201 <!-- ##### FUNCTION gtk_accel_group_from_accel_closure ##### -->
210 <!-- ##### FUNCTION gtk_accel_groups_activate ##### -->
219 <!-- # Unused Parameters # -->
223 <!-- ##### FUNCTION gtk_accel_groups_from_object ##### -->
232 <!-- ##### FUNCTION gtk_accel_group_find ##### -->
243 <!-- ##### STRUCT GtkAccelKey ##### -->
252 <!-- ##### FUNCTION gtk_accelerator_valid ##### -->
262 <!-- ##### FUNCTION gtk_accelerator_parse ##### -->
272 <!-- ##### FUNCTION gtk_accelerator_name ##### -->
282 <!-- ##### FUNCTION gtk_accelerator_get_label ##### -->
292 <!-- ##### FUNCTION gtk_accelerator_set_default_mod_mask ##### -->
300 <!-- ##### FUNCTION gtk_accelerator_get_default_mod_mask ##### -->