Chapter 3. Widget Events – Binding Actions

In this chapter, you will learn how to integrate actions into the Graphical User Interface (GUI) components; some of the actions will be associated with the canvas and others with the Widget management. We will learn how to handle events dynamically in order to make the application respond to the user interactions. In this chapter, you will acquire the following skills:

  • Reference 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 the canvas dynamically
  • Translate relative and absolute coordinates between a widget, its parent, and its window
  • Use properties to keep the GUI updated with ...

Get Kivy – Interactive Applications and Games in Python - Second Edition 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.