|
|
Related products:
|
Python
Python and Tkinter Programming
Tkinter shortchanged The basics of Tk are poorly presented, apparently on the assumption that the reader is already familiar with Tk. The first appendix is devoted to the mapping between Tk and Tkinter, a typical "nugget" being the revelation that the Tk construct "-label string" maps onto the Tkinter construct "label=string", which conveys no useful information in the absence of a complete Tk reference. Appendix B, a Tkinter reference, has often left me frustrated. It begins with the understandable space-saving device of a list of "Options shared by most widgets," but then continues with "Options shared by many widgets" (why separate?) and "Common widget methods," whose connection with the rest of the appendix is obscure. Studying a widget's entry in Appendix B seldom produces a confident grasp of how to use that widget. The book is mostly tutorial in form, suited for leisurely reading but frustrating as a reference.
Not so. I have programmed several commercial Macintosh and Windows applications and I have become fairly proficient with Python, so I figured that writing GUIs with Tkinter would be pretty straightforward and Grayson's book looked like a great place to start. While it's fine to have lots of code samples, what would have been even better was much more nitty-gritty discussion of Tk itself. Tk is very clever and powerful, but it is not straightforward. This is even more true of Megawidgets, upon which Pmw is based, and which is widely used in Grayson's examples. The appendices at the end are great if you know exactly what you are looking up but frustrating if you don't have a good overview of how Tk works. I recommend Effective Tcl/Tk Programming by Harrison and McLennan to fill in some of the many gaps in Grayson. |
|
Go to lyrics-now.com for music lyrics and song lyrics.
Bass and guitar tablatures: Fretplay.com, Guitar tabs, Bass tabs, Fresh tabs, How to read tabs Plan your travel and holiday here: Travel Helper! |