Category : kivy

I can’t get widget from another class by id. I tried app.root.ids.first_lbl.text, but it didn’t work. Is there any way to do this? Here is my code: main.py: from kivy.app import App from kivy.uix.widget import Widget from kivy.uix.boxlayout import BoxLayout class MainWidget(Widget): pass class SecondWidget(BoxLayout): pass class MyApp(App): def build(self): return MainWidget() if __name__ == ..

Read more

I have made a simple app with kivy and using colab to compile I get a black screen on my phone and in BlueStacks. This is the app: main.py from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.widget import Widget class BoxLayoutMain(BoxLayout): pass #main interface class MainWidget(Widget): pass #always add …App with mayus A ..

Read more