コード例 #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
ファイル: DiskInfo.py プロジェクト: BarviX6/openhdf-enigma2
 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
ファイル: Clock.py プロジェクト: linuxbox10/enigma2-openpli-1
    def __init__(self):
        VariableText.__init__(self)
        GUIComponent.__init__(self)
        self.doClock()

        self.clockTimer = eTimer()
        self.clockTimer.callback.append(self.doClock)
コード例 #7
0
ファイル: DiskInfo.py プロジェクト: Anubisko/enigma2
	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
ファイル: Label.py プロジェクト: IanSav/enigma2-Beyonwiz
    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
ファイル: DiskInfo.py プロジェクト: IanSav/enigma2-Beyonwiz
	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
ファイル: PerServiceDisplay.py プロジェクト: kingvuplus/boom
 def __init__(self, navcore, eventmap):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     PerServiceBase.__init__(self, navcore, eventmap)
コード例 #15
0
ファイル: Button.py プロジェクト: nunigaia/enigma2-openpli
 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
ファイル: PerServiceDisplay.py プロジェクト: norhap/vix-u5pvr
 def __init__(self, navcore, eventmap):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     PerServiceBase.__init__(self, navcore, eventmap)