Clicked#
func (result SwitchResult) Clicked() boolClicked reports whether this paint is delivering a click on the control.
type SwitchResult struct {
// contains filtered or unexported fields
}SwitchResult is what painting reports back; Clicked is true in the event pass of a click on the control (see ui.Canvas.Clicked), so the code that declares it handles it.
Clicked#func (result SwitchResult) Clicked() boolClicked reports whether this paint is delivering a click on the control.