📂CThirdTab

CThirdTab metatable

:Name(): string

Returns tab's name.


:Parent(): CSecondTab

Returns tab's parent.


Returns widget type.


:Open(): nil

Opens parent tabs.


:Create(groupName: string, side [?]: Enum.GroupSide): CMenuGroup

Name
Type
Description

groupName

string

side [?]

(default: Enum.GroupSide.Default)

Creates new CMenuGroup.


:Find(groupName: string): CMenuGroup|nil

Name
Type
Description

groupName

string

Finds the CMenuGroup by name.


:Image(imagePath: string, offset [?]: Vec2): nil

Name
Type
Description

imagePath

string

Path to the image.

offset [?]

Optional image offset. (default: {0.0, 0.0})

Sets tab's image.


:Icon(icon: string, offset [?]: Vec2): nil

Name
Type
Description

icon

string

icon unicode.

offset [?]

Optional icon offset. (default: {0.0, 0.0})

Sets tab's icon. Icons list

Example

-- https://fontawesome.com/icons/user?f=classic&s=solid
tab:Icon( "\f{007}" )

Last updated