your computer to experiment with available color settingsc:\pp \gui\tourpython setcolor py # # # df other standard dialog calls we've seen most of the standard dialogs and we'll use these pop ups in examples throughout the rest of this book but for more details on other calls and options availableeither consult other tkinter documentation or browse the source code of the modules used at the top of the dialogtable module in example - all are simple python files installed in the tkinter subdirectory of the python source library on your machine ( in :\python \lib on windowsand keep this demo bar example filed away for future referencewe'll reuse it later in the tour for callback actions when we meet other button-like widgets the old-style dialog module in older python codeyou may see dialogs occasionally coded with the standard tkinter dialog module this is bit dated nowand it uses an windows look-and-feelbut just in case you run across such code in your python maintenance excursionsexample - gives you feel for the interface example - pp \gui\tour\dlg-old py from tkinter import from tkinter dialog import dialog class olddialogdemo(frame)def __init__(selfmaster=none)frame __init__(selfmasterpack config(selfsame as self pack(button(selftext='pop 'command=self dialog pack(button(selftext='pop 'command=self dialog pack(def dialog (self)ans dialog(selftitle text 'popup fun!''an example of popup-dialog 'boxusing older "dialog py'bitmap 'questhead'default strings ('yes''no''cancel')if ans num = self dialog (def dialog (self)dialog(selftitle text bitmap 'hal- '" ' afraid can' let you do thatdave "'hourglass' tkinter tourpart