Button
Button([value]) -> Button widgetA widget resembling a button.
Arguments
- value
- The text or widget to be displayed on the button.
Switch
Switch([value, [on_label, [off_label]]]) -> Switch widgetThis is very similar to a button except the value will always be ether True or False
Arguments
- value
- You can set it to True or False (default).
- on_label
- The text displayed when the switch is on.
- off_label
- The text displayed when the switch is off.