Updated Button (markdown)

Robert Jelic
2022-05-02 18:32:37 +02:00
parent a962c306d6
commit 98264c6d9a

@@ -9,8 +9,8 @@ Sets the displayed button text
local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aButton = mainFrame:addButton("myFirstButton"):setText("Click"):show() -- you could also use :setValue() instead of :setText() - no difference
````
**args:** text<br>
**returns:** the object<br>
**parameters:** string text<br>
**returns:** self<br>
# Examples
Add a onClick event: