Window
This type represents a window control.
This type inherits Control type. All of its base methods and fields are also available in this type.
Retrieve
This type doesn't have a constructor and there's only one window, which can be retrieved like this:
local wnd = gui.GetMainWindow()If you wish to create new windows, look into LuaPopupControl instead.
AddTab
Method
Adds a new tab to the menu.
Tabs usually have a layout that supports only three group columns. You may use a custom Layout with tab layout mode NONE to bypass this restriction.
Arguments
Name
Type
Description
title
string
Tab name.
Returns
Type
Description
The new tab container, or subtab container if layoutMode is SUBTABS
Example (subtabs)
Example (no subtabs)
Last updated