ó ú^‚Rc@slddlTdd d„ƒYZdefd„ƒYZdefd„ƒYZd„Zed krheƒnd S( iÿÿÿÿ(t*t ToolTipBasecBsYeZd„Zd d„Zd d„Zd„Zd„Zd„Zdd„Z d„Z RS( cCs€||_d|_d|_d|_|_|jjd|jƒ|_|jjd|j ƒ|_ |jjd|j ƒ|_ dS(Nisss ( tbuttontNonet tipwindowtidtxtytbindtentert_id1tleavet_id2t_id3(tselfR((s%/usr/lib/python2.7/idlelib/ToolTip.pyt__init__ s   cCs|jƒdS(N(tschedule(Rtevent((s%/usr/lib/python2.7/idlelib/ToolTip.pyR scCs|jƒ|jƒdS(N(t unschedulethidetip(RR((s%/usr/lib/python2.7/idlelib/ToolTip.pyR s cCs)|jƒ|jjd|jƒ|_dS(NiÜ(RRtaftertshowtipR(R((s%/usr/lib/python2.7/idlelib/ToolTip.pyRs cCs/|j}d|_|r+|jj|ƒndS(N(RRRt after_cancel(RR((s%/usr/lib/python2.7/idlelib/ToolTip.pyRs  cCsˆ|jr dS|jjƒd}|jjƒ|jjƒd}t|jƒ|_}|jdƒ|jd||fƒ|jƒdS(Niis+%d+%d( RRt winfo_rootxt winfo_rootyt winfo_heighttTopleveltwm_overrideredirectt wm_geometryt showcontents(RRRttw((s%/usr/lib/python2.7/idlelib/ToolTip.pyR$s   sYour text herec Cs;t|jd|dtdddtddƒ}|jƒdS(Nttexttjustifyt backgrounds#ffffe0trelieft borderwidthi(tLabelRtLEFTtSOLIDtpack(RRtlabel((s%/usr/lib/python2.7/idlelib/ToolTip.pyR2scCs)|j}d|_|r%|jƒndS(N(RRtdestroy(RR((s%/usr/lib/python2.7/idlelib/ToolTip.pyR8s  N( t__name__t __module__RRR R RRRRR(((s%/usr/lib/python2.7/idlelib/ToolTip.pyRs      tToolTipcBseZd„Zd„ZRS(cCstj||ƒ||_dS(N(RRR(RRR((s%/usr/lib/python2.7/idlelib/ToolTip.pyR?scCstj||jƒdS(N(RRR(R((s%/usr/lib/python2.7/idlelib/ToolTip.pyRBs(R*R+RR(((s%/usr/lib/python2.7/idlelib/ToolTip.pyR,>s tListboxToolTipcBseZd„Zd„ZRS(cCstj||ƒ||_dS(N(RRtitems(RRR.((s%/usr/lib/python2.7/idlelib/ToolTip.pyRFscCsGt|jddƒ}|jƒx!|jD]}|jt|ƒq)WdS(NR!s#ffffe0(tListboxRR'R.tinserttEND(Rtlistboxtitem((s%/usr/lib/python2.7/idlelib/ToolTip.pyRIs (R*R+RR(((s%/usr/lib/python2.7/idlelib/ToolTip.pyR-Es cCs[tƒ}t|ddd|jƒ}|jƒ|jƒt|ddgƒ}|jƒdS(NRtHellotcommandtworld(tTktButtonR)R'tupdateR-tmainloop(troottbttip((s%/usr/lib/python2.7/idlelib/ToolTip.pytmainOs    t__main__N((tTkinterRR,R-R>R*(((s%/usr/lib/python2.7/idlelib/ToolTip.pyts 6