Skip to content

TabContainerState

Inherits: Resource

Shared resource for the state of a tab container

Description

Resource used to watch and manipulate the state of a tab container regardless of where UI components are in the scene tree.

Properties

Type Name Default
int current_tab 0
PackedStringArray tabs_text

Methods

Returns Signature
void add_tab(tab_text: String, node: ScrollContainer)
void remove_tab(tab_text: String)

Property Descriptions

current_tab

int current_tab = 0

Note

There is currently no description for this property. Please help us by contributing one!

tabs_text

PackedStringArray tabs_text

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

add_tab()

void add_tab(tab_text: String, node: ScrollContainer)

Add the given tab

remove_tab()

void remove_tab(tab_text: String)

Remove the given tab