diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-09 10:30:39 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-12-09 10:30:39 +0000 |
| commit | fd07ec4a3d617bb1ee1f7ebdf6791014586efd84 (patch) | |
| tree | 0ff00f10b290958a85472aa2176b929cba5ab6ee /lib/python/Components/GUIComponent.py | |
| parent | a4332bd8d55eb4b54972f64c91aefd42f388de52 (diff) | |
| download | enigma2-fd07ec4a3d617bb1ee1f7ebdf6791014586efd84.tar.gz enigma2-fd07ec4a3d617bb1ee1f7ebdf6791014586efd84.zip | |
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?)
Diffstat (limited to 'lib/python/Components/GUIComponent.py')
| -rw-r--r-- | lib/python/Components/GUIComponent.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
