Skip to main content

TabPanel

TabPanel

Usage​

Client/Index.lua
local tabPanel = EGUI.TabPanel(10, 10, 100, 100)

Constructor Parameters​

TypeNameDefault
numberposX
numberposY
numberwidth
numberheight
tableparentnil

Functions​

Inherited Element Functions
ReturnsNameDescription
Base ElementSetVisibleSets element visibility
booleanIsVisibleReturns if element is visible
Base ElementSetAlphaSets element alpha
numberGetAlphaReturns element alpha
Base ElementSetPositionSets element position
number, numberGetPositionReturns element position
Base ElementSetSizeSets element size
number, numberGetSizeReturns element size
Base ElementSetAlignmentSets element alignment
stringGetAlignmentGets element alignment
SubscribeSubscribes to an event
UnsubscribeUnsubscribes from a event
ReturnsNameDescription
tableAddTabAdds new tab to tab panel

AddTab​

Adds new tab to tab panel

Returns a table

tabPanel:AddTab("Tab")
TypeParameterDefault ValueDescription
stringtextThe title of the tab