O'Reilly logo

Kivy: Interactive Applications in Python by Roberto Ulloa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Widget Events – Binding Actions

In this chapter you will learn how to integrate actions into the graphical user interface components; some of the actions will be associated with the canvas and others with the Widget management. We are going to control the user interaction with the interface, so we will have to handle actions dynamically. In this chapter, you will acquire the following skills:

  • Connect different parts of the GUI through IDs and properties
  • Override, bind, unbind, and create Kivy events
  • Add widgets to other widgets dynamically
  • Add vertex and context instructions to canvas dynamically
  • Translate relative and absolute coordinates between the Widget, its parent and its window
  • Use properties to keep the GUI updated with the changes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required