Constructor
GtkRadioMenuItemnew_with_mnemonic_from_widget
since: 2.4
Declaration [src]
GtkWidget*
gtk_radio_menu_item_new_with_mnemonic_from_widget (
GtkRadioMenuItem* group,
const gchar* label
)
Description [src]
Creates a new GtkRadioMenuItem 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.
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 of the button, with an underscore in front of the mnemonic character.
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. |