当前位置: 首页>>代码示例>>Python>>正文


Python EPGSelection.__init__方法代码示例

本文整理汇总了Python中Screens.EpgSelection.EPGSelection.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python EPGSelection.__init__方法的具体用法?Python EPGSelection.__init__怎么用?Python EPGSelection.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Screens.EpgSelection.EPGSelection的用法示例。


在下文中一共展示了EPGSelection.__init__方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, session, service, zapFunc=None, eventid=None, bouquetChangeCB=None, serviceChangeCB=None):
		Screen.__init__(self, session)
		EPGSelection.__init__(self, session, service, zapFunc, eventid, bouquetChangeCB, serviceChangeCB)
		global EINposition
		EINposition = 0
		self.PTinit = False
		self.session = session
		EPGSelection.skinName = "EasyPG"
		self.PThour = config.plugins.EasyInfo.Primetime2.value[0]
		self.PTmin = config.plugins.EasyInfo.Primetime2.value[1]
		self["list"] = EvNewList(type = EPG_TYPE_MULTI, selChangedCB = self.onSelectionChanged, timer = session.nav.RecordTimer)
		self.skinName = "EasyPG"
		self.RefrTimer = eTimer()
		self.RefrTimer.callback.append(self.RefreshEPG)
		self["actions"] = ActionMap(["EPGSelectActions", "OkCancelActions", "NumberActions", "InfobarActions"],
			{
				"cancel": self.closeScreen,
				"ok": self.newOKFunc,
				"timerAdd": self.timerAdd,
				"yellow": self.yellowButtonPressed,
				"blue": self.blueButtonPressed,
				"info": self.infoKeyPressed,
				"red": self.newRedFunc,
				"input_date_time": self.einContextMenu,
				"nextBouquet": self.nextBouquet,
				"prevBouquet": self.prevBouquet,
				"nextService": self.PTfor,
				"prevService": self.PTback,
				"showMovies": self.enterDateTime,
				"showTv": self.zapTo,
				"showRadio": self.zapForRefr,
				"0": self.GoFirst,
				"1": self.SetPT1,
				"2": self.SetPT2,
				"3": self.SetPT3
			},-1)
开发者ID:OpenVuPlus,项目名称:dvbapp-plugin,代码行数:38,代码来源:plugin.py

示例2: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, session, ref, openPlugin=True):
		EPGSelection.__init__(self, session, ref)
		self.skinName = "EPGSelection"
		self["key_yellow"].setText(_("Lookup IMDb"))
		self.openPlugin = openPlugin
开发者ID:MOA-2011,项目名称:enigma2-plugins,代码行数:7,代码来源:plugin.py

示例3: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, session, ref, openPlugin):
		EPGSelection.__init__(self, session, ref)
		self.skinName = ["EPGSearchEPGSelection", "EPGSelection"]
		self["key_green"].text = _("Search")
		self.openPlugin = openPlugin
开发者ID:Dog6574,项目名称:enigma2-plugins-1,代码行数:7,代码来源:EPGSearch.py

示例4: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, session, ref, openPlugin):
		EPGSelection.__init__(self, session, ref)
		self.skinName = ["EPGSearchEPGSelection", "EPGSelection"]
		self.openPlugin = openPlugin
开发者ID:68foxboris,项目名称:enigma2-plugins,代码行数:6,代码来源:EPGSearch.py

示例5: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, *args):
		try: EPGSelection.__init__(self, *args, EPGtype='single')
		except:  EPGSelection.__init__(self, *args)
		self.skinName = "EPGSelection"
开发者ID:Mariusz1970,项目名称:enigma2-plugins-1,代码行数:6,代码来源:AutoTimerEditor.py

示例6: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, *args):
		EPGSelection.__init__(self, *args)
		self.skinName = "EPGSelection"
开发者ID:OpenEnigma2,项目名称:enigma2-plugins,代码行数:5,代码来源:AutoTimerEditor.py

示例7: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, session, ref, openPlugin, eventid=None):
		EPGSelection.__init__(self, session, ref.toString(), eventid=eventid)
		self.skinName = [self.skinName, "EPGSelection"]
		self["key_green"].text = _("Search")
		self.openPlugin = openPlugin
开发者ID:beyonwiz,项目名称:enigma2-plugins,代码行数:7,代码来源:EPGSearch.py

示例8: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, *args):
		EPGSelection.__init__(self, *args)
		self.skinName = "EPGSelection"
		self["key_red"].setText(_(" add AutoTimer"))
开发者ID:janda82,项目名称:enigma2-plugins,代码行数:6,代码来源:AutoTimerEditor.py

示例9: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
 def __init__(self, session, ref):
     EPGSelection.__init__(self, session, ref)
     self.skinName = "EPGSelection"
     self.key_green_choice = EPGSelection.EMPTY
     self.key_red_choice = EPGSelection.EMPTY
     self.skinName = "EPGSelection"
开发者ID:m1ngr,项目名称:archivczsk,代码行数:8,代码来源:search.py

示例10: __init__

# 需要导入模块: from Screens.EpgSelection import EPGSelection [as 别名]
# 或者: from Screens.EpgSelection.EPGSelection import __init__ [as 别名]
	def __init__(self, session, ref, eventid=None, openPlugin = True):
		EPGSelection.__init__(self, session, ref.toString(), eventid=eventid)
		self.skinName = "EPGSelection"
		self["key_green"].setText(_("Lookup"))
		self.openPlugin = openPlugin
开发者ID:mrnamingo,项目名称:enigma2-plugins,代码行数:7,代码来源:plugin.py


注:本文中的Screens.EpgSelection.EPGSelection.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。