Pike v8.1 release 6

Method GTK2.ToggleButton()->create()


Method create

GTK2.ToggleButton GTK2.ToggleButton(string|mapping label_or_props, int|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.