def ShowView(self, **kwargs): """Used for cleaning up after the view has served its purpose""" View.ShowView(self, **kwargs) self.keyDownEvent = uicore.event.RegisterForTriuiEvents( [uiconst.UI_KEYDOWN], self.CheckKeyDown)
def ShowView(self, **kwargs): View.ShowView(self, **kwargs) self.keyDownEvent = uicore.event.RegisterForTriuiEvents([uiconst.UI_KEYDOWN], self.CheckKeyDown)