ó ¿œ^c@sCddlTdZdZdefd„ƒYZeƒZejƒdS(iÿÿÿÿ(t*tredtbluetTestcBs8eZd„Zd„Zd„Zd„Zdd„ZRS(cCsƒ|jjtƒs;|jjddtƒ|jjdƒn,|jjddtƒ|jjddtƒ|j |_ |j |_ dS(Ntselectedtfilltwithtag( twidgett find_withtagtCURRENTtdrawt itemconfigtUNSELECTED_COLORtdtagtaddtagtSELECTED_COLORtxtlastxtytlasty(tselftevent((s>/usr/lib64/python2.7/Demo/tkinter/matt/canvas-mult-item-sel.pyt mouseDown s cCsF|jjd|j|j|j|jƒ|j|_|j|_dS(NR(R tmoveRRRR(RR((s>/usr/lib64/python2.7/Demo/tkinter/matt/canvas-mult-item-sel.pyt mouseMove!s* c CsA|jjdddddtdtƒ}|jjddtƒdS(NiiRttagsRR(R t create_ovalRR R(Rtfred((s>/usr/lib64/python2.7/Demo/tkinter/matt/canvas-mult-item-sel.pyt makeNewDot&scCs(t|ddddd|jƒ|_t|ddddƒ|_tj|jd |jƒtj|jd |jƒt|dd dd d|j ƒ|_ d t t f}t |ddd|ƒ|_|jjdtdtƒ|jjdtdtddƒ|j jdtdtƒ|jjdtƒdS(NttexttQUITt foregroundRtcommandtwidtht5itheights<1>s smake a new dotRs…%s dots are selected and can be dragged. %s are not selected. Click in a dot to select it. Click on empty space to deselect all dots.tsideRtexpandi(tButtontquitRtCanvasR tWidgettbindRRRtbuttonRR tMessagetlabeltpacktBOTTOMtBOTHtXtLEFT(Rtmessage((s>/usr/lib64/python2.7/Demo/tkinter/matt/canvas-mult-item-sel.pyt createWidgets-s cCs+tj||ƒtj|ƒ|jƒdS(N(tFramet__init__tPacktconfigR4(Rtmaster((s>/usr/lib64/python2.7/Demo/tkinter/matt/canvas-mult-item-sel.pyR6Hs N(t__name__t __module__RRRR4tNoneR6(((s>/usr/lib64/python2.7/Demo/tkinter/matt/canvas-mult-item-sel.pyRs     N(tTkinterRR R5Rttesttmainloop(((s>/usr/lib64/python2.7/Demo/tkinter/matt/canvas-mult-item-sel.pyts E