Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SplashScreen(Screen):
- i=0
- def on_enter(self,*args):
- try:
- self.i +=5
- self.ids.progress.value=self.i
- except:
- Clock.unschedule(self.on_enter)
- else:
- pass
- finally:
- Clock.schedule_interval(self.on_enter,2)
- if self.i==100:
- self.manager.current='home'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement