348 B
348 B
addLayout
Adds a new XML Layout into your frame.
Parameters:
stringPath to your layout
Returns:
frameThe frame being used
Usage:
- Creates a new base frame and adds the mainframe.xml layout
local myFrame = basalt.createFrame():addLayout("mainframe.xml")
<frame layout="mainframe.xml"></frame>