Exemplo n.º 1
0
 def describe_wxdialog(self, win, level=0):
     if win is None:
         return
     try:
         if len(win.Children) == 0:
             return
     except AttributeError:
         return
     Logger.newline()
     Logger.header2("wx Description")
     Logger.add("   Id    Classname                Label             Name")
     Logger.add("   ----  ------------------------ ----------------  ----------------")
     self.describe_wxdialog_windows(win)
Exemplo n.º 2
0
 def describe_menu_bar(self, menu_bar):
     Logger.newline()
     Logger.header2("Menu Bar:  count = %d" % menu_bar.MenuCount)
     for menu, name in menu_bar.Menus:
         self.describe_menu(menu, name)
Exemplo n.º 3
0
 def describe_menu_bar(self, menu_bar):
     Logger.newline()
     Logger.header2("Menu Bar:  count = %d" % menu_bar.MenuCount)
     for menu, name in menu_bar.Menus:
         self.describe_menu(menu, name)