HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/lib/python3.5/idlelib/__pycache__/ZoomHeight.cpython-35.pyc


��j`�@sKddlZddlZddlmZGdd�d�Zdd�ZdS)�N)�
macosxSupportc@s:eZdZdd	gfgZdd�Zdd�ZdS)
�
ZoomHeightZwindows�_Zoom Height�<<zoom-height>>cCs
||_dS)N)�editwin)�selfr�r�(/usr/lib/python3.5/idlelib/ZoomHeight.py�__init__szZoomHeight.__init__cCs|jj}t|�dS)N)r�top�zoom_height)rZeventrrrr	�zoom_height_eventszZoomHeight.zoom_height_eventN)rr)�__name__�
__module__�__qualname__Zmenudefsr
r
rrrr	rsrc
Cs�|j�}tjd|�}|s2|j�dStt|j��\}}}}|j�}tj	dkr�d}|d}n3t
j�r�d}||d}nd}|d}||kr�d}	nd||||f}	|j|	�dS)	Nz(\d+)x(\d+)\+(-?\d+)\+(-?\d+)Zwin32r�H��X�z%dx%d+%d+%d)Zwm_geometry�re�matchZbell�map�int�groupsZwinfo_screenheight�sys�platformrZisAquaTk)
rZgeom�m�widthZheight�x�yZ	newheightZnewyZnewgeomrrr	rs&
!

	r)rrZidlelibrrrrrrr	�<module>s