Ejemplo n.º 1
0
 def load_positions(self):
     widths = settings.session_get('asm_view_col_widths')
     cols = self.list.GetColumnCount()
     if cols != len(widths):
         raise Exception("Wrong number of saved column widths.")
     for i, width, in enumerate(widths):
         self.list.SetColumnWidth(i, width)
Ejemplo n.º 2
0
 def load_positions(self):
     widths = settings.session_get('asm_view_col_widths')
     cols = self.list.GetColumnCount()
     if cols != len(widths):
         raise Exception("Wrong number of saved column widths.")
     for i, width, in enumerate(widths):
         self.list.SetColumnWidth(i, width)
Ejemplo n.º 3
0
 def load_positions(self):
     try:
         widths = settings.session_get('runtime_view_col_widths')
         cols = self.GetColumnCount()
         if len(widths) != cols:
             raise Exception("Mismatch of stored column widths")
         for i, width in enumerate(widths):
             self.SetColumnWidth(i, width)
     except:
         pass
Ejemplo n.º 4
0
 def load_positions(self):
     try:
         widths = settings.session_get('runtime_view_col_widths')
         cols = self.GetColumnCount()
         if len(widths) != cols:
             raise Exception("Mismatch of stored column widths")
         for i, width in enumerate(widths):
             self.SetColumnWidth(i, width)
     except:
         pass