Constructor

GtkImageMenuItemnew_with_mnemonic

Declaration [src]

GtkWidget*
gtk_image_menu_item_new_with_mnemonic (
  const gchar* label
)

Description [src]

Creates a new GtkImageMenuItem containing a label. The label will be created using gtk_label_new_with_mnemonic(), so underscores in label indicate the mnemonic for the menu item.

Deprecated since:3.10

Use gtk_menu_item_new_with_mnemonic() instead.

Parameters

label

Type: const gchar*

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

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: GtkWidget

A new GtkImageMenuItem.

The data is owned by the called function.