def debugDraw(self):
    programWindow = self
    while (programWindow.parent is not None):
        programWindow = programWindow.parent
    programWindow.debugDraw(self)
def debugDraw(self):
    programWindow = self
    while (programWindow.parent is not None):
        programWindow = programWindow.parent
    programWindow.debugDraw(self)