introduce BlinkingPointConditional, which blinks, if a condition-function returns...
[enigma2.git] / lib / python / Components / Pixmap.py
1 import skin
2
3 from enigma import *
4
5 class Pixmap:
6         """Pixmap can be used for components which use a pixmap"""
7         
8         def __init__(self):
9                 self.instance = None
10         
11         def GUIcreate(self, parent):
12                 self.instance = self.createWidget(parent)
13                 #self.instance.setText(self.message)
14         
15         def GUIdelete(self):
16                 self.removeWidget(self.instance)
17                 self.instance = None
18         
19         def getePixmap(self, parent, filename):
20                 pixmap = ePixmap(parent)
21                 pixmap.setPixmapFromFile(filename)
22                 return pixmap
23         
24         def removeWidget(self, instance):
25                 pass