diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-09-23 23:29:09 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-09-23 23:29:09 +0000 |
| commit | a12f0f98d99109a64942abf1bb1f6e429c2fc7f5 (patch) | |
| tree | aae97daaf858cc545cbc9b64ba6b327bd1f22b8a /lib/python/Screens/Globals.py | |
| parent | c62a259bfa8d576c05e7ac6bd1b978340f30135b (diff) | |
| download | enigma2-a12f0f98d99109a64942abf1bb1f6e429c2fc7f5.tar.gz enigma2-a12f0f98d99109a64942abf1bb1f6e429c2fc7f5.zip | |
add concept of 'related screen', which can be used to get shared sources (like clock, current service, ...) from global,session-global,parent screen. replace 'fake' with 'session.VideoPicture' for pig usage.
Diffstat (limited to 'lib/python/Screens/Globals.py')
| -rw-r--r-- | lib/python/Screens/Globals.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Screens/Globals.py b/lib/python/Screens/Globals.py new file mode 100644 index 00000000..9ae10026 --- /dev/null +++ b/lib/python/Screens/Globals.py @@ -0,0 +1,7 @@ +from Screens.Screen import Screen +from Components.Sources.Clock import Clock + +class Globals(Screen): + def __init__(self): + Screen.__init__(self, None) + self["CurrentTime"] = Clock() |
