Esempio 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)
Esempio 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)
Esempio 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
Esempio 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