etherlab/ConfigEditor.py
changeset 2072 b7477ba593ba
parent 2071 37d603e91a43
child 2089 3f5c41f3d47f
equal deleted inserted replaced
2071:37d603e91a43 2072:b7477ba593ba
   158         for colname, colsize, colalign in zip(GetVariablesTableColnames(),
   158         for colname, colsize, colalign in zip(GetVariablesTableColnames(),
   159                                               [40, 150, 100, 100, 150, 100, 150, 100],
   159                                               [40, 150, 100, 100, 150, 100, 150, 100],
   160                                               [wx.ALIGN_RIGHT, wx.ALIGN_LEFT, wx.ALIGN_RIGHT, 
   160                                               [wx.ALIGN_RIGHT, wx.ALIGN_LEFT, wx.ALIGN_RIGHT, 
   161                                                wx.ALIGN_RIGHT, wx.ALIGN_LEFT, wx.ALIGN_RIGHT, 
   161                                                wx.ALIGN_RIGHT, wx.ALIGN_LEFT, wx.ALIGN_RIGHT, 
   162                                                wx.ALIGN_LEFT, wx.ALIGN_LEFT]):
   162                                                wx.ALIGN_LEFT, wx.ALIGN_LEFT]):
   163             self.VariablesGrid.AddColumn(colname, colsize, colalign)
   163             self.VariablesGrid.AddColumn(_(colname), colsize, colalign)
   164         self.VariablesGrid.SetMainColumn(1)
   164         self.VariablesGrid.SetMainColumn(1)
   165     
   165     
   166     def GetBufferState(self):
   166     def GetBufferState(self):
   167         return False, False
   167         return False, False
   168         
   168