suspend timers when all renders are hidden
[enigma2.git] / lib / python / Components / Renderer / Renderer.py
1 from Components.GUIComponent import GUIComponent
2 from Components.Element import Element
3
4 class Renderer(GUIComponent, Element):
5         def __init__(self):
6                 Element.__init__(self)
7                 GUIComponent.__init__(self)
8
9         def onShow(self):
10                 self.suspended = False
11
12         def onHide(self):
13                 self.suspended = True