A language created and used in the Kivy framework to describe a widget structure of a project.
Kivy language (kv, kvlang) is a language created and used in the Kivy framework to describe a widget structure of a project.
The concept behind kv is to make maintaining mainly the design part of an application simple. Kv provides features that make building an application easy and readable in large projects:
- Creating widgets with behaviors
- Reusing widgets
- Creating templates for widgets
- Binding widget properties to:
- each other
- to callbacks
- Drawing on canvas
- Importing python packages
- Including multiple kv files in one file
- and many other features!
With these features kv allows very fast prototyping and agile changes to User Interface. It also facilitates a good separation between the logic of an application and its UI, therefore provides possibilities to minimize code size and maximize readability.
For real-time debugging of the kv code you can use KivyCatalog.