Files
Basalt/docs/objects/Checkbox/setSymbol.md
Robert Jelic 51f6ebe7ce docs updates
2022-09-06 17:43:03 +02:00

18 lines
338 B
Markdown

## setSymbol
Changes the checkbox symbol, default is "\42"
#### Parameters:
1. `string` symbol
#### Returns:
1. `object` The object in use
#### Usage:
* Creates a new checkbox and changes the symbol to o
```lua
local main = basalt.createFrame()
local checkbox = main:addCheckbox():setSymbol("o")
```
```xml
<checkbox symbol="o" />
```