3
7ßL]®  ã               @   sn   d dl mZmZmZmZmZ d dl mZ d dlmZm	Z	 d dl
mZ ddlmZ eeƒG dd„ de	eƒƒZd	S )
é    )ÚAnyÚEventÚPropertyÚprovidesÚUnicode)ÚTuple)ÚIWindowÚMWindow)ÚKeyPressedEventé   )ÚWidgetc               @   s„   e Zd ZdZeeƒZeeƒZeZ	e
Ze
Ze
Ze
Ze
eƒZe
Ze
ZedƒZedƒZdd„ Zdd„ Zdd„ Zd	d
„ Zdd„ Zdd„ ZdS )ÚWindowzp The toolkit specific implementation of a Window.  See the IWindow
    interface for the API documentation.
    r   c             C   s   d S )N© )ÚselfZvisibler   r   ú9/tmp/pip-install-5sebvq2j/pyface/pyface/ui/null/window.pyÚshowE   s    zWindow.showc             C   s   d S )Nr   )r   r   r   r   Ú_add_event_listenersL   s    zWindow._add_event_listenersc             C   s   | j S )z Property getter for position. )Ú	_position)r   r   r   r   Ú_get_positionS   s    zWindow._get_positionc             C   s   | j }|| _ | jd||ƒ dS )z Property setter for position. ÚpositionN)r   Útrait_property_changed)r   r   Úoldr   r   r   Ú_set_positionX   s    zWindow._set_positionc             C   s   | j S )z Property getter for size. )Ú_size)r   r   r   r   Ú	_get_size`   s    zWindow._get_sizec             C   s   | j }|| _ | jd||ƒ dS )z Property setter for size. ÚsizeN)r   r   )r   r   r   r   r   r   Ú	_set_sizee   s    zWindow._set_sizeNéÿÿÿÿr   )r   r   r   r   )r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   Útitler   Z	activatedÚclosedÚclosingZdeactivatedr
   Zkey_pressedZopenedZopeningr   r   r   r   r   r   r   r   r   r   r   r   r      s&   r   N)Z
traits.apir   r   r   r   r   r   Zpyface.i_windowr   r	   Zpyface.key_pressed_eventr
   Zwidgetr   r   r   r   r   r   Ú<module>   s   