AlkantarClanX12

Your IP : 13.59.111.183


Current Path : /lib64/python2.7/Demo/tix/samples/
Upload File :
Current File : //lib64/python2.7/Demo/tix/samples/Control.pyc

�
��^c@sxddlZdZd�Zddd��YZdddgZd	�Zd
�Zedkrtej�Z	ee	�ndS(
i����NicCs$t|�}|j�|j�dS(N(tDemoControltmainlooptdestroy(troottcontrol((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyt	RunSamples
RcBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCs<||_d|_tj�atj�atj�atj	d�tj	d�tj	d�tj
|dddtj�}tj|dd	d
ddtddd
ddd�}tj|ddd
dddd
ddddtdd�}tj|dddddtdd�}|d�|d<|d�|d<|d�|d<|j
dtjd tj�|j
dtjd tj�|j
dtjd tj�tj|d!tj�}|jd"d#d$d%dd&d'd(|j�|jd)d#d*d%dd&d'd(|j�|j
dtjd+tj�|j
dtjd+tjd,d�dS(-Ni����sP&Wg��@itbditrelieftlabelsNumber of Engines: tintegertvariabletmintmaxitoptionss,entry.width 10 label.width 20 label.anchor esThrust: is10000.0s60000.0tstepi�sEngine Maker: tvaluecSs
t|d�S(Ni(tadjust_maker(tw((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyt<lambda>CttincrcmdcSs
t|d�S(Ni����(R(R((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyRDRtdecrcmdcSs
t|�S(N(tvalidate_maker(R((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyRERtvalidatecmdtsidetanchortorientationtokttexttOkt	underlinetwidthitcommandtcanceltCanceltfilltexpand(RtexittTixt	StringVart
demo_makert	DoubleVartdemo_thrusttIntVartdemo_num_enginestsettFrametRAISEDtControltpacktTOPtWt	ButtonBoxt
HORIZONTALtaddtokcmdtquitcmdtBOTTOMtXtBOTH(tselfRttoptatbtctbox((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyt__init__s@		


			

cCs|j�dS(N(R8(R<((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyR7SscCs
d|_dS(Ni(R%(R<((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyR8WscCs-x&|jdkr(|jjjt�qWdS(Ni(R%Rttkt
dooneeventtTCL_ALL_EVENTS(R<((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyRZscCs|jj�dS(N(RR(R<((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyR^s(t__name__t
__module__RBR7R8RR(((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyRs
	4			sP&WtGEsRolls RoycecCsntjtj��}||}|tt�kr:d}n|dkrYtt�d}ntjt|�dS(Nii(t
maker_listtindexR(tgettlenR-(Rtincti((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyRcs
	cCs:ytjtj��}Wntk
r1tdSXt|S(Ni(RIRJR(RKt
ValueError(RRN((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyRos

	t__main__((
R&RERRRIRRRFtTkR(((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyt<module>s	C