Example #1
0
			def __init__(self, session):
				MovieSelection.__init__(self, session)
				self.skinName = "MovieSelection"
				self["key_red"] = Button(_("Edit title"))
				self["key_green"] = Button(_("Add"))
				self["ColorActions"] = HelpableActionMap(self, "ColorActions",
				{
					"red": (self.movieSelected, _("Add a new title")),
					"green": (self.insertWithoutEdit, ("insert without cutlist editor"))
				})
Example #2
0
			def __init__(self, session):
				MovieSelection.__init__(self, session)
				self.skinName = "MovieSelection"
				self["key_red"] = Button(_("Edit title"))
				self["key_green"] = Button(_("Add"))
				self["ColorActions"] = HelpableActionMap(self, "ColorActions",
				{
					"red": (self.movieSelected, _("Add a new title")),
					"green": (self.insertWithoutEdit, ("insert without cutlist editor"))
				})
Example #3
0
			def __init__(self, session):
				MovieSelection.__init__(self, session)
				self["key_red"] = StaticText(_("Close"))
				self["key_green"] = StaticText(_("Add"))
				self["key_yellow"] = StaticText(_("Edit title"))
				self["ColorActions"] = HelpableActionMap(self, "ColorActions",
					{
						"red": (self.close, _("Close title selection")),
						"green": (self.insertWithoutEdit, "Insert without cutlist editor"),
						"yellow": (self.movieSelected, _("Add a new title"))
					})
Example #4
0
			def __init__(self, session):
				MovieSelection.__init__(self, session)
				self["key_red"] = StaticText(_("Close"))
				self["key_green"] = StaticText(_("Add"))
				self["key_yellow"] = StaticText(_("Edit title"))
				self["ColorActions"] = HelpableActionMap(self, "ColorActions",
				{
					"red": (self.close, _("Close title selection")),
					"green": (self.insertWithoutEdit, ("insert without cutlist editor")),
					"yellow": (self.movieSelected, _("Add a new title"))
				})