Your IP : 18.117.98.207


Current Path : /lib64/python2.7/Demo/tkinter/matt/
Upload File :
Current File : //lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyc

�
V
�Qc@s7ddlTdefd��YZe�Zej�dS(i����(t*tTestcBs/eZd�Zd�Zd�Zdd�ZRS(cCs	dGHdS(Nthi((tself((s@/usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pytprintit	sc
Cs�t|dd�|_|jj�t|ddddddd|j�|_|jjd	td
t�t|dd�}|jd	t�t	|dd
dd
dddd�|_
t|dt�|j
_
t|dt�|j
_|j
j
j|j
d<|j
jj|j
d<|j
j|j
j
d<|j
j|j
jd<|j
jddddd
d�|j
jddddd
d�|j
j
jd	td
t�|j
jjd	td
t�|j
jd	t�dS(NttextsCan Find The BLUE Square??????tQUITt
backgroundtredtheightitcommandtsidetfills0.25itwidtht5itwhitetscrollregionit20itorienttxscrollcommandtyscrollcommands3.5itblackt10is13.5itblue(iiRR(tLabeltquestiontpacktButtontquitRtBOTTOMtBOTHtFrametCanvastdrawt	Scrollbart
HORIZONTALtscrollXtVERTICALtscrollYtsettxviewtyviewtcreate_rectangletXtRIGHTtYtLEFT(Rtspacer((s@/usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyt
createWidgetss*
cGsdG|GH|jjj�GHdS(Nt	scrolling(R!R$tget(Rtargs((s@/usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyt
scrollCanvasX0s	cCs+tj||�tj|�|j�dS(N(Rt__init__tPacktconfigR0(Rtmaster((s@/usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyR55s
N(t__name__t
__module__RR0R4tNoneR5(((s@/usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyRs		$	N(tTkinterRRttesttmainloop(((s@/usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyt<module>s
2