1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| class MainTab(wx.Notebook):
def __init__(self, parent):
wx.Notebook.__init__(self, parent, size=(900, 700))
self.checkins=[]
self.numobj=CHK_DEBUG
self.tabnum=0
self.pagelist=[]
self.grandparent=parent
def AddTabs(self):
self.Pwin = TabCTrace(self)
self.AddPage(self.Pwin, 'Configuration')
win = TabSystemTrace(self)
self.AddPage(win, 'initialisation')
self.AddPage(win, 'connexion')
win = TabRlcMacDec(self)
self.AddPage(win, 'Board Connection')
self.cb = wx.CheckBox(self.Pwin, -1, 'blanc', (40, 70))
self.cb = wx.CheckBox(self.Pwin, 1, 'noir', (40, 90))
self.cb = wx.CheckBox(self.Pwin, 1, 'jaune', (40, 110))
self.cb = wx.CheckBox(self.Pwin, 1, 'vert', (40, 130))
self.cb = wx.CheckBox(self.Pwin, 1, 'rouge', (40, 150))
self.cb.SetValue(True)
CTAct_grid = wx.GridBagSizer()
self.SelAllButton = wx.Button(self, -1, "SelectAll")
self.UnselAllButton = wx.Button(self, -1, "UnSelectAll")
self.SetSizer(CTAct_grid) |
Partager