Section 10.1.


10.1. "On Today's Menu: Spam, Spam, and Spam"

This chapter is the second in a two-part tour of the Tkinter library. It picks up where Chapter 9 left off and covers some of the more advanced widgets and tools in the Tkinter arsenal. Among the topics presented in this chapter:

  • Menu, Menubutton, and OptionMenu widgets

  • The Scrollbar widget: for scrolling text, lists, and canvases

  • The Listbox widget: a list of multiple selections

  • The Text widget: a general text display and editing tool

  • The Canvas widget: a general graphical drawing tool

  • The grid table-based geometry manager

  • Time-based tools: after, update, wait, and threads

  • Basic Tkinter animation techniques

  • Clipboards, erasing widgets and windows, and so on

By the time you've finished this chapter, you will have seen the bulk of the Tkinter library, and you will have all the information you need to compose larger, portable user interfaces of your own. You'll also be ready to tackle the larger GUI techniques and examples presented in Chapters 11 and 12. As a segue to the next chapter, this one also closes with a look at the PyDemos and PyGadgets launcher toolbarsGUIs used to start larger GUI examples.




Programming Python
Programming Python
ISBN: 0596009259
EAN: 2147483647
Year: 2004
Pages: 270
Authors: Mark Lutz

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net