Tabs control.
Simple tabs control, similar to [TabContainer] but is only in charge of drawing tabs, not interact with children.
Adds a new tab.
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 [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 [Texture] for the tab at index [code]tab_idx[/code] or [code]null[/code] if the tab has no [Texture].
Returns the number of hidden tabs offsetted to the left.
Returns tab [Rect2] with local position and size.
Returns the title of the tab at index [code]tab_idx[/code]. Tab titles default to the name of the indexed child node, but this can be overridden with [method set_tab_title].
Returns the [Tabs]' 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]false[/code], hides the tab at index [code]tab_idx[/code]. [b]Note:[/b] Its title text will remain unless it is also removed with [method set_tab_title].
Sets an [code]icon[/code] for the tab at index [code]tab_idx[/code].
Sets a [code]title[/code] for the tab at index [code]tab_idx[/code].
Defines the rearrange group ID. Choose for each [Tabs] the same value to dragging tabs between [Tabs]. Enable drag with [code]set_drag_to_rearrange_enabled(true)[/code].
- 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 cab 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 a tab is right-clicked.
Emitted when switching to another tab.
Emitted when a tab is clicked, even if it is the current tab.
Emitted when a tab is closed.
Emitted when a tab is hovered by the mouse.
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.