config root man

Current Path : /usr/local/lib/python2.5/idlelib/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/idlelib/CallTipWindow.pyc

³ò
h”Rc@sdZddkTdZdZdZdZd	Zd
Zddd„ƒYZd
dd„ƒYZ	d„Z
edjoe
ƒndS(s†A CallTip window class for Tkinter/IDLE.

After ToolTip.py, which uses ideas gleaned from PySol
Used by the CallTips IDLE extension.

iÿÿÿÿ(t*s<<calltipwindow-hide>>s<Key-Escape>s
<FocusOut>s<<calltipwindow-checkhide>>s<KeyRelease>s<ButtonRelease>idtcalltipwindowregion_righttCallTipcBsJeZd„Zd„Zd„Zdd„Zd„Zd„Zd„Z	RS(cCsF||_d|_|_d|_|_d|_d|_|_dS(N(	twidgettNonet	tipwindowtlabelt	parenlinetparencoltlastlinethideidtcheckhideid(tselfR((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyt__init__s
		cCs1t|iidƒidƒdƒ}||ijodSn||_|iidƒ||ijo&|iid|i|ifƒ}n|iid|ƒ}|p0t	|iidƒƒ}d|d<d|d<n|d|ii
ƒd}|d|d	|iiƒ}|ii
d
||fƒdS(s;Check if needs to reposition the window, and if so - do it.tinsertt.iNs%d.%ds%d.0iiis+%d+%d(tintRtindextsplitR	tseeRtbboxRtlisttwinfo_rootxtwinfo_rootyRtwm_geometry(Rtcurlinetboxtxty((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pytposition_windows %	
c	Cs)t|ƒdjoe|iƒ}xCt|ƒD]5\}}t|ƒdjo|d d||<q,q,Wdi|ƒ}n||_|ip|iodSn|iit|ƒt	t
|ii|ƒidƒƒ\|_
|_t|iƒ|_}|iƒ|idƒy#|iidd	|id
dƒWntj
onXt|d|id
tdddtddd|idƒ|_|iiƒ|iit|iƒ|_x!tD]}|ii t|ƒq³W|ii!t"|iƒ|iit#|i$ƒ|_%x!t&D]}|ii t#|ƒqWdS(sMShow the calltip, bind events which will close it and reposition it.
        iOiKs ...s
NRis!::tk::unsupported::MacWindowStyletstylethelptnoActivatesttexttjustifyt
backgrounds#ffffe0trelieftborderwidthtfont('tlent
splitlinest	enumeratetjoinR!RRtmark_sett
MARK_RIGHTtmapRRRRRtToplevelRtwm_overrideredirectttktcallt_wtTclErrortLabeltLEFTtSOLIDRtpacktbindtCHECKHIDE_VIRTUAL_EVENT_NAMEtcheckhide_eventRtCHECKHIDE_SEQUENCESt	event_addtaftertCHECKHIDE_TIMEtHIDE_VIRTUAL_EVENT_NAMEt
hide_eventR
tHIDE_SEQUENCES(	RR!t	parenleftt
parenrightt	textlinestitlinettwtseq((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pytshowtip/sH
	-


cCs·|ipdSntt|iidƒidƒƒ\}}||ijp9||ijo||ijp|iiddt	ƒo|i
ƒn!|iƒ|iit
|iƒdS(NRRt>(RR-RRRRRRtcompareR,thidetipRR=R>R:(RteventRtcurcol((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyR:\s
* 
cCs |ipdSn|iƒdS(N(RRL(RRM((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyR@ks
cCsï|ipdSnx!tD]}|iit|ƒqW|iit|iƒd|_x!tD]}|iit	|ƒq\W|iit	|i
ƒd|_
|iiƒd|_|iiƒd|_|ii
tƒd|_|_|_dS(N(RR;Rtevent_deleteR9tunbindRRRAR?R
Rtdestroyt
mark_unsetR,RRR	(RRH((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyRLqs$
		
	
	cCs
t|iƒS(N(tboolR(R((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyt	is_active†sN(
t__name__t
__module__R
RRIRR:R@RLRT(((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyRs			-		t	containercBs#eZd„Zd„Zd„ZRS(cCs¿tƒ}t|ƒ}|_|idtdtddƒ|iddƒ|iƒt|ƒ|_	|i
ddƒ|i
d	d
ƒ|id|iƒ|id	|i
ƒ|iƒ|iƒdS(NtsidetfilltexpandiRsstring.splits<<calltip-show>>t(s<<calltip-hide>>t)(tTktTextR!R7R5tBOTHRtupdateRtcalltipR<R8tcalltip_showtcalltip_hidet	focus_settmainloop(RtrootR!((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyR
s	

cCs|iidƒdS(NsHello world(RaRI(RRM((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyRb scCs|iiƒdS(N(RaRL(RRM((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyRc£s(RURVR
RbRc(((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pyRWs		cCs
tƒ}dS(N(RW(tc((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pytmain¦st__main__N(s<Key-Escape>s
<FocusOut>(s<KeyRelease>s<ButtonRelease>(((t__doc__tTkinterR?RAR9R;R>R,RRWRhRU(((s1/usr/local/lib/python2.5/idlelib/CallTipWindow.pys<module>s
~	


Man Man