Extension| layout | |
| title | |
| onFunction | |
| offFunction | |
| init | |
| minWidth |
button width is calculated to fit the title setting minWidth will widen the button to a minimum width |
| minHeight |
default is the GUI.skin.buttonHeight |
| onColor | |
| offColor |
set the value, not doing the action
| way |
with no arguments it toggles the state, doing the action or may set the value explicitly (like value_ but doing the action as well)
| way | |
| doAction |
boolean: if the action handler should be run |
| layout | |
| init | |
| title | |
| minWidth | |
| minHeight | |
| onc | |
| offc |
| newstate |