set_accel_group


Description:

[ Version ( since = "2.16" ) ]
public void set_accel_group (AccelGroup accel_group)

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 set_use_stock and set_label with a valid stock item first).

If you want this menu item to have changeable accelerators then you shouldnt need this (see ImageMenuItem.from_stock).

Parameters:

this

a ImageMenuItem

accel_group

the AccelGroup