Home › Engine Lua tables › ForgeUI control types › GridButtonControl

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.

GridButtonControl

ForgeUI control type (ForgeUI::GridButtonControl). 15 methods, called on an instance with a colon: Controls.SomeName:Method(...).

C++ base classes (from the exe RTTI, see engine classes): ForgeUI::ButtonControlBase > 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
GetText const char* GetText( void ) GridButtonControl:GetText() -> string neighbouring methods in the code
GetTextControl TextControl* GetTextControl( void ) GridButtonControl:GetTextControl() -> TextControl neighbouring methods in the code
GetTexture — GridButtonControl:GetTexture() neighbouring methods in the code
GetTexture — GridButtonControl:GetTexture() neighbouring methods in the code
LocalizeAndSetText — GridButtonControl:LocalizeAndSetText() neighbouring methods in the code
SetSizeToText void SetSizeToText( float, float ) GridButtonControl:SetSizeToText(arg1: number, arg2: number) unique method name
SetSizeVal void SetSizeVal( float, float ) GridButtonControl:SetSizeVal(arg1: number, arg2: number) neighbouring methods in the code
SetSizeVal void SetSizeVal( float, float ) GridButtonControl:SetSizeVal(arg1: number, arg2: number) neighbouring methods in the code
SetText void SetText( const char* ) GridButtonControl:SetText(arg1: string) neighbouring methods in the code
SetTexture — GridButtonControl:SetTexture() neighbouring methods in the code
SetTexture — GridButtonControl:SetTexture() neighbouring methods in the code
SetTextureOffset void SetTextureOffset( FGXVector2 ) GridButtonControl:SetTextureOffset(arg1: FGXVector2) neighbouring methods in the code
SetTextureOffset void SetTextureOffset( FGXVector2 ) GridButtonControl:SetTextureOffset(arg1: FGXVector2) neighbouring methods in the code
SetTextureOffsetVal void SetTextureOffsetVal( float, float ) GridButtonControl:SetTextureOffsetVal(arg1: number, arg2: number) neighbouring methods in the code
SetTextureOffsetVal void SetTextureOffsetVal( float, float ) GridButtonControl:SetTextureOffsetVal(arg1: number, arg2: number) neighbouring methods in the code