Hacked By AnonymousFox

Current Path : /proc/thread-self/root/lib64/python2.7/idlelib/
Upload File :
Current File : //proc/thread-self/root/lib64/python2.7/idlelib/ToolTip.pyo

�
{fc@sddlTddd��YZdefd��YZdefd��YZd�Zed	kr{dd
lmZee�ndS(
i����(t*tToolTipBasecBsYeZd�Zd	d�Zd	d�Zd�Zd�Zd�Zdd�Z	d�Z
RS(
cCs�||_d|_d|_d|_|_|jjd|j�|_|jjd|j	�|_
|jjd|j	�|_dS(Nis<Enter>s<Leave>s
<ButtonPress>(tbuttontNonet	tipwindowtidtxtytbindtentert_id1tleavet_id2t_id3(tselfR((s'/usr/lib64/python2.7/idlelib/ToolTip.pyt__init__
s			cCs|j�dS(N(tschedule(Rtevent((s'/usr/lib64/python2.7/idlelib/ToolTip.pyR	scCs|j�|j�dS(N(t
unschedulethidetip(RR((s'/usr/lib64/python2.7/idlelib/ToolTip.pyRs
cCs)|j�|jjd|j�|_dS(Ni�(RRtaftertshowtipR(R((s'/usr/lib64/python2.7/idlelib/ToolTip.pyRs
cCs/|j}d|_|r+|jj|�ndS(N(RRRtafter_cancel(RR((s'/usr/lib64/python2.7/idlelib/ToolTip.pyRs		cCs�|jr
dS|jj�d}|jj�|jj�d}t|j�|_}|jd�|jd||f�|j�dS(Niis+%d+%d(	RRtwinfo_rootxtwinfo_rootytwinfo_heighttTopleveltwm_overrideredirecttwm_geometrytshowcontents(RRRttw((s'/usr/lib64/python2.7/idlelib/ToolTip.pyR$s	 
sYour text herecCs;t|jd|dtdddtdd�}|j�dS(Nttexttjustifyt
backgrounds#ffffe0trelieftborderwidthi(tLabelRtLEFTtSOLIDtpack(RRtlabel((s'/usr/lib64/python2.7/idlelib/ToolTip.pyR2scCs)|j}d|_|r%|j�ndS(N(RRtdestroy(RR((s'/usr/lib64/python2.7/idlelib/ToolTip.pyR8s		N(t__name__t
__module__RRR	RRRRRR(((s'/usr/lib64/python2.7/idlelib/ToolTip.pyRs					tToolTipcBseZd�Zd�ZRS(cCstj||�||_dS(N(RRR(RRR((s'/usr/lib64/python2.7/idlelib/ToolTip.pyR?scCstj||j�dS(N(RRR(R((s'/usr/lib64/python2.7/idlelib/ToolTip.pyRBs(R*R+RR(((s'/usr/lib64/python2.7/idlelib/ToolTip.pyR,>s	tListboxToolTipcBseZd�Zd�ZRS(cCstj||�||_dS(N(RRtitems(RRR.((s'/usr/lib64/python2.7/idlelib/ToolTip.pyRFscCsGt|jdd�}|j�x!|jD]}|jt|�q)WdS(NR!s#ffffe0(tListboxRR'R.tinserttEND(Rtlistboxtitem((s'/usr/lib64/python2.7/idlelib/ToolTip.pyRIs
(R*R+RR(((s'/usr/lib64/python2.7/idlelib/ToolTip.pyR-Es	c	Cs�t�}|jd�ttttjd|j����\}}}}|jd||df�t|dd�}|j	�t
|dd�}t
|dd�}|j	�|j	�t|d	�t|d
ddd
g�|j
�dS(NsTest tooltips[x+]s+%d+%di�RsPlace your mouse over buttonssButton 1sButton 2s!This is tooltip text for button1.sThis iss
multiple linestooltip textsfor button2(tTkttitletlisttmaptinttretsplittgeometryR$R'tButtonR,R-tmainloop(	tparenttroottwidththeightRRR(tbutton1tbutton2((s'/usr/lib64/python2.7/idlelib/ToolTip.pyt_tooltipOs	
3




t__main__(trunN((tTkinterRR,R-RDR*tidlelib.idle_test.htestRF(((s'/usr/lib64/python2.7/idlelib/ToolTip.pyt<module>s
6
	

Hacked By AnonymousFox1.0, Coded By AnonymousFox