Тёмный
No video :(

Kivy Tutorial 5 : Widgets & Switching Screens 

Derek Banas
Подписаться 1,3 млн
Просмотров 92 тыс.
50% 1

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

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 141   
@celestialbody9807
@celestialbody9807 5 лет назад
Best tutorial series you can find on RU-vid. Happy to complete the series. Really like your videos, Thanks for making such great tutorials !
@derekbanas
@derekbanas 5 лет назад
Thank you for the very nice compliment :)
@georgesmith3022
@georgesmith3022 4 года назад
there are very few tutorials on kivy, so thanks for this one. when you have time, please do more, especially since it's been 3 years now and kivy has evolved. It even has Material Design Widgets.
@AndriHidayatParincahan
@AndriHidayatParincahan 7 лет назад
Your tutorials is the best for me, not just python but c#. I already watched them
@20sffactory
@20sffactory 4 года назад
you do one of the best tutorials on Kivy. Thank you. you're my hero.
@derekbanas
@derekbanas 4 года назад
Thank you for the nice message :)
@kristijanross977
@kristijanross977 5 лет назад
Pleeaaaase make more kivy tuts!!! Such an awesome gui module, just what I needed, but so few sources to learn from...
@000FURQAN
@000FURQAN 7 лет назад
I have seen tons of video tutorial on youtube but ur style is outstanding ... keep it up.
@derekbanas
@derekbanas 7 лет назад
Thank you for the compliment :) I do my best
@stansidorov
@stansidorov 7 лет назад
I am leaving a comment just to say thank you!
@derekbanas
@derekbanas 7 лет назад
Thank you for taking the time. I appreciate it :)
@christopherokoro7275
@christopherokoro7275 6 лет назад
Hi Derek, thanks for the widgets you have covered so far. Please can you make a video on how to make a carousel of pictures sliding and add it as a widget(while overwriting another widget), you could also cover how to make a sidebar and how to make a pageloader using animations
@daviskim007
@daviskim007 6 лет назад
Love this video, I'm making a smart-mirror project with touch screen. I'm sure this video will be helpful. Thanks
@derekbanas
@derekbanas 6 лет назад
Thank you :) Tat sounds cool! I'm happy I could help
@2271masoud
@2271masoud 7 лет назад
Another great tutorial, Thanks Derek
@derekbanas
@derekbanas 7 лет назад
Thank you :) I'm glad you liked it
@TheSldsnake
@TheSldsnake 7 лет назад
Please more and more !! thanks
@derekbanas
@derekbanas 7 лет назад
I'll see what I can do
@labis123
@labis123 6 лет назад
Could you please make a tutorial explaining how to use ToggleButtons properly? Let say if Toggle button1 is pressed 'down', then when the users press the "Search button" the value of toggle button and text input get past along?
@bence0302bence
@bence0302bence 5 лет назад
@@derekbanas *2 years ago*
@RufusVidS
@RufusVidS 7 лет назад
Love the videos. Minor comment about your narrative in the check-box section. You say on_active is when the checkbox is active, when you really mean when the active state changes. Pedantic, but I'm a kivy noob and want to make sure I know the distinction.
@derekbanas
@derekbanas 7 лет назад
Whoops sorry for the error. Thank you for pointing it out for others :)
@iatidaltamim7909
@iatidaltamim7909 5 лет назад
you are amazing ,thanks a lot Derek
@derekbanas
@derekbanas 5 лет назад
Thank you :) Happy to help
@thatodikobo8377
@thatodikobo8377 5 лет назад
Thanks for the tuts, well explained. thank you thank you very much. You are the best :)... yeah I'm here and it's 2019
@derekbanas
@derekbanas 5 лет назад
Thank you :) I'm very happy to be of help
@erosralphtelen4408
@erosralphtelen4408 5 лет назад
Great tutorial. Can you make another tutorial about kivy + opencv. thanks
@tomthumb2057
@tomthumb2057 6 лет назад
Great job Derek, many thanks, helped me a great deal:)
@derekbanas
@derekbanas 6 лет назад
Thank you very much :)
@semihaksoy8182
@semihaksoy8182 6 лет назад
Hi Derek. Thanks for tutorials. I have a question. I'm learning kivy and Django but I'm not sure about which is better. PyQt or kivy. What do you think? What should I learn? Thanks in advance.
@joedempseysr.3376
@joedempseysr.3376 5 лет назад
It is never necessary to code "is True" inside an if statement since the if statement already tests if the expression is True or False. For example, if value is True: should be written: if value:. That way value doesn't have to be evaluated twice. Compiler optimization notwithstanding, of course.
@littleolliebenjy
@littleolliebenjy 7 лет назад
Thanks for the tutorial Derek! Looking forward to tomorrow's :) How many Kivy tutorials will you be making before moving onto another series?
@derekbanas
@derekbanas 7 лет назад
You're welcome :) I'm going to take a break with Kivy for now and cover Django and Pygame and then come back to it
@littleolliebenjy
@littleolliebenjy 7 лет назад
Derek Banas Oo nice! Any plans for after Kivy, Django, and Pygame? :)
@MDoza
@MDoza 6 лет назад
Thannk you for the info Derek. Great video!
@derekbanas
@derekbanas 6 лет назад
Thank you :)
@FRIENDSofCAP
@FRIENDSofCAP 4 года назад
Derek, I followed and understand how to do popups but how can I add a popup to one of my screens inside the screenmanager using inline kivy file using 'Builder' as you explained??? If any one knows, please reply/. Thanks ... Tim
@JeeWee
@JeeWee 3 года назад
Hi, cool stuff! I'm looking everywhere for more info on spinners in Kivy. The basics are clear now, also thanks to your video. One question remains; how can I pass the list with values (options) from my python file (based on a change number of options read from a csv file in a list) to the kv file ?? I hope you can help me out!
@sandeepvk
@sandeepvk 7 лет назад
Outstanding videos ! Always a patron
@derekbanas
@derekbanas 7 лет назад
Thank you :) I do my best
@MrSaintRai
@MrSaintRai 6 лет назад
i love you derek thank you so much
@derekbanas
@derekbanas 6 лет назад
Thank you :) I'm happy to be of help
@marcinkuta5174
@marcinkuta5174 7 лет назад
Yes Darek, You did an okay job. Great job! Thank you:)
@derekbanas
@derekbanas 7 лет назад
Thank you :)
@joelpoudiougo7447
@joelpoudiougo7447 4 года назад
In my case, i put widgets in my screen and before all transitions it is showing me the background, i don't want this, how can i prevent that. Thanks for your videos
@sonnicsky1786
@sonnicsky1786 7 лет назад
Hi Derek, thanks for your videos, would you plan to use databases with python? mysql maybe? I was also wondering whats on your list?
@marcosturossi4887
@marcosturossi4887 5 лет назад
Thanks for this tutorial, I wanna learn more about kivy, how i can get more or how the best way to learn?
@rajbohra5148
@rajbohra5148 7 лет назад
you are awesome bro..!!...make more kivy tutorials please!!
@derekbanas
@derekbanas 7 лет назад
Thank you :) I'll see what I can do
@danschafer3865
@danschafer3865 7 лет назад
Nice and easy to follow, what would you use for a default 'output' window.. to send print statements to?
@derekbanas
@derekbanas 7 лет назад
Thank you :) I use the console
@tonyiguru7595
@tonyiguru7595 4 года назад
Thank you for the video, I learned a lot, and this knowledge spawned questions? How would you go about changing the actual color of the check box? It's grey and kind of hard to see on the white background? In the popup example, how would you code it, so the text: would be able to output the spinner value, instead of 'Close'? I tried the following but got an error... CustomLabel: text: str(spinner_id.value)
@tonyiguru7595
@tonyiguru7595 4 года назад
To answer my own first question; using color: CheckBox: # the color of the checkbox (red) color: 1,0,0,1 It is still hard to see, so now I'm wondering how to make, the checkbox larger and its borders wider?
@joshuabraxton7559
@joshuabraxton7559 6 лет назад
Hey man,The videos are great! Had a question. Is there a way Kivy can open and operate more than 1 window? Say have 2 windows open that are used to track data and record data? Thanks man
@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
@The5starSTUNNNA
@The5starSTUNNNA 7 лет назад
i HAVE a quick question what is your tips on how to learn python and what are the best youtubers you know out their. please answer becuse all the teachers think i can never achieve being a software developr
@derekbanas
@derekbanas 7 лет назад
If you go through my Learn to Program series and do the exercises that should help a lot ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nwjAHQERL08.html There are tons of tutorial people. Try them all out. You can do anything if you dedicate yourself to studying it for an hour a day every day.
@manolios
@manolios 4 года назад
Hello. Nice explanation, and thanks! sorted out many things. How do you prevent screen timeout on a mobile phone for a simple GUI app, launched on an android smartphone through Kivy Launcher? the allow_screensaver option on the config.ini file, does not help. any ideas?
@Hunter-fy1tp
@Hunter-fy1tp 7 лет назад
Great tutorials!!! Quick question, do you plan on covering any Universal Windows Platform (UWP) tutorials with XAML and C#? Just thought I'd see :) No problem if not, I know your list is full and a busy guy!
@derekbanas
@derekbanas 7 лет назад
Thank you :) Yes I hope to do more with C++ and C# soon. I just have to finish up Python first
@luischavez190
@luischavez190 7 лет назад
Great videos Derek, would you do more videos of kivy?
@derekbanas
@derekbanas 7 лет назад
Thank you :) I plan on making games, but I want to cover PyGame first and then come back to Kivy
@Jonathan-od5xc
@Jonathan-od5xc 6 лет назад
You're fantastic, thank you!
@derekbanas
@derekbanas 6 лет назад
Thank you very much :)
@kakaday22
@kakaday22 5 лет назад
instead of clicking. Can it change automatically after some time between screens?
@himanshukr2302
@himanshukr2302 5 лет назад
spinner code starts from 15:25
@cpfpv6410
@cpfpv6410 6 лет назад
Can you show us where we can access the fonts, colors, and images in Kivey?
@jacobotapia8617
@jacobotapia8617 7 лет назад
Do you know how to integrate garden? I've been trying two days, but nothing works
@sivakumarvadivel2512
@sivakumarvadivel2512 6 лет назад
Thanks and i need a tutorial for working kivy with backend please help me on this
@gach2181
@gach2181 6 лет назад
I want to know if i can use Kivy to get the coordinates directly from the trackpad itself not just that of the cursor. Any ideas how to do that? Great tutorial BTW. Extremely helpful.
@derekbanas
@derekbanas 6 лет назад
Sorry but I do not know
@ramtinaminian5093
@ramtinaminian5093 5 лет назад
THANK YOU SO MUCHHHHHH DUDE
@joedempseysr.3376
@joedempseysr.3376 5 лет назад
Also, theres no need to create an instance of SampleApp() just to run it. Instead of sample-app = SampleApp(); sample_app.run(), You could simply write SampleApp().run().
6 лет назад
is there any GUI generator with Kivy support that you would advise me with? thank you
@ayel8202
@ayel8202 6 лет назад
Please make more tutorial about Kivy! Im desesperate :,c
@victorsejas1726
@victorsejas1726 7 лет назад
thank you Derek good tutorials!, please how I can open a screen in a popup?
@derekbanas
@derekbanas 7 лет назад
I'm happy you liked it :) I don't think there is an easy way to open a complex screen in a popup with Kivy
@DanielVieiraVS
@DanielVieiraVS 6 лет назад
You're great. Thank you very much. :)
@derekbanas
@derekbanas 6 лет назад
Thank you :) I'm happy it helped
@HuyNguyen-yn9il
@HuyNguyen-yn9il 6 лет назад
Your videos are great! Can we deploy these apps into desktop apps running on Windows or Mac, beside Android?
@derekbanas
@derekbanas 6 лет назад
Thank you :) Yes Kivy works on Windows and Mac
@hrittikchatterjee605
@hrittikchatterjee605 5 лет назад
Why is this the last one. Plez more
@josephfinch1937
@josephfinch1937 7 лет назад
Hi Derek, I was playing around with the slider trying to capture it's value at any given position, I was wondering if you could comment on the code I came up with. Py file: slide_val = NumericProperty() def slider_val(self, instance, value): print (value) Kv file: Slider: id: slider_id min: -100 max: 100 value: root.slide_val step: 1 value_track_width: root.slider_val(self, self.value) This code worked. I am just wondering if this is the correct way, or will I run into problems later using this code?
@derekbanas
@derekbanas 7 лет назад
That looks fine to me
@dedantemon
@dedantemon 7 лет назад
Derek, I request Tizen Studio/OS tutorial with some apps that we can use for Smart Tv's for example :p. What you think, it's popular/worth it enough to make a tutorial ? Maybe with Samsung Studio for Tizen also ?
@derekbanas
@derekbanas 7 лет назад
I used to have a contact person at Samsung and was going to make a Tizen tutorial, but they don't seem to be interested anymore. I'll look into it
@zainul1996
@zainul1996 7 лет назад
I would love to see how it looks on Android/iOS ! Could you run it using an emulator
@derekbanas
@derekbanas 7 лет назад
I'll see what I can do when I continue the Kivy tutorial. It only works on MacOS and Linux at the time. That is why I avoided it. Windows users can easily install Ubuntu though to try it.
@HenrikRoseno
@HenrikRoseno 4 года назад
@@derekbanas and Zainul Ariffin: You can deploy Python/Kivy on Android (and iPhone I think) using Buildozer: kivy.org/doc/stable/guide/packaging-android.html
@baba9045
@baba9045 3 года назад
Hey derek , mine said Invalid class name , what can i do?
@rogeralonzo6610
@rogeralonzo6610 7 лет назад
thanks a lot, i would like to see how to put some sounds in the app with kivy
@pharoah327
@pharoah327 7 лет назад
Roger Paez Kivy makes that process pretty easy. Here's a ref: kivy.org/docs/api-kivy.core.audio.html
@DaiShuryoTechnus
@DaiShuryoTechnus 5 лет назад
Could someone please timestamp the Spinner's Code? I would really appreciate it as I need it for my latest kivy project...
@arturkaczan1776
@arturkaczan1776 7 лет назад
More! More! :D maybe something with images.
@RajaRamanTechWorld2014
@RajaRamanTechWorld2014 7 лет назад
Awesome ! but i really confused which is better tkinter or kivy? what do i master?
@derekbanas
@derekbanas 7 лет назад
I think Kivy is much better
@fantasdeck
@fantasdeck 6 лет назад
Any way of showing the TabbedPanel with just pure Python? I really don't like the Kivy markup.
@derekbanas
@derekbanas 6 лет назад
You need a UI framework. Tkinter is the standard one for Python and I have tutorials on it ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE--tbWoZSi3LU.html An alternative is PyQT, which people seem to either love or hate
@urielmorales1743
@urielmorales1743 6 лет назад
HI, im making my kv file on the screen manager but i have just a black window. if i use your code its work find, any idea?
@MysteryBlokHed
@MysteryBlokHed 5 лет назад
Try moving all of the screen_manager stuff to inside the build() function.
@udoyrahman4389
@udoyrahman4389 6 лет назад
thanks brother ......
@derekbanas
@derekbanas 6 лет назад
I'm happy that I could help :)
@sergiom.p.s.junior8146
@sergiom.p.s.junior8146 7 лет назад
I copied and pasted your codes in my PyCharm and all i get when i run the program is a white, blank screen. Any ideas?
@derekbanas
@derekbanas 7 лет назад
Do you get any errors? What OS? What version of Python?
@sergiom.p.s.junior8146
@sergiom.p.s.junior8146 7 лет назад
no errors. winds 10, python 2.7 from a Anaconda
@derekbanas
@derekbanas 7 лет назад
You need to use Python 3.4 with Windows 10
@sergiom.p.s.junior8146
@sergiom.p.s.junior8146 7 лет назад
funny thing is that others programs work just fine, like your student database. is this something about these modules is specifc?
@Caffeinegoesinface
@Caffeinegoesinface 7 лет назад
I wouldn't mind knowing what makes this project python 3.4 specific either. Thanks for the great tutorial!
@wyvlich
@wyvlich 5 лет назад
Hey derek, i really love your videos, last time that was a bug from me, but this time, i copy pasted the code, did the instructions, im on windows 10 Pro, using kivy 1.10.1, python 3.7, please help
@derekbanas
@derekbanas 5 лет назад
Kivy and Windows don't work well if you use a version of Python over 3.4 for some reason?
@codexyz97
@codexyz97 6 лет назад
hey mister where are you please continue with those greate leasons and thank's so much
@derekbanas
@derekbanas 6 лет назад
Thank you :) I live in Pittsburgh, PA
@TheApoorvagni
@TheApoorvagni 6 лет назад
Please, could you tell me how to keep the string u passed in builder as a .kv file? I copied it to a .kv file with matching name of kivytut2.kv but its still not working.
@shawnbourgeois8939
@shawnbourgeois8939 6 лет назад
The .kv file has to be the name of the class app so if it's class TutorialApp(App): def build(self): Then your kivy file will have to be tutorial.kv
@vishalkalra6164
@vishalkalra6164 7 лет назад
Hello Derek !!! I wanna make a Simple Android App, how I can do that after coding it in Python + Kivy ??
@pharoah327
@pharoah327 7 лет назад
Vishal Kalra look up buildozer. It will help you turn your app into an .apk file to install on your Android device. I just recently did this. One note though, it won't work on Windows but python-for-android has a link to a VM of a Linux distribution that is already setup with kivy and buildozer. You just make a shared folder to communicate files between the host and guest OS and then build the .apk on the Linux guest OS.
@joejoetv1337
@joejoetv1337 7 лет назад
Can anyone tell me how to make a custom widget that acts like the canvas widget from tkinter???
@NoobTanker523
@NoobTanker523 5 лет назад
Please make a video about Kivy Page Layouts
@ericsimendinger8924
@ericsimendinger8924 7 лет назад
I'm on windows. How do you save a .kv file? In python, I saved it as .kv and it wouldn't run so I installed Pycharm, and Pycharm says I need to associate .kv with a programming language. It's incredibly frustrating when even copying and pasting doesn't allow it to run.
@Auguste.Lefort
@Auguste.Lefort 7 лет назад
Did you try Atom ? It's free and you've just need to specify your file name + extension to work like "main.py" or "app.kv" . Then it willl automatically run the .kv if it has the same name as your App fonction.
@ericsimendinger8924
@ericsimendinger8924 7 лет назад
I made the .kv file in Notepadd++ and that worked but thanks though.
@Auguste.Lefort
@Auguste.Lefort 7 лет назад
Eric Simendinger Ha Ha, Notepad++ is even easier than Atom ! Glad that helped ;)
@shaneglee3656
@shaneglee3656 7 лет назад
I've been following along with Sublime Text 3. Can install packages for both python and .kv files, handles the tabs and syntax colouring nicely also includes an auto suggest which while isn't perfect has been quite useful.
@faraza.k9196
@faraza.k9196 7 лет назад
thanks a lot, can u do more on Kivy like an android app
@derekbanas
@derekbanas 7 лет назад
I'm happy you liked it :) Kivy isn't quite ready for developing useful Android apps
@harshpatel5069
@harshpatel5069 4 года назад
How to switch screen through the help of method in python file
@38smeektrank96
@38smeektrank96 6 лет назад
Can u please create an app using kivy
@nashithussain3540
@nashithussain3540 6 лет назад
In this part the first file which is kivytut.py for radio button and all I make same and run this so that now error occurs please help me 😐
@derekbanas
@derekbanas 6 лет назад
I have working code in the description for the video
@nashithussain3540
@nashithussain3540 6 лет назад
Derek Banas I check it also
@Paavo1991
@Paavo1991 7 лет назад
Why you use "is" keyword instead of "=="?
@Paavo1991
@Paavo1991 7 лет назад
thanks! :) but cant get it.. why b is a (True) and after adding "1" b is NOT a..
@sksahil4374
@sksahil4374 5 лет назад
Add more videos,sir
@marcobaldanza2332
@marcobaldanza2332 7 лет назад
no part 6?!?!
@mrx7227
@mrx7227 7 лет назад
first ??
@derekbanas
@derekbanas 7 лет назад
Congratulations :) That was fast
Далее
Using AI to Create the Perfect Keyboard
12:05
Просмотров 1,4 млн
💀СЛОМАЛ Айфон за 5 СЕКУНД😱
00:26
Learn to Program 12 Lambda Map Filter Reduce
26:41
Просмотров 52 тыс.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 942 тыс.
Django Tutorial 3
29:34
Просмотров 25 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 353 тыс.
COBOL Tutorial : Learn COBOL in One Video
2:13:59
Просмотров 269 тыс.
Learn to Program 6 : Lists
30:16
Просмотров 65 тыс.
Code Tic Tac Toe in Python
33:28
Просмотров 8 тыс.