RadioMenuItem.with_mnemonic_from_widget


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( since = "2.4" ) ]
public RadioMenuItem.with_mnemonic_from_widget (RadioMenuItem? group, string? label)

Creates a new GtkRadioMenuItem containing a label.

The label will be created using Label.with_mnemonic, so underscores in label indicate the mnemonic for the menu item.

The new RadioMenuItem is added to the same group as group.

Parameters:

group

An existing RadioMenuItem

label

the text of the button, with an underscore in front of the mnemonic character

Returns:

The new RadioMenuItem




2022 vala-language.org