def nextScreen(self, *args): self.root.sm.transition = SlideTransition(direction="left") self.root.sm.current = self.root.sm.next() Clock.unschedule(self.nextFrame)