Kivy: Modifying A Child Widget Of Another Separate Class
im currently looking into kivy to start with crossplatform development. i have a bit of python experience (but basic) and now wanted to code a little game in kivy to get into. i pr
Solution 1:
Your Screen2 print_text method creates a new Screen1 instance, which is modified but not displayed anywhere so you don't see anything change.
You could change the call to instead something like
on_press: root.parent.screen1.print_text()
...to access the print_text function of the Screen1 instance that you actually want to update.
Post a Comment for "Kivy: Modifying A Child Widget Of Another Separate Class"