Hacked By AnonymousFox
�
^
bc @ s d d l Td d d � � YZ d e f d � � YZ d e f d � � YZ d � Z e d k r{ d d
l m Z e e � n d S(
i����( t *t ToolTipBasec B sY e Z d � Z d d � Z d d � Z d � Z d � Z d � Z d d � Z d � Z
RS(
c C s� | | _ d | _ d | _ d | _ | _ | j j d | j � | _ | j j d | j � | _
| j j d | j � | _ d S( Ni s <Enter>s <Leave>s
<ButtonPress>( t buttont Nonet tipwindowt idt xt yt bindt entert _id1t leavet _id2t _id3( t selfR ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyt __init__
s c C s | j � d S( N( t schedule( R t event( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR s c C s | j � | j � d S( N( t
unschedulet hidetip( R R ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR s
c C s) | j � | j j d | j � | _ d S( Ni� ( R R t aftert showtipR ( R ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR s
c C s/ | j } d | _ | r+ | j j | � n d S( N( R R R t after_cancel( R R ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR s c C s� | j r
d S| j j � d } | j j � | j j � d } t | j � | _ } | j d � | j d | | f � | j � d S( Ni i s +%d+%d( R R t winfo_rootxt winfo_rootyt winfo_heightt Toplevelt wm_overrideredirectt wm_geometryt showcontents( R R R t tw( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR $ s
s Your text herec C s; t | j d | d t d d d t d d �} | j � d S( Nt textt justifyt
backgrounds #ffffe0t relieft borderwidthi ( t LabelR t LEFTt SOLIDt pack( R R t label( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR 2 s c C s) | j } d | _ | r% | j � n d S( N( R R t destroy( R R ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR 8 s N( t __name__t
__module__R R R R R R R R R ( ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR s t ToolTipc B s e Z d � Z d � Z RS( c C s t j | | � | | _ d S( N( R R R ( R R R ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR ? s c C s t j | | j � d S( N( R R R ( R ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR B s ( R* R+ R R ( ( ( s4 /opt/alt/python27/lib64/python2.7/idlelib/ToolTip.pyR, >