a
    §ˆc@	  ã                   @   sj   d dl 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 )
é    )ÚEventÚPropertyÚprovidesÚStr)Ú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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   úX/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pyface/ui/null/window.pyÚshow?   s    zWindow.showc                 C   s   | j S )z Property getter for position. )Ú	_position©r   r   r   r   Ú_get_positionF   s    zWindow._get_positionc                 C   s   | j }|| _ |  d||¡ dS )z Property setter for position. ÚpositionN)r   Útrait_property_changed)r   r   Úoldr   r   r   Ú_set_positionK   s    zWindow._set_positionc                 C   s   | j S )z Property getter for size. )Ú_sizer   r   r   r   Ú	_get_sizeS   s    zWindow._get_sizec                 C   s   | j }|| _ |  d||¡ dS )z Property setter for size. ÚsizeN)r   r   )r   r   r   r   r   r   Ú	_set_sizeX   s    zWindow._set_sizeN)Ú__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      s$   r   N)Z
traits.apir   r   r   r   r   Zpyface.i_windowr   r   Zpyface.key_pressed_eventr	   Zwidgetr   r   r   r   r   r   Ú<module>   s   