示例#1
0
 def createWidgets(self):
     self.staticBox = wx.StaticBox(
         self, wx.ID_ANY,
         _extstr(u"pingsitesprefpage.Ping_Sites"))  #$NON-NLS-1$
     self.contentProvider = ZPingListContentProvider()
     self.pingSites = ZCheckBoxListViewWithButtons(self.contentProvider,
                                                   self, wx.ID_ANY)
示例#2
0
 def _createPingPage(self):
     self.pingPanel = ZSmartTransparentPanel(self.notebook, wx.ID_ANY)
     self.pingListProvider = ZPingListContentProvider()
     self.pingListCtrl = ZCheckBoxListViewWithButtons(self.pingListProvider, self.pingPanel)
     return self.pingPanel