ó 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.pyts 2