A delayed resize layout in Kivy

Sat 13 July 2019

A user on the Kivy Discord just raised the question of how to delay widget updates during resize events. The problem was that the widgets did some heavy processing (generating matplotlib graphs) that would be very slow if called for every tiny update during a larger resize event.

This is ...

Category: kivy Tagged: python kivy

Read More

Widget interactions between Python and Kv

Thu 20 June 2019

One of the biggest Kivy confusions I see is how different widgets can access one another when they’re in different parts of the application. Fortunately, it’s generally straightforward to do so. This post gives examples of methods you might use in different situations.

The emphasis here is on ...

Category: kivy Tagged: kivy python

Read More

Kivy Hackathon and FOSDEM 2019

Fri 01 February 2019

For the last 3 days several of the Kivy Core Developers gathered in Brussels, Belgium for the first ever core developer hackathon. Not only is this the first time we’ve gathered to work on Kivy framework issues, but for most of us the first time we’ve ever met ...

Category: kivy Tagged: python android kivy

Read More

Kivy at PyCon

Fri 03 June 2016

Jacob Kovac, Kivy core developer and creator of the KivEnt game engine, is at PyCon 2016.

Click here or see below to watch his talk, Revitalizing Python Game Development: Packaging, Performance, and Platforms.

Category: kivy Tagged: kivy python kivent

Read More

Kivy Android app showcase

Fri 15 January 2016

A natural question when people hear about Kivy as a way to create Android apps in Python is…what can you do with it? Is it performant enough for games, can you call the Android APIs, do all apps look the same? One of the best resources for these kinds ...

Category: kivy Tagged: kivy python android

Read More

python-for-android now supports Python 3 APKs

Sun 10 January 2016

It’s been a long time coming, but we can finally make the announcement… python-for-android now supports Python 3 Android apps! This naturally includes Kivy, but also should work for anything else you can package with python-for-android, such as apps made with PySDL2. Using Python 3 remains experimental for now ...

Category: kivy Tagged: kivy python android

Read More

Python on Android

Wed 29 April 2015

There are an increasing number of resources about different ways of running Python on Android. Kivy (and its subprojects) are commonly mentioned, as one of the most mature and popular ways to do so, but one thing that gets less attention is the details of what you can do with ...

Category: kivy Tagged: kivy python android pyjnius plyer

Read More

Hy (lisp) and Kivy

Wed 15 October 2014

I was recently reminded of the super cool Hy project. Hy is a lisp that compiles to python’s own abstract syntax tree, so it works perfectly with existing Python code (including with Cython etc.) but also exposes all the power of lisp.

For instance, here’s a simple Kivy ...

Category: kivy Tagged: kivy python hy android kv

Read More

Kivy’s bind method

Tue 11 March 2014

One of the most common problems for new Kivy users is misunderstanding how the bind method works, especially amongst newer Python users who haven’t fully formed their intuition about function calls. For instance, a user will write code like:

some_screenmanager.bind(current=a_function(arg1, arg2))

Here, the idea is ...

Category: kivy Tagged: kivy python

Read More

Shall I keep going?

Fri 17 January 2014

To anyone reading these write-ups of my Kivy Crash Course…shall I keep going? I’ll keep writing up the individual videos if people are finding them useful, but I’d also like to spend more time blogging about other things (including other Kivy features rather than just following the ...

Category: Kivy Crash Course Tagged: kivy crash course python

Read More