Package: gtk

Accessor gtk-image-menu-item-accel-group

Lambda List

gtk-image-menu-item-accel-group (object)

Syntax

(setf (gtk-image-menu-item-accel-group object) group)

Arguments

object -- a gtk-image-menu-item widget
group -- a gtk-accel-group object

Details

Accessor of accel-group slot of the gtk-image-menu-item class.

Specifies an accelerator 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 the gtk-image-menu-item-use-stock and gtk-menu-item-label functions with a valid stock item first.

If you want this menu item to have changeable accelerators then you should not need this. See the function gtk-image-menu-item-new-from-stock.

Warning

The function gtk-image-menu-item-accel-group has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-21