Method GTK2.ToggleButton()->create()

class GTK2.ToggleButton

Method create

GTK2.ToggleButton GTK2.ToggleButton(void label_or_props, void mnemonic)

Description

If you supply a string, a label will be created and inserted in the button. Otherwise, use ->add(widget) to create the contents of the button.