Updated Object (markdown)

Robert Jelic
2022-04-02 16:07:09 +02:00
parent 55967e0efc
commit 9d28c0c42b

@@ -5,19 +5,9 @@ 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()
````s
````
**args:** -<br>
**returns:** the object<br>