asda?‰PNG  IHDR ? f ??C1 sRGB ??é gAMA ±? üa pHYs ? ??o¨d GIDATx^íüL”÷e÷Y?a?("Bh?_ò???¢§?q5k?*:t0A-o??¥]VkJ¢M??f?±8\k2íll£1]q?ù???T  {fc@sdZddlmZmZmZmZmZdZdZdZ dZ d Z d Z d dd YZ d ZedkrddlmZeendS(sA CallTip window class for Tkinter/IDLE. After ToolTip.py, which uses ideas gleaned from PySol Used by the CallTips IDLE extension. i(tTopleveltLabeltLEFTtSOLIDtTclErrors<>s s s<>s sidtcalltipwindowregion_righttCallTipcBsJeZdZdZdZddZdZdZdZ 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|jjdjdd}||jkr8dS||_|jjd||jkr|jjd|j|jf}n|jjd|}|st |jjd}d|d(R R.RRRRR R tcompareR-thidetipR"RRt after_cancelR;R<R8(RteventRtcurcol((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyR8Xs *  cCs|js dS|jdS(N(R RG(RRI((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyR>js cCs|js dSx!tD]}|jjt|qW|jjt|jd|_x!tD]}|jjt |qWW|jjt |j d|_ |j j d|_ |jj d|_|jj td|_|_|_dS(N(R R9Rt event_deleteR7tunbindRRR?R=RR tdestroyt mark_unsetR-R R R (RRC((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyRGps          cCs t|jS(N(tboolR (R((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyt is_activesN( t__name__t __module__RR"RDRR8R>RGRP(((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyRs   )   c s ddlm}m}m}m}||}|jd|jd|jd|jdf||}|j d|d|d d |j d d |j t |fd }fd}|j dd|j dd|jd||jd||jdS(Ni(RtTextRtBOTHs Test calltipss 200x100+%d+%diitsidetfilltexpandiRs string.splitcsjddddS(Ns(s=Hello world)Rtend(RD(RI(tcalltip(s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyt calltip_showscsjdS(N(RG(RI(RY(s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyt calltip_hidess<>t(s<>t)(tTkinterRRSRRTttitletgeometryRRR3RtupdateRR:R6t focus_set( tparentRRSRRTttopR&RZR[((RYs-/usr/lib64/python2.7/idlelib/CallTipWindow.pyt_calltip_windows""     t__main__(trunN(s s (s s((t__doc__R^RRRRRR=R?R7R9R<R-RReRQtidlelib.idle_test.htestRg(((s-/usr/lib64/python2.7/idlelib/CallTipWindow.pyts(y