AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python35/lib64/python3.5/idlelib/__pycache__/ |
Current File : //proc/self/root/opt/alt/python35/lib64/python3.5/idlelib/__pycache__/ZoomHeight.cpython-35.pyc |
��Yf � @ sK d d l Z d d l Z d d l m Z Gd d � d � Z d d � Z d S)� N)� macosxSupportc @ s: e Z d Z d d g f g Z d d � Z d d � Z d S) � ZoomHeightZwindows�_Zoom Height�<<zoom-height>>c C s | | _ d S)N)�editwin)�selfr � r �7/opt/alt/python35/lib64/python3.5/idlelib/ZoomHeight.py�__init__ s zZoomHeight.__init__c C s | j j } t | � d S)N)r �top�zoom_height)r Zeventr r r r �zoom_height_event s zZoomHeight.zoom_height_eventN)r r )�__name__� __module__�__qualname__Zmenudefsr r r r r r r s r c C s� | j � } t j d | � } | s2 | j � d St t | j � � \ } } } } | j � } t j d k r� d } | d } n3 t j � r� d } | | d } n d } | d } | | k r� d } n d | | | | f } | j | � d S) Nz(\d+)x(\d+)\+(-?\d+)\+(-?\d+)�win32r �H � �X � z%dx%d+%d+%d)Zwm_geometry�re�matchZbell�map�int�groupsZwinfo_screenheight�sys�platformr ZisAquaTk) r Zgeom�m�widthZheight�x�yZ newheightZnewyZnewgeomr r r r s&