V Qc@sKddlTddlZdZdZdZedkrGendS(i(t*NcGst|dd}|j||jdt|dtdd}|jdtdtt|dtdd}|jdtdtt |dd d |d d } | jdt d ddtdddd|rt |d|} | jdt ddddnt } g} d} x|D]}t|d |d| | d}| j|| |krt|dtdd}|jdt d ddddd|j|jd|dt ddddddddn.|jdt d ddddddddd| d} q!W|dkrA|jd| || |dn|j}|j|j|j| |j|r|jn| jS(Ntclass_tDialogtrelieft borderwidthitsidetfilltwidtht3ittexttfonts$-Adobe-Times-Medium-R-Normal-*-180-*texpandtpadxt3mtpadytbitmapitcommandcSs |j|S(N(tset(tvti((s1/usr/lib64/python2.7/Demo/tkinter/guido/dialog.pyt(st2mtin_tipadxtipadyt1mscSs|j|j|fS(N(tflashR(tetbRR((s1/usr/lib64/python2.7/Demo/tkinter/guido/dialog.pyR:s (tToplevelttitleticonnametFrametRAISEDtpacktTOPtBOTHtBOTTOMtMessagetRIGHTtLabeltLEFTtIntVartButtontappendtSUNKENtlifttbindt focus_gettgrab_sett focus_settwaitvartdestroytget(tmasterRR RtdefaulttargstwttoptbottmsgtbmtvartbuttonsRtbutRtbdtoldFocus((s1/usr/lib64/python2.7/Demo/tkinter/guido/dialog.pytdialog sN   (  !  "         c CsRttddddd}dG|GHttddd d d d d }dG|GHdS(NsNot Respondings=The file server isn't responding right now; I'll keep trying.titOKspressed buttons File ModifiedswFile "tcl.h" has been modified since the last time it was saved. Do you want to save it before exiting the application?twarningis Save FilesDiscard ChangessReturn To Editor(RCt mainWidget(R((s1/usr/lib64/python2.7/Demo/tkinter/guido/dialog.pytgoLs    cCs}ddl}tatjtttdddt}|jttddd|j}|jdt tj dS(NiR sPress Here To StartRtExitR( tsysR RGtPacktconfigR+RHR"texitR$tmainloop(RJtstarttendit((s1/usr/lib64/python2.7/Demo/tkinter/guido/dialog.pyttestas    t__main__(tTkinterRJRCRHRQt__name__(((s1/usr/lib64/python2.7/Demo/tkinter/guido/dialog.pyts   A