+ self.clearSelectedKeys()
+ selection = self["list"].getCurrent()
+ if selection:
+ selection = selection[3]
+ #arrow = self["arrowup"]
+ print "selection:", selection
+
+ longText = ""
+ if selection and len(selection) > 1:
+ if selection[1] == "SHIFT":
+ self.selectKey("SHIFT")
+ elif selection[1] == "long":
+ longText = _("Long Keypress")
+ self["long_key"].setText(longText)