Method GTK2.ToggleButton()->create()
- Method create
GTK2.ToggleButton GTK2.ToggleButton(string|mappinglabel_or_props,int|voidmnemonic)- 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.