Пример #1
0
 def find_module_defines(self, widget):
     mod = paparazzi.get_module_information(self.modules_combo.get_active_text())
     print(mod.description)
     self.text_box.set_text(mod.description)
     #for d in mod.defines:
     #    print("define: " + d[0])
     #for c in mod.configures:
     #    print("configure: " + c[0])
     self.gridstore.clear()
     for d in mod.defines:
         self.gridstore.append( [ "define", d[0], d[1], d[2], d[3] ] )
Пример #2
0
 def find_module_defines(self, widget):
     mod = paparazzi.get_module_information(self.modules_combo.get_active_text())
     print(mod.description)
     txt = mod.description + "\n"
     for d in mod.defines:
         txt += "define: " + d[0].__str__() + " = " + d[1].__str__() + "; [" + d[2].__str__() + "] // " + d[3].__str__() + "\n"
     for c in mod.configures:
         txt += "configure: " + c[0].__str__() + " = " + c[1].__str__() + "; [" + c[2].__str__() + "] // " + c[3].__str__() + "\n"
     self.text_box.set_text(txt)
     self.gridstore.clear()
     for d in mod.defines:
         self.gridstore.append(["define", d[0], d[1], d[2], d[3]])
Пример #3
0
 def find_module_defines(self, widget):
     mod = paparazzi.get_module_information(self.modules_combo.get_active_text())
     print(mod.description)
     txt = mod.description + "\n"
     for d in mod.defines:
         txt += "define: " + d[0].__str__() + " = " + d[1].__str__() + "; [" + d[2].__str__() + "] // " + d[3].__str__() + "\n"
     for c in mod.configures:
         txt += "configure: " + c[0].__str__() + " = " + c[1].__str__() + "; [" + c[2].__str__() + "] // " + c[3].__str__() + "\n"
     self.text_box.set_text(txt)
     self.gridstore.clear()
     for d in mod.defines:
         self.gridstore.append(["define", d[0], d[1], d[2], d[3]])