Relative Content

Tag Archive for pythonkivykivymd

KivyMD ToggleButton: AttributeError: ‘ThemeManager’ object has no attribute ‘primary_dark’

I am currently trying to implement a toggle button in my KivyMD app, yet cannot make it work.
I tried running the example shown in the documentation, however I constantly receive the error AttributeError: 'ThemeManager' object has no attribute 'primary_dark'.
Even after replacing the MDRectangleFlatButton class with the normal MDButton class or removing the line self.background_down = self.theme_cls.primary_light this error still prevails.

My kivy and kivymd app won´t run, I have tried anything

I found this app in youtube and I need to make it work, but it just won´t, I have uninstalled and installed again Kivy (2.0.1) annd KivyMD (2.0.0), I have re-write my code like four times already, even corrected all mistakes in my kv file, but it still won´t work, it opens the app but then it closes itself, I need this ready by monday cause its for my school, please help me.

Error in kivymd: Unknown class

hey guys im new in kivy so excuse me if it was a silly question, i have an error in kivymd that says: Unknown class i have the library(kivymd) and kivy library

TextInput State

this is my python file content i made a mysql data base and connected it to the program and i have a problem with the home screen because i am trying to make a search bar