Add all objects

This commit is contained in:
Erlend
2022-05-30 07:49:44 +02:00
committed by GitHub
parent a9e8251e59
commit 91933afdc2
21 changed files with 1524 additions and 0 deletions

14
docs/objects/Checkbox.md Normal file
View File

@@ -0,0 +1,14 @@
# Checkbox
With checkbox, the user can set a bool to true or false
Here are all possible functions available for checkbox:<be>
Remember checkbox inherits from [object](https://github.com/NoryiE/NyoUI/wiki/Object):
Create a onChange event:
````lua
local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aCheckbox = mainFrame:addCheckbox("myFirstCheckbox"):onChange(function(self) basalt.debug("The value got changed into "..self:getValue()) end):show()
````