V Qc@s7ddlTdefdYZeZejdS(i(t*tTestcBsAeZdZdZdZdZdZddZRS(cCs|jjts|jj|jd|jd|jd|jddd}|jj|d|j|jj|d|j n|j|_ |j|_ dS(Ni tfilltgreenss( twidgett find_withtagtCURRENTtdrawt create_ovaltxtyttag_bindt mouseEntert mouseLeavetlastxtlasty(tselfteventtfred((sB/usr/lib64/python2.7/Demo/tkinter/matt/printing-coords-of-items.pyt mouseDown s +  cCsF|jjt|j|j|j|j|j|_|j|_dS(N(RtmoveRR RR R(RR((sB/usr/lib64/python2.7/Demo/tkinter/matt/printing-coords-of-items.pyt mouseMoves* cCs+|jjtdd|jjtGHdS(NRtred(Rt itemconfigRtcoords(RR((sB/usr/lib64/python2.7/Demo/tkinter/matt/printing-coords-of-items.pyR "scCs|jjtdddS(NRtblue(RRR(RR((sB/usr/lib64/python2.7/Demo/tkinter/matt/printing-coords-of-items.pyR (scCst|ddddd|j|_|jjdtdtt|dd d d |_|jjdttj |jd |j tj |jd |j dS( NttexttQUITt foregroundRtcommandtsideRtwidtht5itheights<1>s ( tButtontquitRtpacktLEFTtBOTHtCanvasRtWidgettbindRR(R((sB/usr/lib64/python2.7/Demo/tkinter/matt/printing-coords-of-items.pyt createWidgets-scCs+tj||tj||jdS(N(tFramet__init__tPacktconfigR*(Rtmaster((sB/usr/lib64/python2.7/Demo/tkinter/matt/printing-coords-of-items.pyR,7s N( t__name__t __module__RRR R R*tNoneR,(((sB/usr/lib64/python2.7/Demo/tkinter/matt/printing-coords-of-items.pyRs      N(tTkinterR+Rttesttmainloop(((sB/usr/lib64/python2.7/Demo/tkinter/matt/printing-coords-of-items.pyts 7