- def GUIcreate(self, parent, skindata):
- self.instance = eListbox(parent)
- self.instance.setContent(self.l)
+ def selectionChanged(self):
+ for x in self.onSelectionChanged:
+ x()
+
+ def postWidgetCreate(self, instance):
+ instance.setContent(self.l)
+ instance.selectionChanged.get().append(self.selectionChanged)