예제 #1
0
파일: plugin.py 프로젝트: popazerty/e2-gui
			def __init__(self, player, contexts=None, actions=None, prio=0):
				if not contexts:
					contexts = []
				if not actions:
					actions = {}
				NumberActionMap.__init__(self, contexts, actions, prio)
				self.player = player
예제 #2
0
파일: plugin.py 프로젝트: norhap/vix-u5pvr
			def __init__(self, player, contexts=None, actions=None, prio=0):
				if not contexts:
					contexts = []
				if not actions:
					actions = {}
				NumberActionMap.__init__(self, contexts, actions, prio)
				self.player = player
예제 #3
0
	def __init__(self, parent, context, actions, prio):
		alist = []
		adict = {}
		for (action, funchelp) in actions.iteritems():
			alist.append((action, funchelp[1]))
			adict[action] = funchelp[0]
		NumberActionMap.__init__(self, [context], adict, prio)
		parent.helpList.append((self, context, alist))
예제 #4
0
			def __init__(self, player, contexts = [ ], actions = { }, prio=0):
				NumberActionMap.__init__(self, contexts, actions, prio)
				self.player = player
예제 #5
0
파일: plugin.py 프로젝트: MOA-2011/enigma2
			def __init__(self, player, contexts = [ ], actions = { }, prio=0):
				NumberActionMap.__init__(self, contexts, actions, prio)
				self.player = player
예제 #6
0
 def __init__(self, menu, contexts = [], actions = {}, prio = -1):
     NumberActionMap.__init__(self, contexts, actions, prio)
     self.menu = menu
예제 #7
0
 def __init__(self, menu, contexts=[], actions={}, prio=-1):
     NumberActionMap.__init__(self, contexts, actions, prio)
     self.menu = menu