Your IP : 3.21.105.222


Current Path : /lib64/python2.7/Demo/tkinter/guido/
Upload File :
Current File : //lib64/python2.7/Demo/tkinter/guido/switch.pyc

�
��^c@sfddlTddd��YZddd��YZdd
d��YZd�Zed	krbe�nd
S(i����(t*tAppcBs)eZddd�Zd�Zd�ZRS(cCs�|dkr3|dkr$t�}q3t|�}n||_t|�|_|jj�t|dddt�|_|jjdddt	�i|_
d|_dS(Ntborderwidthitrelieftexpanditfill(tNonetTktToplevelttoptFrametbuttonframetpacktGROOVEt
panelframetBOTHtpanelstcurpanel(tselfR	tmaster((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyt__init__s	
	cCs�t|jd|d||d��}|jdt�t|j�}||�}|||f|j|<|jdkr�|j	|�ndS(NttexttcommandcSs
|j|�S(N(tshow(Rtname((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyt<lambda>ttside(
tButtonRRtLEFTR
RRRRR(RRtklasstbuttontframetinstance((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pytaddpanelscCsR|j|\}}}|jr/|jj�n||_|jdddd�dS(NRiRtboth(RRtpack_forgetR(RRRR R!((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyRs
		N(t__name__t
__module__RRR"R(((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyRs	
t
LabelPanelcBseZd�ZRS(cCs&t|dd�|_|jj�dS(NRsHello world(tLabeltlabelR(RR ((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyR's(R%R&R(((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyR'&stButtonPanelcBseZd�ZRS(cCs&t|dd�|_|jj�dS(NRsPress me(RRR(RR ((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyR,s(R%R&R(((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyR*+scCs:t�}|jdt�|jdt�|jj�dS(NR)R(RR"R'R*R	tmainloop(tapp((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pytmain0s	t__main__N((((tTkinterRR'R*R-R%(((s1/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyt<module>s
!	

?>