Home › Engine Lua tables › ForgeUI control types › TabControl
Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.
TabControl
ForgeUI control type (ForgeUI::TabControl). 5 methods, called on an instance with a colon: Controls.SomeName:Method(...).
C++ base classes (from the exe RTTI, see engine classes): ForgeUI::ControlBase. Whether the Lua type also exposes the base class methods was not checked; the methods below are those registered on this type itself.
| Method |
C++ signature printed by the exe |
Lua signature |
Owner basis |
GetSelectedTab |
ControlBase* GetSelectedTab( void ) |
TabControl:GetSelectedTab() -> ControlBase |
unique method name |
GetSelectedTabID |
const char* GetSelectedTabID( void ) const |
TabControl:GetSelectedTabID() -> string |
unique method name |
SelectTab |
void SelectTab( ControlBase* ) |
TabControl:SelectTab(arg1: ControlBase) |
unique method name |
SelectTabByID |
void SelectTabByID( const char* ) |
TabControl:SelectTabByID(arg1: string) |
unique method name |
SetTabSelectedCallback |
void SetTabSelectedCallback( function ) |
TabControl:SetTabSelectedCallback(arg1: function) |
unique method name |