Constructor

GtkRadioMenuItemnew_with_label_from_widget

since: 2.4

Declaration [src]

GtkWidget*
gtk_radio_menu_item_new_with_label_from_widget (
  GtkRadioMenuItem* group,
  const gchar* label
)

Description [src]

Creates a new GtkRadioMenuItem whose child is a simple GtkLabel. The new GtkRadioMenuItem is added to the same group as group.

Available since: 2.4

Parameters

group

Type: GtkRadioMenuItem

An existing GtkRadioMenuItem.

The argument can be NULL.
The data is owned by the caller of the function.
label

Type: const gchar*

The text for the label.

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

Return value

Type: GtkWidget

The new GtkRadioMenuItem.

The data is owned by the called function.