예제 #1
0
 def setheaders(self):
     self.master.view_grideditor(
         grideditor.SetHeadersEditor(
             self.master,
             self.master.options.setheaders,
             self.master.options.setter("setheaders")
         )
     )
예제 #2
0
 def setheaders(self):
     data = []
     for d in self.master.options.setheaders:
         if isinstance(d, str):
             data.append(setheaders.parse_setheader(d))
         else:
             data.append(d)
     self.master.view_grideditor(
         grideditor.SetHeadersEditor(
             self.master, data, self.master.options.setter("setheaders")))