Page 383 -
P. 383

programming toolbox


                              Your Programming Toolbox


                               You’ve got Chapter 9 under your belt.
     CHAPTER 9                 in this chapter:
                               Let’s look back at what you’ve learned









      Programming T ools
       * The Window Manager manages the windows created by


        * GUI events can be generated by the operating system, the
       your GUI.
         Window Manager, and your user.
         * If you redefine some default functionality, be sure to code
          the default behavior into your code (if required).
          * A checkbox lets you indicate whether something is set to


           * A scale/slider lets you implement a volume control.
           ON or OFF.
            * Be sure to look at other GUI programs when looking for

            inspiration and ideas for your own programs.
             * Reserved words are names that have special meaning in a  Python T ools
             programming language and which cannot be used as variable


                                                                 * app.destroy() - used to terminate a
                                                                 tkinter GUI application
              names.                                            * DoubleVar() - like IntVar and StringVar,


                                                                but used to hold a floating-point number

                                                               creating checkboxes
                                                               * Checkbutton() - a tkinter widget for
                                                              scales/sliders
                                                              * Scale() - a tkinter widget for creating









           348    Chapter 9
   378   379   380   381   382   383   384   385   386   387   388