Updated How To (markdown)
@@ -16,7 +16,7 @@ local basalt = dofile("basalt.lua")
|
|||||||
|
|
||||||
--Here you create a level0 frame (a frame without a parents) only frames can be shown without a parent.
|
--Here you create a level0 frame (a frame without a parents) only frames can be shown without a parent.
|
||||||
--As variable you have to use a unique name - otherwise you wont get a frame object back. :show() immediatly shows the object on the screen
|
--As variable you have to use a unique name - otherwise you wont get a frame object back. :show() immediatly shows the object on the screen
|
||||||
local main = basalt.createFrame("mainFrame"):show()
|
local main = basalt.createFrame("mainFrame")
|
||||||
main:show()
|
main:show()
|
||||||
|
|
||||||
local button = main:addButton("clickableButton")
|
local button = main:addButton("clickableButton")
|
||||||
|
|||||||
Reference in New Issue
Block a user