예제 #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
파일: Button.py 프로젝트: 4doe/enigma2-old
	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
파일: Label.py 프로젝트: linuxbox10/atv-e2
 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)