PART III
GUI Programming
This part of the book shows you how to apply Python to build portable graphical user
interfaces, primarily with Python’s standard tkinter library. The following chapters
cover this topic in depth:
Chapter 7
This chapter outlines GUI options available to Python developers, and then
presents a brief tutorial that illustrates core tkinter coding concepts.
Chapter 8
This chapter begins a two-part tour of the tkinter library—its widget set and related
tools. This first tour chapter covers simpler library tools and widgets: pop-up win-
dows, various types of buttons, images, and so on.
Chapter 9
This chapter continues the library tour begun in the prior chapter. It presents the
rest of the tkinter widget library, including menus, text, canvases, scroll bars, grids,
and time-based events and animation.
Chapter 10
This chapter takes a look at GUI programming techniques: we’ll learn how to build
menus automatically from object templates, spawn GUIs as separate programs,
run long-running tasks in parallel with threads and queues, and more.
Chapter 11
This chapter pulls the earlier chapters’ ideas together to implement a collection of
user interfaces. It presents a number of larger GUIs—clocks, text editors, drawing
programs, image viewers, and so on—which also demonstrate general Python
programming-in-the-large concepts along the way.
As in the first part of this book, the material presented here is applicable to a wide
variety of domains and will be utilized again to build domain-specific user interfaces
in later chapters of this book. For instance, the PyMailGUI and PyCalc examples of
later chapters will assume that you’ve covered the basics here.
Do
wnload from Wow! eBook <www.wowebook.com>