Files
Basalt/docs/objects/Frame/addLayout.md
Robert Jelic 4d614372a1 Updated docs
There is still stuff to do
2022-08-28 18:18:26 +02:00

348 B

addLayout

Adds a new XML Layout into your frame.

Parameters:

  1. string Path to your layout

Returns:

  1. frame The 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>