ImageMenuItem.this

Creates a new GtkImageMenuItem containing the image and text from a stock item. Some stock ids have preprocessor macros like GTK_STOCK_OK and GTK_STOCK_APPLY. If you want this menu item to have changeable accelerators, then pass in NULL for accel_group. Next call gtk_menu_item_set_accel_path() with an appropriate path for the menu item, use gtk_stock_lookup() to look up the standard accelerator for the stock item, and if one is found, call gtk_accel_map_add_entry() 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.

Meta