Kivy crash course 14: Using a ScreenManager

preview_player
Показать описание
This time, I cover the basic ideas behind using a ScreenManager widget to add different screens to your app and switch between them with a range of fancy transitions.

Links:
Рекомендации по теме
Комментарии
Автор

As always, terrific job. I really like your concise summary at the end stating how to use a screen manager:
1. make your root widget a ScreenManager widget.
2. Add your Screen widgets to the ScreenManager.
3. To change Screens, change ScreenManager's current property.

Additionally, I like how you keep integrating standard python libraries (such as time and random) with Kivy for some cool features. Specifically, I like how you used the time function to generate a unique name for the new Screens.

Thank you so much for making these videos, they are extremely helpful. Please continue this series. Two ideas:
1. Recognizing certain swipes/gestures and dispatching a custom event based on the specific swipe/gesture.
2. More info on how the Kivy event system works in general. Maybe show a video, on how we can a)register our own custom event, b)dispatch that event properly, c)handle the dispatch event properly.

Looking forward to the next video. 

FreePythonTutorials
Автор

I just had this shared with me and it is what I have being looking for. Going to spend the next while going through the different tutorials on your site.

jamesfitzpatrick
Автор

I'm always impressed by the quality and accuracy of your examples. Great job!

MathieuVirbel
Автор

Outstanding crash course; never seen better, on any topic.

vascoalmeida
Автор

Great series, and extremely helpful! I hope you get around to doing more at some point in the future.

RogueBurger
Автор

I love these tutorials, I have had a few projects that as of yet have not had any ui, I think I will definitely be using kivy for this. Predicting what I will have to do for ui, an idea for more videos would be having to do with dynamically generated content, like a menu from a list of names

veggiet
Автор

a thousand likes from me. sir you are a hero

king_kunta
Автор

Could you do a tutorial on kivy popups? I see people using register_event_type and I'm somewhat confused on how they work. A tutorial on how to do a simple popup with a yes/no confimation and how to integrate it into say an existing dropdown would be fantastic! I can sort of see how examples work, but integrating into other elements in the kv is something I'm also a little confused on. Thank you for the great series so far. They have been _super_ helpful. Thanks!

jotham
Автор

Thanks for your video, it really helps me, even though I still confused by many knowledge, but I won't give up, whatever, just want to thank you for you sharing.

junjing
Автор

Hi just wondering if you'll be making any more videos. I'm getting a lot of good insight into kivy and was hoping you would go over using kivy with android hardware for example its bluetooth?

Palamdrone
Автор

Great tutorial series! Very concise explanations. Can you please make a video covering the use checkboxes, tree views, and drag and drop functionality. These are the main topics I need to research to complete my application.

FIGURE-TEK-Studios
Автор

Excelent CC mr Taylor!
I enjoyed it a lot of!

hedleypanama
Автор

Very nice tutorial. Fast and understandable.
Could you cover something like saving data to a file and loading it again? Perhaps even plotting?
Keep up the good work!

mkofoed
Автор

This helped a lot! Great video serie! Waiting for

xgvargas
Автор

Druckbetankung.
Thanks a lot for your work!

protonray
Автор

Would love to see a graphing tutorial and how to add graphs in kv files and in screen using screen manager.

jotham
Автор

For those who have a crash when changing the screen (on kivy 1.9) use root.manager.current instead of app.root.current.

cyberStarOne
Автор

How would you input info from one screen and update something on the second string?

Like a text input box on screen 1 and whatever the user types makes a label on screen 2 update to that?

upcomingvillain
Автор

hi, am using screenmanager to display realtime graph using kivy garden-graph, but plots are not showing. I have the latest version of garden graph api.

narendrakumariitb
Автор

Thanks Alex for the great tutorials! really enjoyable and helped me get up to speed with Kivy.

Could perhaps have a tutorial dedicated to iOS?
getting kivy-ios to compile and work was straight forward, but I can't find much info about how to call native Objc APIs, the Bridge class that they have included, as well as the ability to perhaps add a UIViewController on the screen. Eg. wanted to add a MKMapView on iOS.

thanks again.

jamescook