Book Image

Python GUI Programming Cookbook

By : Burkhard Meier
Book Image

Python GUI Programming Cookbook

By: Burkhard Meier

Overview of this book

Table of Contents (18 chapters)
Python GUI Programming Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Data and Classes

In this chapter, we will use data and OOP classes using Python 3:

  • How to use StringVar()

  • How to get data from a widget

  • Using module-level global variables

  • How coding in classes can improve the GUI

  • Writing callback functions

  • Creating reusable GUI components