setValue()
Set whether the button is pressed.
toggle.setValue(newValue)
Redraws the button and calls its update function.
Parameters
toggle.setValue(newValue)
| Parameter | Type | Default | Description |
|---|---|---|---|
newValue |
bool |
required | True to press the button, False to release it. |