ok

Mini Shell

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

�
V
�Qc@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>CstincrcmdcSs
t|d�S(Ni����(R(R((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyRDstdecrcmdcSs
t|�S(N(tvalidate_maker(R((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyREstvalidatecmdtsidetanchortorientationtokttexttOkt	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(R7(R;((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyR6SscCs
d|_dS(Ni(R$(R;((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyR7WscCs-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__RAR6R7RR(((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(RHRIR'RJt
ValueError(RRM((s0/usr/lib64/python2.7/Demo/tix/samples/Control.pyRos

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

Zerion Mini Shell 1.0