Constructor

GtkMenuItemnew_with_mnemonic

Declaration [src]

GtkWidget*
gtk_menu_item_new_with_mnemonic (
  const gchar* label
)

Description [src]

Creates a new GtkMenuItem 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.

Parameters

label

Type: const gchar*

The text of the button, 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 GtkMenuItem.

The data is owned by the called function.