ImageMenuItem.newWithMnemonic

gtk.image_menu_item.ImageMenuItem newWithMnemonic(string label)

Creates a new #GtkImageMenuItem containing a label. The label will be created using [gtk.label.Label.newWithMnemonic], so underscores in label indicate the mnemonic for the menu item.

Parameters

labelthe text of the menu item, with an underscore in front of the mnemonic character

Returns

a new #GtkImageMenuItem

Deprecated

Use [gtk.menu_item.MenuItem.newWithMnemonic] instead.