示例#1
0
 def __init__(self, text='', onClick=None):
     if not onClick:
         onClick = []
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
     self.onClick = onClick
示例#2
0
 def __init__(self, path, type, update=True):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.type = type
     self.path = path
     if update:
         self.update()
示例#3
0
文件: Clock.py 项目: dazulrich/dvbapp
	def __init__(self):
		VariableText.__init__(self)
		GUIComponent.__init__(self)
		self.doClock()
		
		self.clockTimer = eTimer()
		self.clockTimer.callback.append(self.doClock)
示例#4
0
文件: Cursor.py 项目: vuteam/emc
 def __init__(self, text='', onClick=[]):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
     self.onClick = onClick
     self.onAnimationEnd = []
     self.skinSize = eSize(0, 0)
示例#5
0
文件: Button.py 项目: kingvuplus/boom
 def __init__(self, text = '', onClick = None):
     if not onClick:
         onClick = []
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
     self.onClick = onClick
示例#6
0
    def __init__(self):
        VariableText.__init__(self)
        GUIComponent.__init__(self)
        self.doClock()

        self.clockTimer = eTimer()
        self.clockTimer.callback.append(self.doClock)
示例#7
0
	def __init__(self, path, type, update = True):
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.type = type
		self.path = path
		if update:
			self.update()
示例#8
0
    def __init__(self, text=""):
        GUIComponent.__init__(self)
        VariableText.__init__(self)

        # Use DummySource to allow Label to be used in a
        # <widget source= ... /> screen skin element, but
        # without displaying anything through that element

        DummySource.__init__(self)
        self.text = text
示例#9
0
文件: Input.py 项目: kingvuplus/eg-e2
 def __init__(self, text = '', maxSize = False, visible_width = False, type = TEXT, currPos = 0, allMarked = True):
     NumericalTextInput.__init__(self, self.right)
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.type = type
     self.allmarked = allMarked and text != '' and type != self.PIN
     self.maxSize = maxSize
     self.currPos = currPos
     self.visible_width = visible_width
     self.offset = 0
     self.overwrite = maxSize
     self.setText(text)
示例#10
0
文件: Input.py 项目: kingvuplus/boom2
 def __init__(self, text = '', maxSize = False, visible_width = False, type = TEXT, currPos = 0, allMarked = True):
     NumericalTextInput.__init__(self, self.right)
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.type = type
     self.allmarked = allMarked and text != '' and type != self.PIN
     self.maxSize = maxSize
     self.currPos = currPos
     self.visible_width = visible_width
     self.offset = 0
     self.overwrite = maxSize
     self.setText(text)
示例#11
0
文件: Input.py 项目: Akki01/dvbapp
	def __init__(self, text="", maxSize = False, visible_width = False, type = TEXT):
		NumericalTextInput.__init__(self, self.right)
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.type = type
		self.allmarked = (text != "") and (type != self.PIN)
		self.maxSize = maxSize
		self.currPos = 0
		self.visible_width = visible_width
		self.offset = 0
		self.overwrite = maxSize
		self.setText(text)
示例#12
0
	def __init__(self, path, type, update=True, label=None):
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.type = type
		self.path = path

		if self.type < self.FREE and self.type > self.SIZE:
			self.type = self.ILLEGAL
		self.label = label if label is not None else labels[self.type]

		if update:
			self.update()
示例#13
0
	def __init__(self, text="", onClick = [ ]):
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.setText(text)
		self.onClick = onClick
示例#14
0
 def __init__(self, navcore, eventmap):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     PerServiceBase.__init__(self, navcore, eventmap)
示例#15
0
 def __init__(self, text="", onClick=[]):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
     self.onClick = onClick
示例#16
0
 def __init__(self, text=""):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
示例#17
0
文件: Label.py 项目: HasBahCa/enigma2
	def __init__(self, text=""):
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.setText(text)
示例#18
0
 def __init__(self, navcore, eventmap):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     PerServiceBase.__init__(self, navcore, eventmap)