equal
deleted
inserted
replaced
660 paths = defs.findall("path") |
660 paths = defs.findall("path") |
661 self.paths_box.Show(len(paths)!=0) |
661 self.paths_box.Show(len(paths)!=0) |
662 for path in paths: |
662 for path in paths: |
663 self.AddPathToSignature(path) |
663 self.AddPathToSignature(path) |
664 |
664 |
665 # # TODO DEAD CODE ? |
|
666 # for widget in widgets: |
|
667 # widget_type = widget.get("type") |
|
668 # for path in widget.iterchildren("path"): |
|
669 # path_value = path.get("value") |
|
670 # path_accepts = map( |
|
671 # str.strip, path.get("accepts", '')[1:-1].split(',')) |
|
672 |
|
673 self.main_panel.SetupScrolling(scroll_x=False) |
665 self.main_panel.SetupScrolling(scroll_x=False) |
674 |
666 |
675 def GetWidgetParams(self, _context): |
667 def GetWidgetParams(self, _context): |
676 args,paths = self.GenDnDSVGParams |
668 args,paths = self.GenDnDSVGParams |
677 root = etree.Element("params") |
669 root = etree.Element("params") |