python (3.12.0)
̑e d Z ddlmZmZmZmZ ddlmZ dZdZ dZ
dZdZd Z
G d
de Zd Zed
k( r ddlmZ eddd ddlmZ ee yy)zvA call-tip window class for Tkinter/IDLE.
After tooltip.py, which uses ideas gleaned from PySol.
Used by calltip.py.
)LabelLEFTSOLIDTclError)TooltipBasez<<calltipwindow-hide>>)z<Key-Escape>z
<FocusOut>z<<calltipwindow-checkhide>>)z<KeyRelease>z<ButtonRelease>d calltipwindowregion_rightc f e Zd ZdZ fdZd Z fdZ fdZd ZddZ d Z
fd Zd
Zd Z
xZS )
CalltipWindowz+A call-tip widget for tkinter text widgets.c t | | dx| _ | _ dx| _ x| _ | _ dx| _ | _ d| _ y)z}Create a call-tip; shown by showtip().
text_widget: a Text widget with code for which call-tips are desired
N)
super__init__labeltext parenlineparencollastlinehideidcheckhideidcheckhide_after_id)selftext_widget __class__s E/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/idlelib/calltip_w.pyr zCalltipWindow.__init__ sL %!%%
TY9===)--d&"& c t | j j d j d d }|| j k( r| j | j
f}n|df}| j j
d|z }|s.t | j j
d }d|d<