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 8, Graphical User Interfaces

This chapter outlines GUI options available to Python developers, and then presents a tutorial that illustrates core Tkinter coding concepts in the context of simple user interfaces.

Chapter 9, A Tkinter Tour, Part 1

This chapter begins a two-part tour of the Tkinter libraryits widget set and related tools. This first tour chapter covers simpler library tools and widgets: pop-up windows, various types of buttons, images, and so on. We also meet the Python Imaging Library (PIL) image processing extension here.

Chapter 10, A Tkinter Tour, Part 2

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. This section leads us toward some of the larger examples to follow.

Chapter 11, GUI Coding Techniques

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 12, Complete GUI Programs

This chapter pulls the earlier chapters' ideas together to implement a collection of user interfaces. It presents a collection of larger GUIsclocks, text editors, drawing programs, image viewers, and so onwhich 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, PyForm, and PyCalc examples of later chapters will assume that you've covered the basics here.

Programming Python
Programming Python
ISBN: 0596009259
EAN: 2147483647
Year: 2004
Pages: 270
Authors: Mark Lutz © 2008-2017.
If you may any questions please contact us: