ó V Qc@s7ddlTdefd„ƒYZeƒZejƒdS(i’’’’(t*tTestcBs/eZd„Zd„Zd„Zdd„ZRS(cCs dGHdS(Nthi((tself((sC/usr/lib64/python2.7/Demo/tkinter/matt/animation-w-velocity-ctrl.pytprintit sc CsĪt|ddddd|jƒ|_|jjdtdtƒt|dd d d ƒ|_t|d t d d ddƒ|_ |j jdtdt ƒ|jj ddddddddƒ|jjdt ƒdS(NttexttQUITt foregroundtredtcommandtsidetfilltwidtht5itheighttorienttfrom_iœ’’’ttoidii ttagstthingtblue(tButtontquitRtpacktBOTTOMtBOTHtCanvastdrawtScalet HORIZONTALtspeedtXtcreate_rectangletLEFT(R((sC/usr/lib64/python2.7/Demo/tkinter/matt/animation-w-velocity-ctrl.pyt createWidgets s!%cGsY|jjƒ}t|ƒd}d|f}|jjd||ƒ|jd|jƒdS(Ng@@s%riRi (RtgettfloatRtmovetaftert moveThing(Rtargstvelocitytstr((sC/usr/lib64/python2.7/Demo/tkinter/matt/animation-w-velocity-ctrl.pyR's  cCs>tj||ƒtj|ƒ|jƒ|jd|jƒdS(Ni (tFramet__init__tPacktconfigR"R&R'(Rtmaster((sC/usr/lib64/python2.7/Demo/tkinter/matt/animation-w-velocity-ctrl.pyR,#s  N(t__name__t __module__RR"R'tNoneR,(((sC/usr/lib64/python2.7/Demo/tkinter/matt/animation-w-velocity-ctrl.pyR s   N(tTkinterR+Rttesttmainloop(((sC/usr/lib64/python2.7/Demo/tkinter/matt/animation-w-velocity-ctrl.pyts !