add StaticMultiList for MultiContentList-styled content
[enigma2.git] / lib / python / Components / Converter / ConditionalShowHide.py
1 from Converter import Converter
2
3 class ConditionalShowHide(Converter, object):
4         def __init__(self, type):
5                 Converter.__init__(self, type)
6                 self.invert = type == "Invert"
7
8         def changed(self, what):
9                 for x in self.downstream_elements:
10                         x.visible = self.source.boolean ^ self.invert