ImageMenuItem.setAccelGroup

void setAccelGroup(gtk.accel_group.AccelGroup accelGroup)

Specifies an accel_group to add the menu items accelerator to (this only applies to stock items so a stock item must already be set, make sure to call [gtk.image_menu_item.ImageMenuItem.setUseStock] and [gtk.menu_item.MenuItem.setLabel] with a valid stock item first).

If you want this menu item to have changeable accelerators then you shouldnt need this (see [gtk.image_menu_item.ImageMenuItem.newFromStock]).

Parameters

accelGroupthe #GtkAccelGroup