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

Method selectWindow

Engine/source/gui/controls/guiTabPageCtrl.cpp:197–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196
197void GuiTabPageCtrl::selectWindow(void)
198{
199 //first make sure this window is the front most of its siblings
200 GuiControl *parent = getParent();
201 if (parent)
202 {
203 parent->pushObjectToBack(this);
204 }
205
206 //also set the first responder to be the one within this window
207 setFirstResponder(mFirstResponder);
208}
209
210void GuiTabPageCtrl::onRender(Point2I offset,const RectI &updateRect)
211{

Callers

nothing calls this directly

Calls 1

pushObjectToBackMethod · 0.80

Tested by

no test coverage detected