- _childRenamedCallback
void _childRenamedCallback()
- _guiInput
void _guiInput(InputEvent arg0)
- _onThemeChanged
void _onThemeChanged()
- _updateCurrentTab
void _updateCurrentTab()
- areTabsVisible
bool areTabsVisible()
- getCurrentTab
long getCurrentTab()
- getCurrentTabControl
Control getCurrentTabControl()
Returns the child Control node located at the active tab index.
- getDragToRearrangeEnabled
bool getDragToRearrangeEnabled()
- getPopup
Popup getPopup()
Returns the Popup node instance if one has been set already with setPopup.
- getPreviousTab
long getPreviousTab()
Returns the previously active tab index.
- getTabAlign
TabContainer.TabAlign getTabAlign()
- getTabControl
Control getTabControl(long idx)
Returns the currently visible tab's Control node.
- getTabCount
long getTabCount()
Returns the number of tabs.
- getTabDisabled
bool getTabDisabled(long tab_idx)
Returns true if the tab at index tab_idx is disabled.
- getTabIcon
Ref!Texture getTabIcon(long tab_idx)
Returns the Texture for the tab at index tab_idx or null if the tab has no Texture.
- getTabTitle
String getTabTitle(long tab_idx)
Returns the title of the tab at index tab_idx. Tab titles default to the name of the indexed child node, but this can be overridden with setTabTitle.
- getTabsRearrangeGroup
long getTabsRearrangeGroup()
Returns the TabContainer rearrange group id.
- opAssign
TabContainer opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(TabContainer other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- setCurrentTab
void setCurrentTab(long tab_idx)
- setDragToRearrangeEnabled
void setDragToRearrangeEnabled(bool enabled)
- setPopup
void setPopup(GodotObject popup)
If set on a Popup node instance, a popup menu icon appears in the top-right corner of the TabContainer. Clicking it will expand the Popup node.
- setTabAlign
void setTabAlign(long _align)
- setTabDisabled
void setTabDisabled(long tab_idx, bool disabled)
If disabled is false, hides the tab at index tab_idx. Note that its title text will remain, unless also removed with setTabTitle.
- setTabIcon
void setTabIcon(long tab_idx, Texture icon)
Sets an icon for the tab at index tab_idx.
- setTabTitle
void setTabTitle(long tab_idx, StringArg1 title)
Sets a title for the tab at index tab_idx. Tab titles default to the name of the indexed child node, but this can be overridden with setTabTitle.
- setTabsRearrangeGroup
void setTabsRearrangeGroup(long group_id)
Defines rearrange group id, choose for each TabContainer the same value to enable tab drag between TabContainer. Enable drag with set_drag_to_rearrange_enabled(true).
- setTabsVisible
void setTabsVisible(bool visible)
Tabbed Container.
Sets the active tab's visible property to the value true. Sets all other children's to false. Ignores non-Control children. Individual tabs are always visible unless you use setTabDisabled and setTabTitle to hide it. To hide only a tab's content, nest the content inside a child Control, so it receives the TabContainer's visibility setting instead.