Tabs

To create tabs, place this right after the Window or somewhere above the buttons.

local Tabs = {
    Main = Window:AddTab({ Title = "Main", Icon = "" }),
    Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
}

Other Functions

The variable is this.

local TabModule = {
	Window = nil,
	Tabs = {},
	Containers = {},
	SelectedTab = 0,
	TabCount = 0,
}

You can probably select tabs using this function too.

TabModule:SelectTab(Tab)

Unknown Functions

I would say this gets the current position of the tab, but I'm unsure.

TabModule:GetCurrentTabPos()

Last updated