add dummies for setting the sec stuff
[enigma2.git] / lib / python / Components / GUIComponent.py
1 import skin
2
3 from enigma import ePoint
4
5 class GUIComponent:
6         """ GUI component """
7         
8         def __init__(self):
9                 pass
10         
11         def execBegin(self):
12                 pass
13         
14         def execEnd(self):
15                 pass
16         
17         # this works only with normal widgets - if you don't have self.instance, override this.
18         def applySkin(self, desktop):
19                 skin.applyAllAttributes(self.instance, desktop, self.skinAttributes)
20
21         def move(self, x, y):
22                 self.instance.move(ePoint(int(x), int(y)))