Constructor

GtkMenuItemnew_with_label

Declaration [src]

GtkWidget*
gtk_menu_item_new_with_label (
  const gchar* label
)

Description [src]

Creates a new GtkMenuItem whose child is a GtkLabel.

Parameters

label

Type: const gchar*

The text for the label.

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

Return value

Type: GtkWidget

The newly created GtkMenuItem.

The data is owned by the called function.