ó p”þfc@s}dZddlTdZdZdZdZd Zd Zd dd „ƒYZd dd„ƒYZ d„Z e dkrye ƒ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<>s s s<>s sidtcalltipwindowregion_righttCallTipcBsJeZd„Zd„Zd„Zdd„Zd„Zd„Zd„Z RS(cCsO||_d|_|_d|_|_d|_d|_|_d|_ dS(N( twidgettNonet tipwindowtlabelt parenlinetparencoltlastlinethideidt checkhideidtcheckhide_after_id(tselfR((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyt__init__s   cCs(t|jjdƒjdƒdƒ}||jkr8dS||_|jjdƒ||jkr…|jjd|j|jfƒ}n|jjd|ƒ}|sÐt |jjdƒƒ}d|d(RR.RRRRRRtcompareR-thidetipRR Rt after_cancelR>R?R;(R teventRtcurcol((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyR;]s *  cCs|js dS|jƒdS(N(RRM(R RO((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyRAos cCsê|js dSx!tD]}|jjt|ƒqW|jjt|jƒd|_x!tD]}|jjt |ƒqWW|jjt |j ƒd|_ |j j ƒd|_ |jj ƒd|_|jj tƒd|_|_|_dS(N(RR<Rt event_deleteR:tunbindR RRBR@R Rtdestroyt mark_unsetR-RRR (R RI((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyRMus          cCs t|jƒS(N(tboolR(R ((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyt is_activeŠsN( t__name__t __module__RRRJRR;RARMRV(((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyRs   -   t containercBs#eZd„Zd„Zd„ZRS(cCs¿tƒ}t|ƒ}|_|jdtdtddƒ|jddƒ|jƒt|ƒ|_ |j ddƒ|j d d ƒ|j d|j ƒ|j d |j ƒ|jƒ|jƒdS( NtsidetfilltexpandiRs string.splits<>t(s<>t)(tTktTextR"R8R6tBOTHRtupdateRtcalltipR=R9t calltip_showt calltip_hidet focus_settmainloop(R trootR"((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyR”s   cCs|jjdƒdS(Ns Hello world(RcRJ(R RO((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyRd¤scCs|jjƒdS(N(RcRM(R RO((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyRe§s(RWRXRRdRe(((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyRY“s  cCs tƒ}dS(N(RY(tc((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pytmainªst__main__N(s s (s s((( t__doc__tTkinterR@RBR:R<R?R-RRYRjRW(((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyts ‚