blob: 2a54ea9864b8dbba8d814fe6702bbdd635798a7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
from ConditionalWidget import *
from enigma import *
class Pixmap(Widget):
def __init__(self):
Widget.__init__(self)
def getePixmap(self, parent):
#pixmap = ePixmap(parent)
#pixmap.setPixmapFromFile(self.filename)
return ePixmap(parent)
def createWidget(self, parent):
return self.getePixmap(parent)
def removeWidget(self, w):
pass
class PixmapConditional(ConditionalWidget, Pixmap):
def __init__(self, withTimer = True):
ConditionalWidget.__init__(self)
Pixmap.__init__(self)
|