Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Kivy: Interactive Applications in Python
  • Table Of Contents Toc
Kivy: Interactive Applications in Python

Kivy: Interactive Applications in Python

By : Roberto Ulloa
4.1 (7)
close
close
Kivy: Interactive Applications in Python

Kivy: Interactive Applications in Python

4.1 (7)
By: Roberto Ulloa

Overview of this book

Mobiles and tablets have brought with them a dramatic change in the utility of applications. Compatibility has become essential, and this has increased the kind of interaction that users expect: gestures, multi-touches, animations, and magic pens. Kivy is an open source Python solution that covers these market needs with an easy-to-learn and rapid development approach. Kivy is growing fast and gaining attention as an alternative to the established developing platforms. Kivy: Interactive Applications in Python quickly introduces you to the Kivy development methodology. You will learn some examples of how to use many of the Kivy components, as well as understand how to integrate and combine them into big projects. This book serves as a reference guide and is organized in such a way that once finished, you will have already completed your first project. You will start by learning the Kivy Language for building User Interfaces (UI) and vector figures. We then proceed to the uses of Kivy events and properties to glue the UI with the application logic. You then go on to build an entire User Interface (UI) starting from a hand-made sketch. Furthermore, you will go on to understand how to use the canvas and drawing instructions to create different types of geometrical figures. Finally, you will be introduced to a big set of interactive and smooth features: transformations (scale, rotate, and translate), gestures, animations, scheduling tasks, and multi-touch elements. Kivy: Interactive Applications in Python expands your knowledge by introducing various components that improve the User Experience (UX). Towards the end of the book, you will be confident to utilize Kivy components and strategies to start any application or game you have in mind.
Table of Contents (13 chapters)
close
close
Kivy: Interactive Applications in Python
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1
Index

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

This is a very exciting chapter because you will start to see things happening on our screen and you will put together all the concepts acquired in the previous two chapters. All the basic functionality of our Comic Creator project will be ready by...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Kivy: Interactive Applications in Python
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon