| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.10/idlelib/__pycache__/ |
Upload File : |
o
�9j� � @ s� d Z ddlmZmZmZmZ ddlmZ dZdZ dZ
dZdZd Z
G d
d� de�Zdd
� ZedkrIddlmZ edddd� ddlmZ ee� dS dS )zvA call-tip window class for Tkinter/IDLE.
After tooltip.py, which uses ideas gleaned from PySol.
Used by calltip.py.
� )�Label�LEFT�SOLID�TclError)�TooltipBasez<<calltipwindow-hide>>)z<Key-Escape>z
<FocusOut>z<<calltipwindow-checkhide>>)z<KeyRelease>z<ButtonRelease>�d �calltipwindowregion_rightc sv e Zd ZdZ� fdd�Zdd� Z� fdd�Z� fdd �Zd
d� Zdd
d�Z dd� Z
� fdd�Zdd� Zdd� Z
� ZS )�
CalltipWindowz+A call-tip widget for tkinter text widgets.c sD t t| ��|� d | _| _d | _ | _| _d | _| _ d| _
dS )z}Create a call-tip; shown by showtip().
text_widget: a Text widget with code for which call-tips are desired
N)�superr �__init__�label�text� parenline�parencol�lastline�hideid�checkhideid�checkhide_after_id)�self�text_widget�� __class__� �(/usr/lib/python3.10/idlelib/calltip_w.pyr s
zCalltipWindow.__init__c C s� t | j�d��d�d �}|| jkr| j| jf}n|df}| j�d| �}|s7t| j�d��}d|d<