Toggle Button

Toggle button is like a switch, it can be pushed in or out. It's state is controlled by bscript. It has 4 bscript properties,
- Value: Whether the button is in or out. If
truethe button is in, iffalsethe button is out. - On Change:
event()will yield the new requested state of the button.truefor in,falsefor out. - Label: The text displayed in the button
- Image: The image displayed in the button. This uses the same format as the image widget's spec property. If both text and image are valid then the button will have both an image and text.
