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.

is a library for the development of multi-touch enabled media-rich applications. The aim is to allow for quick and easy interaction design and rapid prototyping while making your code reusable and deployable.

Kivy is written in Python, based on and supports different input devices such as Mouse, Dual Mouse, TUIO, WiiMote, WM_TOUCH, HIDtouch, Apple's products and so on.

Kivy is actively being developed by a community and free to use. It operates on all major platforms (, , , , , ).

The framework contains all the elements for building an application such as:

  • extensive input support for mouse, keyboard, TUIO, and OS-specific multitouch events,
  • a graphics library using only OpenGL ES 2, and based on Vertex Buffer Object and shaders,
  • a wide range of widgets that support multitouch,
  • an intermediate language Kv used to easily design custom widgets.

Kivy is the evolution of the PyMT project, and it is recommended for new projects.

UPDATE:

Kivy now supports Material Designs (inspired from Google) and is available via KivyMD .


icon Kivy Kivy


The main resource for information is the website. In addition, you can also check the Wikipedia entry for Kivy.

13657 questions
2
votes
0 answers

Cannot display anything but a solid-color window with Kivy

My problem I'm trying to use Kivy 1.10.1 in Python 3.7 on Windows 10, but when I run any of the example programs that come with Kivy (e.g. the pong and "Hello world" examples), they always display only a window containing nothing but a solid color,…
Victor
  • 127
  • 8
2
votes
0 answers

Can't connect kivy remote server to ubuntu 18.04

I installed kivy remote shell apk file on my android and it is showing: ssh -p8000 admin@192.168.0.2 but when I type this command on the ubuntu terminal it gives me this error: ssh_dispatch_run_fatal: Connection to 192.168.0.2 port 8000: Invalid…
mozilla-firefox
  • 864
  • 1
  • 15
  • 23
2
votes
1 answer

How to change size of the icon of the window in kivy

App icon I have designed a sample code in which I am using my app icon but it looks very tiny. Right now my icon size is 100 x 36. When I run the program, icon looks really very tiny. I am trying to increase the size of it so it should be visible to…
pashaa
  • 90
  • 9
2
votes
0 answers

Change size of widget from python script Kivy

I'm making a sudoku solver app. The app will let you take a picture of a sudoku, convert it to numbers in the right place in the grid and solve it. I'm now working on the App (GUI). I make the app in kivy because it's android friendly. One of the…
2
votes
1 answer

Attribute error with super in Kivy/Python

Here is the exerpt of my code on the .py side that cause the problem: class ScreenMath(Screen): def __init__(self,**kwargs): super(ScreenMath,self).__init__(**kwargs) self.ids.anchmath.ids.grdmath.ids.score.text = str("Score:" +…
SemAntys
  • 316
  • 2
  • 15
2
votes
2 answers

i want use Android default back button in kivy

I am a really beginner of Kivy, Python. i am trying to make android app and i want use Android dafault back button. these are what i want. First, Press the Back button on TS2 to go to TS1. Second, Press the Back button on TS1 to end the…
m0f1us
  • 376
  • 6
  • 20
2
votes
1 answer

Kivy: user touch and drag for cropping function

I'm attempting to crop an image. The basic idea is that the user will drag his mouse over the image to crop it. To that end, when you click "Crop", the user can select a lower left point, then drag the rectangle up to the top right. The rectangle…
Iorek
  • 571
  • 1
  • 13
  • 31
2
votes
1 answer

Kivy: Absolute position and size of an image

With Kivy, how do I find both the position and size of the image? The code below prints the position as [0,72] and the size of the image as [800, 480]. I suspect that this is the BoxLayout position and size respectively. If we use Mels image below,…
Iorek
  • 571
  • 1
  • 13
  • 31
2
votes
1 answer

Kivy - dynamically alter base widget property

I would like to change a base widget property in kivy. This is easily done in the kivy language like so:
Bryce
  • 197
  • 1
  • 1
  • 13
2
votes
1 answer

How to make custom buttons in Kivy with the KV Language?

I am trying to use a custom sprite to make a custom button. I know how I can do this in the KV Language, but I'd rather stick with Python. I saw that setting some source attribute to the sprite worked in the KV Language, so I tried this: from…
shamilpython
  • 479
  • 1
  • 5
  • 18
2
votes
1 answer

How to load a filechooser dialog

I am a Kivy newbie and despite having read a couple of books, a fair amount of the Kivy documentation, and looked at numerous examples, I'm still having great trouble at working out how to structure my program. I'm trying to get a filechooser dialog…
tommccann
  • 133
  • 1
  • 10
2
votes
2 answers

How to get back to default screen size in kivy?

Unfortunately I used the following: Config.set('graphics','width',850) Config.set('graphics','height',850) Config.write() in my of kivy file. My kivy application's window(screen) is opening in 'ipad' screen size(denoted in Screen module). From…
SagitSri
  • 491
  • 6
  • 15
2
votes
1 answer

Kivy custom animation functions

Is there a way to combine various built-in functions for animations or even create custom functions? I like the in_out_cubic, in_out_quad, in_out_sine functions, but I want to make something like in_cubic_out_sine and see if it would be ok. It's…
me2 beats
  • 774
  • 1
  • 8
  • 24
2
votes
0 answers

Kivy segmentation fault in Bionic with Hello World

New Kivy user here... I'm having an issue with Kivy running in Bionic Ubuntu. Simple Hello World application throws a segmentation fault. The window pops on the screen of the device with a partial draw: frame and titlebar but with no background…
kryten_007
  • 21
  • 1
2
votes
1 answer

Python kivy md Navigation Bar placement?

I am trying to restructure the kivymd project file but I am not able to place the navigation bar at the place at which it is normally. I cannot see why this is happening (see pictures and code below). This is how it looks like and this is how it…
MrYouMath
  • 547
  • 2
  • 13
  • 34
1 2 3
99
100