Page 20 -
P. 20

table of contents


                                     graphical interface elements
                           9         Selecting the right tool



                                     It’s easy to make your programs more effective for your users.
                                     And when it comes to GUI applications, there’s a world of difference between a working
                                     interface and one that’s both useful and effective. Selecting the right tool for the
                                     right job is a skill that comes with experience, and the best way to get that experience
                                     is to use the tools available to you. In this chapter, you’ll continue to expand your
                                     GUI application building skills. There’s a bunch of truly useful widgets waiting to be
                                     experienced. So, turn the page and let’s get going.




                                                  Time to mix it up                                  314
                                                  The music just kept on playing...                  318
                                                  Not all events are generated by button clicks      319
                                                  Capturing the protocol event isn’t enough          326
                                                  Two buttons, or not two buttons? That is the question...   328
                                                  The checkbox is an on/off, flip/flop toggle        331
                                                  Working with checkboxes in tkinter                 332
                                                  Pump up the volume!                                336
                                                  Model a slider on a scale                          337
                                                  Use pygame to set the volume                       339
                                                  Use tkinter for everything else                    340
                                                  The DJ is over the moon!                           347
                                                  Your Programming Toolbox                           348





















                                                                                                        xix
   15   16   17   18   19   20   21   22   23   24   25