ToggleButton.with_mnemonic


Description:

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

Creates a new ToggleButton containing a label.

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

Parameters:

label

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

Returns:

a new ToggleButton