get the file for the BlinkingPixmap from skin.xml
[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 diplay a pixmap"""
7         
8         def __init__(self):
9                 self.instance = None
10         
11         def GUIcreate(self, parent):
12                 self.instance = self.createWidget(parent)
13         
14         def GUIdelete(self):
15                 self.removeWidget(self.instance)
16                 self.instance = None
17         
18         def getePixmap(self, parent):
19                 #pixmap = ePixmap(parent)
20                 #pixmap.setPixmapFromFile(self.filename)
21                 return ePixmap(parent)
22         
23         def removeWidget(self, instance):
24                 pass