Тёмный
No video :(

KivyMD Tutorial - Using a Navigation Drawer to Change Screens 

Erik Sandberg
Подписаться 14 тыс.
Просмотров 47 тыс.
50% 1

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

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 74   
@KapilKumar-og4hz
@KapilKumar-og4hz 3 года назад
Bro you solve my problem because I was confused in kivy or kivymd app system finally I got it. Thanks a lot🙏🙏
@alexd7466
@alexd7466 3 года назад
This does not work for recent versions of Kivy. It would be nice to see a update for this tutorial.
@frozen2ice609
@frozen2ice609 Год назад
hello, if there are such videos here, can you throw it off
@abdoulramanekouma2779
@abdoulramanekouma2779 4 года назад
Hey Erik i'm using the latest version of kivymd copied to the folder where i'm trying to run main.py and main.kv files but i'm getting blank screen. I just tried the MDRoundFlatButton but nothing.
@user-cy3je1xd1c
@user-cy3je1xd1c 4 года назад
Thank you so much for such great videos, i like them a lot!
@MrJoJI
@MrJoJI 4 года назад
Please do more tutorial on kivyMD
@pranshuranjan2004
@pranshuranjan2004 4 года назад
How can I connect firebase to my kivy app?
@Drawland2012
@Drawland2012 3 года назад
Sick Man!! Thanks a lot
@awadhimassomo1145
@awadhimassomo1145 4 года назад
Hi Erik .I get error on the navigationdrawediconbutton
@mustaqmohammad1168
@mustaqmohammad1168 4 года назад
hello Erik... while I'm following your video, .I'm getting an error " kivy.factory.FactoryException: Unknown class " what is the issue here can you or any one tell me how to solve this issue
@efeakaroz4761
@efeakaroz4761 3 года назад
MDNavigationDrawer should be under of the Screen Manager for who using MDApp
@troybent1549
@troybent1549 3 года назад
Thanks for this! I couldn't figure out why the color schemes were dark when using the MDNavigationDrawer
@xcli8381
@xcli8381 4 года назад
Thank you so much!
@reginaldoaquino5126
@reginaldoaquino5126 3 года назад
Good job!
@Jason-de3oo
@Jason-de3oo 4 года назад
What you are doing isn't working on my macbook.
@corollagl82
@corollagl82 2 года назад
I am having error with missing uix_path Please help : ImportError: cannot import name 'uix_path' from 'kivymd' (D:\ProgramData\Anaconda3\envs\inventory\lib\site-packages\kivymd\__init__.py)
@joshuabloom560
@joshuabloom560 4 года назад
Cool thank you!
@prateekrajgautam
@prateekrajgautam 3 года назад
Can we do it in pure python way no kv design code.
@heddaolsen4097
@heddaolsen4097 2 года назад
when i added the NavigationDrawerIconButton I got an error. It says: raise FactoryException('Unknown class ' % name) kivy.factory.FactoryException: Unknown class Can you help me solve this error?
@richierahmathidayat
@richierahmathidayat 4 года назад
I can't use the on_touch_move() . touch event . the errors said " TypeError: on_touch_move() missing 1 required positional argument: 'touch'"... What does 'touch' means?how to implement the method. Thanks
@HelloWorld-fh2ge
@HelloWorld-fh2ge 4 года назад
Great!
@ianrobertson4666
@ianrobertson4666 4 года назад
These tutorials are great. I do have a question though. I have used the example you have provided, but on screen 1 i have added a carousel. The carousel is built from a custom class to populate the images as async image buttons, which is another custom class in itself. The problem is i cannot get the async image buttons to switch to another screen. Any suggestions would be appreciated.
@sweeterdeeker9436
@sweeterdeeker9436 2 года назад
Hey Ian. I am having trouble referencing the nav_drawer when I create a .kv file which contains my "homescreen" definition, as per the layout, the screen is under screen_manager which is under navigationlayout. Do you know how, in homescreen file I can reference the screen_manager in my main.py file? i have tried on_press: left_action_items: [['menu', lambda x: app.nav_drawer.set_state('open')]] right_action_items: [['face-profile', lambda x: root.nav_drawer2.set_state('open')]]
@pravinjyoti5020
@pravinjyoti5020 4 года назад
Help : Getting error like this, even after installing kivyMD. Traceback (most recent call last): File "example.py", line 2, in from kivymd.app import MDApp ModuleNotFoundError: No module named 'kivymd.app'
@neilfernando1384
@neilfernando1384 4 года назад
Are you using Pycharm, IDE? Have you installed the package inside the project you are working on? if you are using Pycharm, check out these links to help you install the KivyMD package into your project, thus allowing you to use kivymd.app module www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4fRhNd22io0.html
@user-ce3ug2ll1o
@user-ce3ug2ll1o 3 года назад
excuse me, how can I make a floating drawer, instead a static one you just showed
@darksidegames3136
@darksidegames3136 4 года назад
how do you switch screens without the toolbar
@ayaan5852
@ayaan5852 3 года назад
paste the code someone pls !
@aavalos163
@aavalos163 2 года назад
I have been following your tutorial and it is not working for me. I am using Linux Mint Cinnamon. I have Python3.9 and kivy install. Anyone could help. I get an error saying "kivy.factory.FactoryException: Unknown class "
@rakeshkumar-rr1zv
@rakeshkumar-rr1zv 2 года назад
replace it with MDNavigationLayout
@ashwiniuppaladinni8764
@ashwiniuppaladinni8764 3 года назад
Sir How can we add image to navigation drawer
@marcelopilone6639
@marcelopilone6639 4 года назад
hello, exist the code in github?, thanks
@erik-sandberg
@erik-sandberg 4 года назад
Just put it up for you!
@marcelopilone6639
@marcelopilone6639 4 года назад
@@erik-sandberg I have a doubt github.com/Dirk-Sandberg/KivyMDNavDrawerAndScreenManager/issues/1 thanks
@janajanarthanan4606
@janajanarthanan4606 3 года назад
Bro kindly upload the video that contain:To access the navigation drawer contents (like change profile button in navigation drawer)after clicking the button the next screen will open and in that screen I click another button the screen will move to next screen.kindly upload the video bro.
@jchangesqlawcenter
@jchangesqlawcenter 4 года назад
Great video! What IDE do you recommend? I'm following your tutorials on installing Kivy.
@erik-sandberg
@erik-sandberg 4 года назад
I use PyCharm and love it!
@jchangesqlawcenter
@jchangesqlawcenter 4 года назад
@@erik-sandberg, thank you!
@darksidegames3136
@darksidegames3136 4 года назад
@@erik-sandberg hey how would you change screens without the toolbar??
@arseniypivnev4723
@arseniypivnev4723 4 года назад
I use VS Code
@lwa.dev74
@lwa.dev74 3 года назад
Hey Eric! just a quick one.... what code editor are you using? I like the split screen code window + console view.. . just found you on RU-vid had no idea this python resource was available and with material design... thanks for the amazing tutorials Awesome!! Subs!!! b.t.w :-)
@erik-sandberg
@erik-sandberg 3 года назад
The IDE is PyCharm. Thanks for watchin!
@lwa.dev74
@lwa.dev74 3 года назад
@@erik-sandberg Hi Eric, just watching you tutorial series... great stuff their pal...can't wait to get stuck inn... thanks for the recommendation so will install PyCharm alongside Sublime Text and see how I get along with KivyMD :-)
@sksahil4374
@sksahil4374 4 года назад
in the list ["menu",lambda x:callback()] how that function taking value of x ?
@HelloWorld-fh2ge
@HelloWorld-fh2ge 4 года назад
I think for event!
@sksahil4374
@sksahil4374 4 года назад
@@HelloWorld-fh2ge how that function taking value of x ? give me a python simple example ..
@d.bk-201
@d.bk-201 4 года назад
What version of kivymd do you use?
@erik-sandberg
@erik-sandberg 4 года назад
This was made with version 0.100.2
@anmolnair4786
@anmolnair4786 3 года назад
can u tell me what idle are u using?
@sarveshkesharwani7434
@sarveshkesharwani7434 4 года назад
Hi, how do I call a function defined in .py file on clicking of a button defined in .kv file ?
@mustaqmohammad1168
@mustaqmohammad1168 4 года назад
use on_release method in kv file to call the function defined in .py
@darksidegames3136
@darksidegames3136 4 года назад
There's a new a version of kivy so pls update this
@michaellarsonlee
@michaellarsonlee 3 года назад
How did you copy the kivyMD folder into your project? Can you do a video about setting up your environment in pycharm? IGranted this video is two years old this comment will propbably be lost to time
@erik-sandberg
@erik-sandberg 3 года назад
You can now just do `pip install kivymd` and you'll have access to everything. Your comment wasn't lost in time! If you need help check out the Kivy Discord chat.kivy.org
@michaellarsonlee
@michaellarsonlee 3 года назад
@@erik-sandberg oh great! I will thanks erik!!! You the man
@rahulshan156
@rahulshan156 3 года назад
is there any one how can help me out about this video pls
@omarochoapigostudios1378
@omarochoapigostudios1378 4 года назад
Hello sorry for my question, would you recommend using kivy instead of flutter? Or do you think that making applications in kivy is optimal or favorable compared to flutter? I would greatly appreciate your comment, I don't need a great explanation. Thank you
@erik-sandberg
@erik-sandberg 4 года назад
If you know Python and don't want to learn a new language, go for Kivy. Otherwise, you might look into Flutter instead - Flutter has a larger development team (it's part of Google after all) and a higher user base.
@omarochoapigostudios1378
@omarochoapigostudios1378 4 года назад
@@erik-sandberg Thanks. Regards
@codecare7878
@codecare7878 2 года назад
Would you please provide your source code
@leon3516
@leon3516 4 года назад
Did this change again? As for me, calling NavigationDrawerIconButton in the kv file gives an error "Class not found".. Looking at this: github.com/HeaTTheatR/KivyMD/wiki/Components-Navigation-Drawer#using-mdnavigationdrawer-has-changed I still do not fully understand how to approach the creation of navigation drawers now. The example seems rather bloated/difficult.
@erik-sandberg
@erik-sandberg 4 года назад
Hmm, looks like it has changed. That's the tough part about using a framework in beta, especially watching tutorial videos. They'll work one day, then be rendered out of date the next.
@BesideTheVoid
@BesideTheVoid 4 года назад
I posted a fix here: github.com/Dirk-Sandberg/KivyMDNavDrawerAndScreenManager/issues/2
@ShashankShuklaBIS
@ShashankShuklaBIS 4 года назад
Hello Erik, I'm getting this error: ValueError: KivyMD: App object must be inherited from `kivymd.app.MDApp`. See github.com/HeaTTheatR/KivyMD/blob/master/README.md#api-breaking-changes, and I couldn't find a proper solution to that on google. Plz help. T.I.A.
@neilfernando1384
@neilfernando1384 4 года назад
Check the syntax of your code. I had that error before. It came out because the app object was inherited from kivy and not kivyMD.
@ShashankShuklaBIS
@ShashankShuklaBIS 4 года назад
@@neilfernando1384 Thanks Neil, I checked the kivy documentation and changes, in that they've changed the directory for MDNavigationDrawer as well as for the Theming library. Everything is moved to kivymd.uix.....
@divyasharma4513
@divyasharma4513 4 года назад
I'm getting the same error, but can't figure out the solution. ValueError: KivyMD: App object must be inherited from `kivymd.app.MDApp`. See github.com/HeaTTheatR/KivyMD/blob/master/README.md#api-breaking-changes. Nothings seems to work. Can you elaborate on your solution?
@ShashankShuklaBIS
@ShashankShuklaBIS 4 года назад
@@divyasharma4513 , yeah, this guy has explained it better: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tcnKm1kcep8.html Although to change the screens you need to tweak the code a little bit. Join the Discord channel, I got a lot of help from there.
@erik-sandberg
@erik-sandberg 4 года назад
EDIT: Newer versions of KivyMD made some breaking changes to the ScreenManager class. This video is likely outdated now I'll plan to make a new video for this topic. Code is on Github here: github.com/Dirk-Sandberg/KivyMDNavDrawerAndScreenManager Make sure to follow me on Github and subscribe to my channel if you haven't yet! It helps a lot :)
@sabisror833
@sabisror833 3 года назад
did you ever post a new video on the suject?
@rahulshan156
@rahulshan156 3 года назад
this pkg is not working well in my system I am using python 3.9 will you please help me
Далее
Я ДОСТРОИЛ ЗАВОД - Satisfactory
19:13
Просмотров 95 тыс.
Kivy Tutorial #9 - Navigation Between Multiple Screens
10:04
Now anyone can simulate flow for a 3D printer duct
11:17
KivyMD Tutorial - Navigation Between Screen
6:42
Просмотров 1,6 тыс.