ToggleButton.newWithMnemonic

Creates a new gtk.toggle_button.ToggleButton containing a label.

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

class ToggleButton
static
newWithMnemonic
(
string label
)

Parameters

label string

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

Return Value

Type: gtk.toggle_button.ToggleButton