Тёмный
No video :(

Kivy - How to set up Screens with ScreenManager 

CyberFiles
Подписаться 253
Просмотров 25 тыс.
50% 1

Learn how to manage screens with the ScreenManager. In this tutorial you'll learn through creating a basic 3 screen setup.

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@katelyngurley4210
@katelyngurley4210 6 лет назад
Incredibly helpful tutorial. I like how you go through it step by step and also offer suggestions of where to expand.
@cglick3811
@cglick3811 8 лет назад
This has given me a very good start. I now see how to navigate among screens. My next step is surely learning about the Screen class, so I can layout each Screen. Then I must figure out how to add Widgets to elements on each screen to simulate a physical object's functionality. Thank you!
@kadir572
@kadir572 6 лет назад
Most detaiiled kivy tutorial I've seen so far,. You should do much more tutorials like this, helped me a lot, thanks !!
@cyberfiles8076
@cyberfiles8076 6 лет назад
Thanks! Glad you found it helpful. I am hoping to do some more videos during the Summer.
@msfmapper
@msfmapper 3 года назад
thank you very much man, this helped alot!
@MrStepho7
@MrStepho7 7 лет назад
Excellent Tutorial! Exactly what I needed. Thank you.
@gloc_mike
@gloc_mike 8 лет назад
Great tutorial! You discuss a lot of things that others cover but don't seem to cover them as well as you do (make sense??). The fine detail is want really counts for me ... I get a much better understand of it from you. If you wanted to explore more UI elements I'd be interested in pop ups for example and maybe custom skinning (if that's the term) to give your app it's own look and feel? Or more on how the binding works between the py and kv? Or adaptive text sizing on buttons (widgets) as they grow or shrink with a change in the dimensions of the app? Keep up the great work. I look for to seeing the next instalment!!
@cyberfiles8076
@cyberfiles8076 8 лет назад
+Michael Ball Thank you very much for the kind words. It's comments like these that make me want to do more.
@hightmplr357
@hightmplr357 7 лет назад
Hi. This video got me going with screens. Can you show me how you would implement a clock schedule for each screen?
@Cinthia1215
@Cinthia1215 8 лет назад
oh I have plenty suggestions. maybe a video on how to incorporate an onscreen keyboard? thanks!
@alaskathequeer7229
@alaskathequeer7229 4 года назад
СТАВЛЮ ТЕБЕ ЛАЙК!!!!!! СПАСИБО ДРУГ!!!
@dhakshnamoorthy8673
@dhakshnamoorthy8673 4 года назад
How to pass the values from one screen to another ex:scr1 has a text input with my name and when I click the submit button it has to move to the next screen and print the previous screen input my name
@Drew_Vernon
@Drew_Vernon 4 года назад
Is the ObjectProperty thing and manager assignment out of date info for Kivy 1.11.0 ?
@AdibIdrissi
@AdibIdrissi 9 лет назад
Well done. Very helpful
@swivellogic
@swivellogic 6 лет назад
Very good and instructive video, thank you for making it. I just had a question from curiosity: Why when you stated the ObjectProperty for each screen variable did you put them all in the manager class, why did you not put each one in the class for each screen? Would this change (or break) the performance? I'm only slowly beginning to get how the classes and objects are working with kivy, so forgive me if this is a dumb question. Thanks again for the helpful video.
@neculaii.fantanaru3636
@neculaii.fantanaru3636 3 года назад
hello, I try to install library, and is not working. py -m pip ScreenManager
@alexd7466
@alexd7466 3 года назад
Is this still how to do it in 2021, or should we use add_widget() ?
@novoehuevoe9340
@novoehuevoe9340 6 лет назад
how can i add navigation bar and menu to this?
@JorgeAGomes
@JorgeAGomes 9 лет назад
Very interesting.
@ericsimendinger8924
@ericsimendinger8924 7 лет назад
I would like to make a book app with choose your own adventure style. How do I place text at the top and the buttons listed at the bottom of each page? I tried this but it doesn't work, in the kv file: #:kivy 1.10.0 : rows: 3 padding: 10 spacing: 10 BoxLayout: oriention: "horizontal" text: "Hello and welcome to the adventure." BoxLayout: spacing: 10 Button: text: "Go to page 2" on_press: root.manager.current = 'pg2' #calls name, not id BoxLayout: spacing: 10 Button: text: "Go to page 3" on_press: root.manager.current = 'pg3' .... (rest of file is similar as yours. I changed some variables because I got confused which variables matched up)
@johnomoluabi9940
@johnomoluabi9940 7 лет назад
hello, this was a very helpful video especially since I am three weeks old in Kivy. The only downside however is that when I built an apk out of it with buildozer , the app fails to launch on my android device. Why is this?
@cyberfiles8076
@cyberfiles8076 7 лет назад
Hi. It could be any number of reasons. One way to find out (this is what I do) is to use adb logcat. Here's what I do( I am using Linux, so if you're on Windows or something, you would need to figure out these steps for your own situation ). 1. I install the apk of the broken app on the device with buildozer. 2. Leaving the device connected to the computer, I open a terminal on the computerl and start adb logcat telling it to write to file(adb must be installed of course) I do this with 'adb logcat > log'. 3. I run the broken app on the phone. Let's say after a moment it crashes. 4. I then stop adb logcat and open the log file it has written. Everything the phone was doing will be logged here to some degree. This is where I search for errors. It's not always easy to find them since there is a lot of irrelevant info in the file, but you get better at it after a while. One way to start might be to do a search on the keywords "python" and/or "Error". That sort of thing. One issue that I regularly ran into was that I hadn't provided the name of a module I was using in the buildozer.spec file. Whenever you import a module in your kivy app that isn't a part of the standard Python distribution, you need to mention it in the buildozer.spec (it's not hard to find where). I highly recommend signing up the kivy users group on google(just google it). Hope this helps.
@Cinthia1215
@Cinthia1215 8 лет назад
Thank You so much
@cyberfiles8076
@cyberfiles8076 8 лет назад
+Cinthia Chavarria You're welcome! Btw, I'm open to suggestions for tutorials, if there's anything in particular you'd like to see.
@aryankhandelwal37
@aryankhandelwal37 4 года назад
good one
@kirillnovikov8269
@kirillnovikov8269 8 лет назад
Great tutorial, thank you! Also, what text editor do you use in this video?
@cyberfiles8076
@cyberfiles8076 8 лет назад
Thanks, glad you liked it. I believe I am using Geany in this vid
@rasheedb4
@rasheedb4 8 лет назад
When can we expect to see the advanced layout tutorials in continuation to the 2 layout tutorials you have?
@MrSuvidh
@MrSuvidh 4 года назад
how to pass information of one screen to another screen?
@cyberfiles8076
@cyberfiles8076 4 года назад
Hi there, I really think the best thing for you would be to consult the kivy official documentation at kivy.org. Also, check out the kivy google group, it's really helpful for specific issues like yours. Hope that helps.
@msfmapper
@msfmapper 3 года назад
bro, the method i found to work is by creating global variables and passing information through them.
@MichaelMurillo
@MichaelMurillo 7 лет назад
Thanks man, great video! Can you post the files somewhere, maybe on github?
@toequantumspace
@toequantumspace 8 лет назад
Cool thanks a lot!
@jhicinternational
@jhicinternational 7 лет назад
Good one
@BeYakko1
@BeYakko1 7 лет назад
im getting this error. NameError: name 'ObjectProperty' is not defined
@sawyer4763
@sawyer4763 6 лет назад
did you import the type?
@AllenAndersonTaylor
@AllenAndersonTaylor 7 лет назад
would you be willing to do paid Skype lessons?
@joedempseysr.3376
@joedempseysr.3376 5 лет назад
Do we really need to watch you type over and over in real time? For the love of God, at least use cut and paste!
@cyberfiles8076
@cyberfiles8076 5 лет назад
Sorry Joe, put it down to lack a of experience making tutorial videos. Will take it under advisement
Далее
I forced EVERYONE to use Linux
22:59
Просмотров 436 тыс.
Kivy crash course 10: Thinking about layouts
14:36
Просмотров 38 тыс.
Avaz Oxun - 10 yillik yubiley konsert dasturi 2023
2:52:33
УГАДАЙ ЕДУ ПО ЭМОДЗИ! #shorts
00:57
Просмотров 136 тыс.
🤪Школьники ОЦЕНЯТ🔥
00:30
Просмотров 127 тыс.
Screen navigation in Kivy - ScreenManager()
24:00
Просмотров 9 тыс.
The Clever Way to Count Tanks - Numberphile
16:45
Просмотров 1 млн
Kivy crash course 14: Using a ScreenManager
11:51
Просмотров 51 тыс.
~/.dotfiles in 100 Seconds
13:54
Просмотров 415 тыс.
Kivy Basics
32:44
Просмотров 57 тыс.
Tmux has forever changed the way I write code.
13:30
Просмотров 967 тыс.
Kivy Tutorial #9 - Navigation Between Multiple Screens
10:04
Kivy Trick: Rounded Button Edges and more
8:46
Просмотров 24 тыс.
Kivy Tutorial 3 : Kivy Calculator
12:11
Просмотров 92 тыс.
Avaz Oxun - 10 yillik yubiley konsert dasturi 2023
2:52:33