5
Pane
Robert Jelic edited this page 2022-05-28 06:49:24 +02:00

Panes are very simple sizeable background objects.

The following list is only available to panes:
Remember pane also inherits from object:

Pane doesn't have any custom functionallity. If you want to change the color/position or size, just check out the object wikipage.

Example:

local mainFrame = basalt.createFrame("myFirstFrame"):show()
local aPane = mainFrame:addPane("myFirstBackground")
aPane:setSize(30, 10)
aPane:setBackground(colors.yellow)
aPane:show()