ImageMenuItem.with_mnemonic


Description:

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

Creates a new ImageMenuItem containing a label.

Note:

Use MenuItem.with_mnemonic instead.

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 menu item, with an underscore in front of the mnemonic character

Returns:

a new ImageMenuItem




2022 vala-language.org