Destroy all windows?
Posted: Wed Apr 15, 2009 10:04
I want to destroy all window when game exit.
But I find a problem, it is that default window is GUISheet? It doesn't has window's functions, so I can't use for loop to destroy all windows.
I want to destroy all windows like this:
for idx in xrange(win.ChildCount):
win.getChildByIdx(idx)
But I find a problem, it is that default window is GUISheet? It doesn't has window's functions, so I can't use for loop to destroy all windows.
I want to destroy all windows like this:
for idx in xrange(win.ChildCount):
win.getChildByIdx(idx)