[Python编程(第4版)].(Programming.Python.4th.Edition).Mark.Lutz.文字版

(yzsuai) #1

Finally, I should note that GuiMaker could be redesigned to use trees of embedded class
instances that know how to apply themselves to the tkinter widget tree being con-
structed, instead of branching on the types of items in template data structures. In the
interest of space, though, we’ll banish that extension to the land of suggested exercises
in this edition.


Figure 10-3. big_gui with various pop ups


Figure 10-4. big_gui with spawned demos


612 | Chapter 10: GUI Coding Techniques

Free download pdf