Page 360 -
P. 360

graphical interface elements



                     Test Drive


                                                                                No matter how often you click

           With the changes made to your program in IDLE, press F5 to see how things   the close box, the window won't
           perform now.                                                         go away...

                                                                                                Click!



                                                                                  Click!


                                                                                                     Click!




                                                                                        Click!





                                                                                                    Click!












                                                                           You'll need to quit IDLE and
                                                                           the Python Shell to force the
                                                The sound stops when I     window to close.
                                                click to close the window,
                                                but now the GUI doesn‛t
                                                disappear!


           What gives? You’ve solved one problem, but created another.
           When the DJ clicks on the close box, the track stops playing,
           which is what you wanted. But now, the window won’t close.

           This can’t be good, can it?



                                                                                       you are here 4    325
   355   356   357   358   359   360   361   362   363   364   365