GtkImageMenuItem
containing the image and text from a
stock item. Some stock ids have preprocessor functions like GTK_STOCK_OK
and GTK_STOCK_APPLY
.gtkImageMenuItemNewFromStock(stock.id, accel.group, show = TRUE)
stock.id
accel.group
GtkAccelGroup
to add the menu items accelerator to,
or NULL
.GtkWidget
] a new GtkImageMenuItem
.NULL
for accel_group. Next call gtkMenuItemSetAccelPath
with an
appropriate path for the menu item, use gtkStockLookup
to look up the
standard accelerator for the stock item, and if one is found, call
gtkAccelMapAddEntry
to register it.