ImageMenuItem.this

Creates a new GtkImageMenuItem containing the image and text from a stock item. If you want this menu item to have changeable accelerators, then pass in null for accelGroup. Next call setAccelPath() with an appropriate path for the menu item, use gtk.StockItem.StockItem.lookup() to look up the standard accelerator for the stock item, and if one is found, call gtk.AccelMap.AccelMap.addEntry() to register it.

Parameters

accelGroup AccelGroup

the GtkAccelGroup to add the menu items accelerator to, or NULL.

Throws

ConstructionException GTK+ fails to create the object.