def showWindowHierarchy(self, indent='  '):
    'For debugging.'
    focus = (u'[f]' if self.isFocusable else u'[ ]')
    extra = u''
    if hasattr(self, 'label'):
        extra += ((u' "' + self.label) + u'"')
    app.log.info(('%s%s%s%s' % (indent, focus, self, extra)))
    for child in self.zOrder:
        child.showWindowHierarchy((indent + u'  '))
For debugging.
def showWindowHierarchy(self, indent='  '):
    
    focus = (u'[f]' if self.isFocusable else u'[ ]')
    extra = u
    if hasattr(self, 'label'):
        extra += ((u' "' + self.label) + u'"')
    app.log.info(('%s%s%s%s' % (indent, focus, self, extra)))
    for child in self.zOrder:
        child.showWindowHierarchy((indent + u'  '))