Tab bar control. Simple tabs control, similar to [TabContainer] but is only in charge of drawing tabs, not interacting with children. Adds a new tab. Removes all OpenType features from the tab title. Moves the scroll view to make the tab visible. Returns [code]true[/code] if the offset buttons (the ones that appear when there's not enough space for all tabs) are visible. Returns the previously active tab index. Returns [code]true[/code] if select with right mouse button is enabled. Returns the number of tabs. Returns [code]true[/code] if the tab at index [code]tab_idx[/code] is disabled. Returns the [Texture2D] for the tab at index [code]tab_idx[/code] or [code]null[/code] if the tab has no [Texture2D]. Returns tab title language code. Returns the number of hidden tabs offsetted to the left. Returns OpenType feature [code]tag[/code] of the tab title. Returns tab [Rect2] with local position and size. Returns tab title text base writing direction. Returns the title of the tab at index [code]tab_idx[/code]. Returns the [TabBar]'s rearrange group ID. Moves a tab from [code]from[/code] to [code]to[/code]. Removes the tab at index [code]tab_idx[/code]. If [code]true[/code], enables selecting a tab with the right mouse button. If [code]disabled[/code] is [code]true[/code], disables the tab at index [code]tab_idx[/code], making it non-interactable. Sets an [code]icon[/code] for the tab at index [code]tab_idx[/code]. Sets language code of tab title used for line-breaking and text shaping algorithms, if left empty current locale is used instead. Sets OpenType feature [code]tag[/code] for the tab title. More info: [url=https://docs.microsoft.com/en-us/typography/opentype/spec/featuretags]OpenType feature tags[/url]. Sets tab title base writing direction. Sets a [code]title[/code] for the tab at index [code]tab_idx[/code]. Defines the rearrange group ID. Choose for each [TabBar] the same value to dragging tabs between [TabBar]. Enable drag with [member drag_to_rearrange_enabled]. If [code]true[/code], tabs overflowing this node's width will be hidden, displaying two navigation buttons instead. Otherwise, this node's minimum size is updated so that all tabs are visible. Select tab at index [code]tab_idx[/code]. If [code]true[/code], tabs can be rearranged with mouse drag. if [code]true[/code], the mouse's scroll wheel can be used to navigate the scroll view. The alignment of all tabs. See [enum TabAlign] for details. Sets when the close button will appear on the tabs. See [enum CloseButtonDisplayPolicy] for details. Emitted when the active tab is rearranged via mouse drag. See [member drag_to_rearrange_enabled]. Emitted when switching to another tab. Emitted when a tab is clicked, even if it is the current tab. Emitted when a tab's close button is pressed. [b]Note:[/b] Tabs are not removed automatically once the close button is pressed, this behaviour needs to be programmed manually. For example: [codeblocks] [gdscript] $TabBar.tab_close_pressed.connect($TabBar.remove_tab) [/gdscript] [csharp] GetNode<TabBar>("TabBar").TabClosePressed += GetNode<TabBar>("TabBar").RemoveTab; [/csharp] [/codeblocks] Emitted when a tab is hovered by the mouse. Emitted when a tab is right-clicked. Align the tabs to the left. Align the tabs to the center. Align the tabs to the right. Represents the size of the [enum TabAlign] enum. Never show the close buttons. Only show the close button on the currently active tab. Show the close button on all tabs. Represents the size of the [enum CloseButtonDisplayPolicy] enum. The icon for the close button (see [member tab_close_display_policy]). Background of the close button when it's being hovered with the cursor. Background of the close button when it's being pressed. Icon for the left arrow button that appears when there are too many tabs to fit in the container width. When the button is disabled (i.e. the first tab is visible), it appears semi-transparent. Icon for the left arrow button that appears when there are too many tabs to fit in the container width. Used when the button is being hovered with the cursor. The font used to draw tab names. Font color of disabled tabs. The tint of text outline of the tab name. Font color of the currently selected tab. Font size of the tab names. Font color of the other, unselected tabs. The horizontal separation between the elements inside tabs. Icon for the right arrow button that appears when there are too many tabs to fit in the container width. When the button is disabled (i.e. the last tab is visible) it appears semi-transparent. Icon for the right arrow button that appears when there are too many tabs to fit in the container width. Used when the button is being hovered with the cursor. The size of the tab text outline. The style of disabled tabs. The style of the currently selected tab. The style of the other, unselected tabs.