Your IP : 18.222.75.239


Current Path : /lib64/python2.7/Demo/tkinter/matt/
Upload File :
Current File : //lib64/python2.7/Demo/tkinter/matt/animation-w-velocity-ctrl.pyo

�
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|dt	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.pyt<module>s
!