Questions tagged [kivy]
Kivy is an open source Python library for rapid development of cross-platform applications equipped with novel user interfaces, such as multi-touch apps.
kivy
13,810
questions
0
votes
1
answer
15
views
create a .exe kivy program with a pyinstaller
I have a .py file called calculatrice.py and another .kv file called calco.kv. I am trying to produce an .exe with pyinstaller. Despite the instructions I followed in the kivy ‘Programming Guide “ ...
0
votes
0
answers
15
views
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 ...
0
votes
0
answers
17
views
Why add widget to scrollview not working in python kivy
Python file
from kivymd.app import MDApp
from kivy.lang import Builder
from kivy.uix.floatlayout import FloatLayout
from kivy.core.window import Window
from kivy.config import Config
from kivymd.uix....
0
votes
1
answer
17
views
buildozer error: ".../python3/Modules/readline.c:39:12: fatal error: 'readline/readline.h' file not found"
I have struggling just trying to deploy a "hola mundo" to android using Kivy in ubuntu Ubuntu 24.04 LTS, but I have stuck for weeks with this error that the header readline.h is not found. I ...
0
votes
1
answer
28
views
How do I make a trailing button in MDListItem in kivymd 2.0.1
I have recently updated my kivymd to 2.0.1 and I have run into a problem. I cannot make a trailing button in MDListItem the same way I could in earlier versions. The only documentation I found talks ...
0
votes
0
answers
24
views
Can bus data reading error with PCAN Canable Adapter
I am working on project. The idea is to read can bus vehicle data and visualize it on screen.
The Rasperry Pi 4 was chosen as platform, python and its GUI Kivy, python can library.
the can reader is ...
0
votes
0
answers
23
views
Trouble Loading CSS Files in Kivy App Using WebView
I'm currently developing a mobile app with Kivy where I load HTML templates into a WebView. While the HTML templates load correctly, I've encountered an issue with loading CSS files. Here’s how I've ...
0
votes
0
answers
16
views
Python kivy add_widget adds double the amount of widget that overlap on each other
Python kivy add_widget adds double the amount of widget that overlap on each other
I tested dynamically adding widgets and they behave very oddly, i created custom widget that i add to the grid on ...
0
votes
1
answer
16
views
How to make key cursor visible again in kivy text input?
I am learning kivy by doing atm, trying my hand at game scorekeeping app. Making some progress, but a small thing has me stumped: When giving my textbox rounded edges, afterwards I see no more key ...
0
votes
0
answers
21
views
Kivy backend implementation
I am a hobbyist programmer. I have learnt python as my first programming language. I want to learn android mobile app development using python. And I am thinking to use Kivy for it. And now I got to ...
0
votes
0
answers
27
views
kivy "configure: error: C compiler cannot create executables Resolving the "See `config.log' for more details" error
https://github.com/hyun071111/kivyapp
I'm making an Android app with kivy, but I keep getting an error... Can anyone help me?
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py&...
0
votes
1
answer
12
views
Kivy - How can I modify example for using ScrollView + GridLayout (Kivy-Garden Draggable)?
This Kivy - Draggable example works great:
from kivy.properties import ObjectProperty
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.label import Label
from kivy.uix.floatlayout ...
0
votes
0
answers
17
views
Buildozer android.ndk failed to find packageplatforms;android-31
I have been trying to compile an application built with python and kivy into an APK file using buildozer. I keep having the same error no matter what I seem to do.
Here is the error I am getting:
...
-1
votes
1
answer
66
views
How to use Pygame and Kivy
My question is not how to merge pygame and kivy screens. My problem is that I am working using kivy but in my code I added a function which runs a pygame program. When this program runs, the screen ...
0
votes
1
answer
26
views
How do I call a function of a class that is a part of a kivy ScreenManager
My app has a ScreenManager with a couple of screens. I need to call the create_widgets() function of the SecondScreen. I may need to call it a couple of times while running the program with different ...