Book Image

Kivy - Interactive Applications and Games in Python

By : Roberto Ulloa
Book Image

Kivy - Interactive Applications and Games in Python

By: Roberto Ulloa

Overview of this book

Table of Contents (13 chapters)
Kivy – Interactive Applications and Games in Python Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we created an application that integrates many Kivy components. We discussed how to control a video and how to associate different elements of the screen with it. We explored different Kivy widgets and implemented a complex interaction to display a scrollable list of elements. Here is the list of new classes and components that we used in this chapter:

  • Video: The allow_stretch and source properties inherited from Image; the state and progress properties; the _on_load, on_eos, on_source and on_state, on_position, seek methods

  • AsyncImage: The source property inherited from Image; the opacity (inherited from Widget) property

  • Label: The texture_size property

  • Slider: The value and max properties
Touch: The double_tap key

  • The Kivy Inspector class

  • The ActionBar, ActionView, ActionItem ActionPrevious, ActionToggleButton ActionGroup, and ActionButton classes, with use_separator of ActionView and title of ActionPrevious properties

  • Textinput: The background_color, foreground_color...