X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FGUIComponent.py;fp=lib%2Fpython%2FComponents%2FGUIComponent.py;h=b84cf8c2d41e7a59f6eba7a47c12b37ccf5895fe;hb=fd07ec4a3d617bb1ee1f7ebdf6791014586efd84;hp=fee9341c558876846c95106957239c1454abc93d;hpb=a4332bd8d55eb4b54972f64c91aefd42f388de52;p=vuplus_dvbapp diff --git a/lib/python/Components/GUIComponent.py b/lib/python/Components/GUIComponent.py index fee9341..b84cf8c 100644 --- a/lib/python/Components/GUIComponent.py +++ b/lib/python/Components/GUIComponent.py @@ -1,5 +1,7 @@ import skin +from enigma import ePoint + class GUIComponent: """ GUI component """ @@ -15,3 +17,6 @@ class GUIComponent: # this works only with normal widgets - if you don't have self.instance, override this. def applySkin(self, desktop): skin.applyAllAttributes(self.instance, desktop, self.skinAttributes) + + def move(self, x, y): + self.instance.move(ePoint(int(x), int(y))) \ No newline at end of file