Chapter 1. Kivy and the Kv Language

In this first chapter, we will cover the following recipes:

  • Installing Kivy
  • Building your interfaces
  • Declaring properties within a class
  • Relating the Python code and the Kv language
  • Referencing widgets
  • Accessing widgets defined inside the Kv language in your Python code
  • Reusing styles in multiple widgets
  • Designing with the Kv language
  • Running your code
  • Using Kivy garden

Introduction

The first chapter is going to introduce the reader to the Kivy framework, its basis, and the Kv language. This is necessary work and a common base for the next chapters. If this is your first time using Kivy, it is advised that you do not skip this chapter. However, if you do, remember to return to this chapter if you need to install a supporting ...

Get Kivy Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.