Пример #1
0
 def remove_apps(self, event):
     children = [
         child for child in self.app_box.GetStaticBox().GetChildren()
         if child.GetName() != "check"
     ]
     app_list = [
         child.GetName() for child in children
         if isinstance(child, wx.CheckBox) and child.IsChecked()
     ]
     dwt_util.app_manager(app_list, undo=False)
Пример #2
0
 def remove_apps(self, event):
     children = [child for child in self.app_box.GetStaticBox().GetChildren() if child.GetName() != "check"]
     app_list = [child.GetName() for child in children if isinstance(child, wx.CheckBox) and child.IsChecked()]
     dwt_util.app_manager(app_list, undo=False)