GtkMenu::set_accel_group
set_accel_group() sets the global
accelerator group for a GtkMenu. A
GtkAccelGroup set in this way should also be
designated as toplevel. This is achieved by calling
add_accel_group() from the
corresponding toplevel GtkWindow.
Note that there is a bug in the win32 version of GTK+ currently used
in PHP-GTK. The accelerator key appears as it should, but does not
connect to its designated signal where the accel group has been newly
created and set in this way. Also, much of the accelerator locking
mechanism has been replaced in GTK2. Future-friendly code can be
created by using GtkItemFactory to create your
menus; however, the same limitations in functionality currently apply.