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
This stuff needs more information added to it and it will probably not work either way.
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)To create a new tab, use this.
TabModule:New(Title, Icon, Parent)Unknown Functions
I would say this gets the current position of the tab, but I'm unsure.
I don't know what this does. It sets the TabModule.Window to the Window.
Last updated