MenuItem.with_mnemonic


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public MenuItem.with_mnemonic (string label)

Creates a new MenuItem containing a label.

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

Parameters:

label

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

Returns:

a new MenuItem




2022 vala-language.org