diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-22 14:18:12 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-22 14:18:12 +0000 |
| commit | 14ae9c7897eaefad5caa0cecda762b0a8a9e9d72 (patch) | |
| tree | 43a235bb4579c402e584b52656a7cd920c0c8d14 /lib/python/Screens/Screen.py | |
| parent | 87625f1aa211991c803ecbb5980972238136ac57 (diff) | |
| download | enigma2-14ae9c7897eaefad5caa0cecda762b0a8a9e9d72.tar.gz enigma2-14ae9c7897eaefad5caa0cecda762b0a8a9e9d72.zip | |
add onShown eventlist for executing stuff after the screen is drawn
use SimpleChannelSelection to select a service in TimerEntry
Diffstat (limited to 'lib/python/Screens/Screen.py')
| -rw-r--r-- | lib/python/Screens/Screen.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py index 6e5ac21d..13e31d67 100644 --- a/lib/python/Screens/Screen.py +++ b/lib/python/Screens/Screen.py @@ -13,6 +13,7 @@ class Screen(dict, HTMLSkin, GUISkin): self.onClose = [ ] self.onExecBegin = [ ] + self.onShown = [ ] # in order to support screens *without* a help, # we need the list in every screen. how ironic. @@ -25,6 +26,9 @@ class Screen(dict, HTMLSkin, GUISkin): # self.session = session for (name, val) in self.items(): val.execBegin() + + for x in self.onShown: + x() def execEnd(self): for (name, val) in self.items(): |
