From fd07ec4a3d617bb1ee1f7ebdf6791014586efd84 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Fri, 9 Dec 2005 10:30:39 +0000 Subject: show lists and configs in startwizard by adjusting the zPosition left/right is now possible with configlists in the wizard up/down possible with lists but doesn't work on configlists (why?) --- lib/python/Components/GUIComponent.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/python/Components/GUIComponent.py') diff --git a/lib/python/Components/GUIComponent.py b/lib/python/Components/GUIComponent.py index fee9341c..b84cf8c2 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 -- cgit v1.2.3