ok

Mini Shell

Direktori : /opt/alt/python36/lib64/python3.6/idlelib/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/idlelib/__pycache__/zoomheight.cpython-36.opt-1.pyc

3

*j�a<�@s\dZddlZddlZddlmZGdd�d�Zdd�ZedkrXdd	lm	Z	e	d
ddd
�dS)z Zoom a window to maximum height.�N)�macosxc@seZdZdd�Zddd�ZdS)�
ZoomHeightcCs
||_dS)N)�editwin)�selfr�r�7/opt/alt/python36/lib64/python3.6/idlelib/zoomheight.py�__init__szZoomHeight.__init__NcCs|jj}t|�dS)N�break)r�top�zoom_height)rZeventr
rrr�zoom_height_eventszZoomHeight.zoom_height_event)N)�__name__�
__module__�__qualname__rrrrrrr	src
Cs�|j�}tjd|�}|s$|j�dStt|j��\}}}}|j�}tj	dkrZd}|d}n&t
j�rtd}||d}nd}|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)
r
Zgeom�m�widthZheight�x�yZ	newheightZnewyZnewgeomrrrrs&

r�__main__)�mainz!idlelib.idle_test.test_zoomheight�F)�	verbosity�exit)
�__doc__rrZidlelibrrrr
Zunittestr rrrr�<module>s

Zerion Mini Shell 1.0