MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / selectPage

Method selectPage

Engine/source/gui/containers/guiTabBookCtrl.cpp:815–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813//-----------------------------------------------------------------------------
814
815void GuiTabBookCtrl::selectPage( S32 index )
816{
817 if( mPages.empty() || index < 0 )
818 return;
819
820 if( mPages.size() <= index )
821 index = mPages.size() - 1;
822
823 // Select the page
824 selectPage( mPages[ index ].Page );
825}
826
827//-----------------------------------------------------------------------------
828

Callers 3

_setSelectedPageMethod · 0.80
guiTabBookCtrl.cppFile · 0.80
guiTabPageCtrl.cppFile · 0.80

Calls 6

emptyMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
setVisibleMethod · 0.45
getTextMethod · 0.45

Tested by

no test coverage detected