How to automatically change screens using the screenmanager?

22 views
Skip to first unread message

Benjamin Ward

unread,
Feb 24, 2014, 5:25:20 PM2/24/14
to kivy-...@googlegroups.com
I have an intro screen, but I want it to change to the menu as soon as a video is done playing. I know that I can use the video class's eos boolean to check if the video is done, but how to I switch screens then? Do I just use screenmanager.switch, or is there a better way to do this?

Alexander Taylor

unread,
Feb 24, 2014, 5:26:11 PM2/24/14
to kivy-...@googlegroups.com
Just set screenmanager.current to the name of the screen you want to switch to. You can put that in a function if you need to schedule it.
Reply all
Reply to author
Forward
0 new messages