Explain Popups

preview_player
Показать описание
A quick video to explain how to make a popup and pass information from the popup back to the display in Kivy
Рекомендации по теме
Комментарии
Автор

I searched a lot to find simple example and application. Now i got it ... thanks for all explanation !!!

chandrashekharmahto
Автор

Do i have to make a new class for every specific popup input windows i need ?

Kirchert
Автор

Hello Amanda, Tim here... This post seaking help is about 1.5 yrs after the upload of this tutorial but I am hoping you might be able to help me track a problem. I have a PY and a KV file as is often used. In my PY file I have a class p(Popup) which is reflected in the KV file as <p>: ... I have a button in the popup (<p>: and a button event handler, "on_press: root.dismiss()" and I have tried the same with on_release and I have tried giving the <p>: an "id: myPop", then "on_press: myPop.dismiss()", but to no avail... I click the button on the popup and it does NOTHING. I can print out a message inside the Button to ensure I am actually there but no action. Any ideas on what the heck is going on here. THis yould be working! I am running on Mac OSX 10.15 (Catalina) with Python 3.7.4 and kivy 1.11.1 and made sure that my cython is up to date.. I'd greatly appreciate some insight if you have any. Thanks... Tim PS: Hope to hear back from you or one of your subscribers.

FRIENDSofCAP
Автор

Very good tut keep up the good work. More videos!

kataiho
Автор

Hello,
there is another way to acess on_press: app.root.fullName ?
I cant understand why it is app. if the fullName is in defined in Main Layout an not in PopupApp.

UlissesOliva
join shbcf.ru