▶️ Watch Entire Kivy Playlist ✅ Subscribe To My RUclips Channel: bit.ly/37LrJ27 bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN ▶️ Get The Code bit.ly/3hHXz2L
I have a question: When I create a popup in kivy file inside a class that was created in python file and within that popup I create a button, it gives an error saying the popup has no attribute 'update(self)' which is the command I use for the button using on_press event.
Hie John. Great tutorials, I have been following and find your courses very helpful. I have a question, I am trying to create an app which uses a popup box. The popup box should have different text on the label depending on user interaction. Eg it says you selected pepperoni or you selected cheese. I tried updating the label as you once taught but I'm getting an error: AttributeError: 'super' object has no attribute '__getattr__'. Did you mean: '__setattr__'?
Hi sir, I am a beginner to kivy...Your class helped me a lot...Thank you so much...I tried to do pop ups and screen manager,,...but it gives popup exception ...I have a single button in MyPopup(But working perfectly with widget class)...I will be greatful if you give me a solution...thank you
Thanks a lot for your helpful Turorials. I didn't find exception handling in your playlist or do you adress it in one of your videos? I wanted a popup box for a wrong input in a lable, but the standard python way of handling exceptions within a method in class MyGrid(Widget): did not work. Thanks in advance for any tips/hints.
@@Codemycom I mean like if one textinput is empty and the user press the submit button then a popup should appear telling the user to fill one area of the form. I hope you understand !
Hello John. Thank you for great videos on kivy. Is it possible to use a popup with text input to create a new label /change text of a label in another class or are my headaches in vain?
When i try to execute this code i get an error: in on_release: Factory.MyPopup.open() TypeError: ModalView.open() missing 1 required positional argument: 'self' Please i need help.
Please send me a link for pyqt And tell me either complete in tkinter or transfer to pyqt ..? And please send me a link for pyqt as o can not find it Thanks a lot❤
Sir I am having an error when I create a button in the popup section it gives me error : kivy.uix.popup.PopupException: Popup can have only one widget as content plzz ans .Thanks you
same me @Codemy.com When I inserted the Button before the BoxLayout the program gave me the same error. As well, if i insert the BoxLayout before. I was planning to insert the filechooser on the popup, but I still struggle to insert one more button or label.
Some one else in the comments found the awnser. Try commenting out your " #Builder.load_file(file.kv)". Your file can load double and bacause of that i think Popup will think there are two buttons instead of one
I have a question. I tried to tweak the code and tried to make a tab open with the popup but I could not achieve it. Is it not possible to use methods with popup button?
Hi Actually where you have done the code in line 19, the code on release:root.dismiss() now my question is that I am not being able to access the function of the python file which I have created, I tried root.myfunction() but shows the error AttributeError: 'mypopup' object has no attribute 'myfunction' i even checked the documentation but it does not have any answer to my question Please could you help me out with that?
Hi John. I'm getting an exception caused by Button on popup box. I've checked the code couple of times and i cant see any mistake. This Exception is: Popup can have only one widget content. I've watched this part of Your video couple of times and i can't fix it. Do You have any ideas whats causing this exception? Below You have code from my popup.kv file. Thanks in advance for Your help. #:import Factory kivy.factory.Factory auto_dismiss: False title: "This is a popup box" Button: text: "Close Me!" font_size: 24 on_release: root.dismiss()
OK, i found it. My popup.kv file was loaded twice because I used Builder and also named may app PopupApp. When the App name is different it works fine, with name PopupApp and commented Builder it also works ;)
I want to use a popup() to add a player(TextInput) and gender(radio checkbox) to my mainpage. But i am trying for days to get the output from my popup to work. In my main.py i have: class AddPlayer: Pass Class MyLayout: Pass (And the code to even start (return MyLayout)) .kv A working Popup here And a working close button A working layout with a working popup button
Amazing content, you have helped me a lot. One of the best recourses for learning kivy easily online. Great job!
Glad you’re enjoying it!
Thank you!! Needed this one badly.
Welcome!
Thanks so much for the video. I have actually learnt from the Factory module today.
Glad you enjoyed it
Was waiting for your next kivy video 💙
Every Monday, Wednesday, and Friday always
Your video help meh a lot for creating a modern app with python. I feel guilty that these tutorials are free.
Ha, sign up for Codemy.com if you'd like to help your conscience :-p
@@Codemycom Alright for sure! Worth content!
always waiting for your video
Hope you enjoyed it!
▶️ Watch Entire Kivy Playlist ✅ Subscribe To My RUclips Channel:
bit.ly/37LrJ27 bit.ly/2IGzvOR
▶️ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
▶️ Get The Code
bit.ly/3hHXz2L
Pin this up!!!
I have a question: When I create a popup in kivy file inside a class that was created in python file and within that popup I create a button, it gives an error saying the popup has no attribute 'update(self)' which is the command I use for the button using on_press event.
Who uses 9GAG. lets carry this guy to the topssssss... Indians help!
Hie John. Great tutorials, I have been following and find your courses very helpful. I have a question, I am trying to create an app which uses a popup box. The popup box should have different text on the label depending on user interaction. Eg it says you selected pepperoni or you selected cheese. I tried updating the label as you once taught but I'm getting an error:
AttributeError: 'super' object has no attribute '__getattr__'. Did you mean: '__setattr__'?
very useful, thanks a lot
Very Welcome!
Hi sir, I am a beginner to kivy...Your class helped me a lot...Thank you so much...I tried to do pop ups and screen manager,,...but it gives popup exception ...I have a single button in MyPopup(But working perfectly with widget class)...I will be greatful if you give me a solution...thank you
Great... Thanks you...waiting for database....with kivy
It looks like the old android and it’s so cool!
ha fun
Thanks a lot for your helpful Turorials. I didn't find exception handling in your playlist or do you adress it in one of your videos? I wanted a popup box for a wrong input in a lable, but the standard python way of handling exceptions within a method in class MyGrid(Widget): did not work. Thanks in advance for any tips/hints.
Great Tutorials
Thanks!
Thank you John!
My pleasure!
Sir can you make a Playlist on pygame please and Happy New year to you 🎉🎊
Yep, planning on it
@@Codemycom so when we accept the first video of pygame 🙂
@@idk____idk6530 soon
Great content as always!:D
Thanks!
You can also make Tuto for Kivy merarial design with kivy
Hi John, As always a amazing video. Can you teach us how to use popup with conditions. I have trouble understanding it ! Peace and Take Care
What do you mean?
@@Codemycom I mean like if one textinput is empty and the user press the submit button then a popup should appear telling the user to fill one area of the form. I hope you understand !
why does popup does not run with screenmanager when it is in the same kv files ?
How to launch functions by buttons on_release? It writes that MyPopup has no atribute 'my function name'.
Hello John. Thank you for great videos on kivy.
Is it possible to use a popup with text input to create a new label /change text of a label in another class or are my headaches in vain?
Anything's possible when your brain actually works.
When i try to execute this code i get an error:
in on_release: Factory.MyPopup.open()
TypeError: ModalView.open() missing 1 required positional argument: 'self'
Please i need help.
hey!!
Will you explain pyqt soon ??
And if you don't explain it, nominate good RUclips resources to learn
It's on my list of things to do
@@Codemycom i can not find pyqt .
I find only tkinter
Send me link please
Please send me a link for pyqt
And tell me either complete in tkinter or transfer to pyqt ..?
And please send me a link for pyqt as o can not find it
Thanks a lot❤
@@yusufyaseen476 on my list of things to do...not playlist
I tried to import Factory the way you showed and it says illegal import in Kivy. Any suggestion?
When I had a similar error, I noticed that I had capitalized Import instead of import
Sir I am having an error when I create a button in the popup section
it gives me error : kivy.uix.popup.PopupException: Popup can have only one widget as content
plzz ans .Thanks you
same me @Codemy.com
When I inserted the Button before the BoxLayout the program gave me the same error.
As well, if i insert the BoxLayout before.
I was planning to insert the filechooser on the popup, but I still struggle to insert one more button or label.
Some one else in the comments found the awnser. Try commenting out your " #Builder.load_file(file.kv)". Your file can load double and bacause of that i think Popup will think there are two buttons instead of one
I have a question. I tried to tweak the code and tried to make a tab open with the popup but I could not achieve it. Is it not possible to use methods with popup button?
sir please tell how to add functionality of passport size image for user on tkinter form
Hi
Actually where you have done the code in line 19, the code on release:root.dismiss()
now my question is that I am not being able to access the function of the python file which I have created, I tried root.myfunction() but shows the error
AttributeError: 'mypopup' object has no attribute 'myfunction'
i even checked the documentation but it does not have any answer to my question
Please could you help me out with that?
Same problem!
@@pimysoft2896 I got a way, you can use Factory.functionname()
❤️❤️
:-)
Hi i have a problem when i build a button , Python return me : popup can have only one widget as content . Anyone know how i can resolve ?
Hello. Peace be upon you. Yes you can do. Just nest a layout in popup widget. I have tried it
Can you animate the popup kind of coming into the screen?
yes
Hi John. I'm getting an exception caused by Button on popup box. I've checked the code couple of times and i cant see any mistake. This Exception is: Popup can have only one widget content. I've watched this part of Your video couple of times and i can't fix it. Do You have any ideas whats causing this exception? Below You have code from my popup.kv file. Thanks in advance for Your help.
#:import Factory kivy.factory.Factory
auto_dismiss: False
title: "This is a popup box"
Button:
text: "Close Me!"
font_size: 24
on_release: root.dismiss()
Everything works before adding this button on popup
OK, i found it. My popup.kv file was loaded twice because I used Builder and also named may app PopupApp. When the App name is different it works fine, with name PopupApp and commented Builder it also works ;)
glad you found it
Is there a way for a pop up box to be opened by a function in a python file?
Of course.
@@Codemycom I’m struggling figuring out how to do that. Could you explain on how you would do that?
@@weightsoccer123 I have videos on the playlist that do that
I want to use a popup() to add a player(TextInput) and gender(radio checkbox) to my mainpage. But i am trying for days to get the output from my popup to work.
In my main.py i have:
class AddPlayer:
Pass
Class MyLayout:
Pass
(And the code to even start (return MyLayout))
.kv
A working Popup here
And a working close button
A working layout with a working popup button
You can try using a layout and nesting other in it, if you want. Because it says you can have only one widget