ToggleButton.with_mnemonic


Description:

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

Creates a new `GtkToggleButton` containing a label.

The label will be created using [ctor@Gtk.Label.new_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 `GtkToggleButton`