ok

Mini Shell

Direktori : /proc/thread-self/root/lib64/python2.7/lib-tk/test/test_ttk/
Upload File :
Current File : //proc/thread-self/root/lib64/python2.7/lib-tk/test/test_ttk/support.pyc

�
zfc@s�ddlZddlZddlZddlZddd��YZd�Zd�ZddlZe	e
eejj
d���Zd�Zdad�Zid	d
d6d	d6d	d
d6dd6Zd�Zd�Zd�ZdS(i����NtAbstractTkTestcBs8eZed��Zed��Zd�Zd�ZRS(cCs�tj|_t�tj�tj�|_|jj�|_|jjd�y|jj	dt
�Wntjk
r{nXdS(Ntnormals-zoomed(ttkintert_support_default_roott_old_support_default_roottdestroy_default_roott
NoDefaultRoottTktroottwantobjectstwm_statet
wm_attributestFalsetTclError(tcls((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyt
setUpClasss
cCs9|jj�|jj�|`dt_|jt_dS(N(Rtupdate_idletaskstdestroytNoneRt
_default_rootRR(R((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyt
tearDownClasss


	cCs|jj�dS(N(Rt	deiconify(tself((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pytsetUpscCs5x!|jj�D]}|j�qW|jj�dS(N(Rtwinfo_childrenRtwithdraw(Rtw((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyttearDown"s(t__name__t
__module__tclassmethodRRRR(((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyRs	cCs<ttdd�r8tjj�tjj�dt_ndS(NR(tgetattrRRRRR(((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyR's

cCsh|jddddd�|jdd|d|�|jdd|d|�|jdd|d|�dS(	sYGenerate proper events to click at the x, y position (tries to act
    like an X server).s<Enter>txitys<Motion>s<ButtonPress-1>s<ButtonRelease-1>N(tevent_generate(twidgetR R!((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pytsimulate_mouse_click-st.csQt��dkr>tjt�kddjtt����S�fd�}|S(Nisrequires Tcl version >= R%cs%tj����fd��}|S(NcsCt��kr5|jddjtt����n�|�dS(Nsrequires Tcl version >= R%(tget_tk_patchleveltskipTesttjointmaptstr(R(ttesttversion(s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pytnewtest?s	(t	functoolstwraps(R+R-(R,(R+s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pytdeco>s!(tlentunittestt
skipUnlessttcl_versionR(R)R*(R,R0((R,s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pytrequires_tcl9s
cCs�tdkr�tj�}|jdd�}tjd|�}|j�\}}}}t|�t|�t|�}}}idd6dd6dd	6|}|dkr�||||d
faq�||d
||fantS(Ntinfot
patchlevels(\d+)\.(\d+)([ab.])(\d+)$talphatatbetatbtfinalR%i(	t_tk_patchlevelRRtTcltcalltretmatchtgroupstint(ttclR7tmtmajortminortreleaseleveltserial((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyR&Is&iHgR���Q@tctigffffff9@REitpcCst|d �t|dS(Ni����(tfloattunits(tvalue((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pytpixels_conv_scCs�||krtSt|tj�rDt|t�rDt|�|kSnt|t�r�t|t�r�t|�t|�ko�td�t||�D��Snt	S(Ncss$|]\}}t||�VqdS(N(t
tcl_obj_eq(t.0tacttexp((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pys	<genexpr>ks(
tTruet
isinstancet_tkintertTcl_ObjR*ttupleR1talltzipR(tactualtexpected((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyRQbs	cCs]||krtSt|ttjf�rYt|ttjf�rYt|�t|�kSntS(N(RURVR*RtWidgetR(R\R]((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyt	widget_eqos((R.R@R2tTkinterRRRR$RWRYR)RCtTCL_VERSIONtsplitR4R5RR=R&RNRPRQR_(((s4/usr/lib64/python2.7/lib-tk/test/test_ttk/support.pyt<module>s&!			!		
		

Zerion Mini Shell 1.0