Skip to content
Advertisement

Tag: kivy-language

Display Kivy Color Wheel only

I am writing an app that has a need for the Kivy Color Wheel (https://kivy.org/doc/stable/api-kivy.uix.colorpicker.html) to choose a color value to assign to different users. However, I intend for it to be used on a phone screen, and as such I do not need the various sliders and color codes that make up the second half of the widget –

How to add a basic parameter to a class in Kivy?

I am using Kivy ScreenLayout and I want to know how to create a basic button which will appear in every Screen. For example: I don’t want to copy and paste the Button in every class, especially when I have more than 20 screens. Is there a way how can be the button added as a basic parameter to every

how to insert a MDList in a MDDialog in kivyMD?

I need to show the data from a dictionary in a ThreeLineListItem inside a MDDialog, but my code doesn’t seem to work. Here’s my code: Do I need to import the values for the MDList from the KV file? Answer You can’t call your MDDialog class like : DialogContent().check_conflicts(product_dict). You need to reach self.dialog.Because you created this with your custom

Interrupting Kivy Toggle Button State Change on Click

I’ve got a toggle button that I’m using to start and stop a process. When the process is being stopped, I have a popup box that comes up, asking the user to enter a password to confirm they want to end the process. Only once the correct password is provided do I want the state of the toggle button to

Advertisement