Documentation
›
API Reference
›
Object
›
Widget
SetState
Lua
C++
This function sets the state of a widget. This can be used to make a checkbox-style button checked or utilize other user-defined features.
Syntax
void
SetState
(const bool state)
Parameters
state:
state to set the widget.