Your IP : 3.144.21.44


Current Path : /lib64/python2.7/Demo/tkinter/matt/
Upload File :
Current File : //lib64/python2.7/Demo/tkinter/matt/dialog-box.pyo

�
V
�Qc@sGddlTddlmZdefd��YZe�Zej�dS(i����(t*(tDialogtTestcBs/eZd�Zd�Zd�Zdd�ZRS(cCs	dGHdS(Nthi((tself((s4/usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pytprintitsc
Cs1t|ddddddddd	d�}|jS(
s�Create a top-level dialog with some buttons.

        This uses the Dialog class, which is a wrapper around the Tcl/Tk
        tk_dialog script.  The function returns 0 if the user clicks 'yes'
        or 1 if the user clicks 'no'.
        ttitlesfred the dialog boxttextsclick on a choicetbitmaptinfotdefaultitstringstyestno(syesR
(Rtnum(Rtd((s4/usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyt
makeWindows	cCsrt|ddddd|j�|_|jjdtdt�t|ddd|j�|_|jjdt�dS(	NRtQUITt
foregroundtredtcommandtsidetfillsMake a New Window(tButtontquitRtpacktLEFTtBOTHRthi_there(R((s4/usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyt
createWidgets.scCs4tj||�tj|�d|_|j�dS(Ni(tFramet__init__tPacktconfigt	windownumR(Rtmaster((s4/usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyR9s
	N(t__name__t
__module__RRRtNoneR(((s4/usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyRs		#	N(tTkinterRRRttesttmainloop(((s4/usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyt<module>s
8