aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/Screen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens/Screen.py')
-rw-r--r--lib/python/Screens/Screen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py
index b1e5a51e..6e5ac21d 100644
--- a/lib/python/Screens/Screen.py
+++ b/lib/python/Screens/Screen.py
@@ -12,12 +12,15 @@ class Screen(dict, HTMLSkin, GUISkin):
GUISkin.__init__(self)
self.onClose = [ ]
+ self.onExecBegin = [ ]
# in order to support screens *without* a help,
# we need the list in every screen. how ironic.
self.helpList = [ ]
def execBegin(self):
+ for x in self.onExecBegin:
+ x()
# assert self.session == None, "a screen can only exec one per time"
# self.session = session
for (name, val) in self.items():