+
+ # this works only with normal widgets - if you don't have self.instance, override this.
+ def applySkin(self, desktop):
+ if self.state == self.HIDDEN:
+ self.instance.hide()
+ skin.applyAllAttributes(self.instance, desktop, self.skinAttributes)
+
+ def move(self, x, y):
+ self.instance.move(ePoint(int(x), int(y)))
+
+ def show(self):
+ self.state = self.SHOWN
+ if self.instance is not None:
+ self.instance.show()