Gtk.Menu.prototype.set_accel_group
function set_accel_group(accel_group:Gtk.AccelGroup):void {
// Gjs wrapper for gtk_menu_set_accel_group()
}Set the Gtk.AccelGroup which holds global accelerators for the menu. This accelerator group needs to also be added to all windows that this menu is being used in with Gtk.add_accel_group, in order for those windows to support all the accelerators contained in this group.
- accel_group
the Gtk.AccelGroup to be associated with the menu.