Updated Object (markdown)

Robert Jelic
2022-04-02 16:09:01 +02:00
parent 9d28c0c42b
commit 5bbcf944ca

@@ -5,6 +5,16 @@ Here is a list of possible functions:
shows the object (only if the parent frame is already visible)
````lua
local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
local button = mainFrame:addButton("myFirstButton")
button:show()
````
**args:** -<br>
**returns:** the object<br>
## hide
hides the object
````lua
local mainFrame = NyoUI.createFrame("myFirstFrame"):show()
local button = mainFrame:addButton("myFirstButton"):setText("Close"):onClick(function() mainFrame:hide() end)
button:show()
````