def build(self, tk, parent): self.counter = 0 s = SimpleXMLBuilder(parent, self) s.fromString(xmlui) self.button.click = self.doit
def build(self, tk, parent): self.counter = 0 s = SimpleXMLBuilder(parent, self) s.fromString(xmlui) parent.layout()