Your IP : 3.142.36.215


Current Path : /opt/alt/python35/lib64/python3.5/idlelib/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/idlelib/__pycache__/ZoomHeight.cpython-35.pyc



��Yf�@sKddlZddlZddlmZGdd�d�Zdd�ZdS)�N)�
macosxSupportc@s:eZdZdd	gfgZdd�Zdd�ZdS)
�
ZoomHeightZwindows�_Zoom Height�<<zoom-height>>cCs
||_dS)N)�editwin)�selfr�r�7/opt/alt/python35/lib64/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+)�win32r�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

?>