a
    §ˆcA  ã                   @   s@   d Z G dd„ dƒZG dd„ dƒZG dd„ dƒZG dd„ dƒZd	S )
zò This module defines interaction objects that can be passed to
``UIWrapper.perform`` where the actions represent 'commands'.

Implementations for these actions are expected to produce the
documented side effects without returning any values.
c                   @   s   e Zd ZdZdS )Ú
MouseClicka1  An object representing the user clicking a mouse button.
    Currently the left mouse button is assumed.

    In most circumstances, a widget can still be clicked on even if it is
    disabled. Therefore unlike key events, if the widget is disabled,
    implementations should not raise an exception.
    N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úb/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/traitsui/testing/tester/command.pyr      s   r   c                   @   s   e Zd ZdZdS )ÚMouseDClicka9   An object representing the user double clicking a mouse button.
    Currently the left mouse button is assumed.

    In most circumstances, a widget can still be clicked on even if it is
    disabled. Therefore unlike key events, if the widget is disabled,
    implementations should not raise an exception.
    Nr   r   r   r   r   r	      s   r	   c                   @   s   e Zd ZdZdd„ ZdS )ÚKeySequencea  An object representing the user typing a sequence of keys.

    Implementations should raise ``Disabled`` if the widget is disabled.

    Attributes
    ----------
    sequence : str
        A string that represents a sequence of key inputs.
        e.g. "Hello World"
    c                 C   s
   || _ d S ©N)Úsequence)Úselfr   r   r   r   Ú__init__6   s    zKeySequence.__init__N©r   r   r   r   r   r   r   r   r   r
   *   s   r
   c                   @   s   e Zd ZdZdd„ ZdS )ÚKeyClicka-  An object representing the user clicking a key on the keyboard.

    Implementations should raise ``Disabled`` if the widget is disabled.

    Attributes
    ----------
    key : str
        Standardized (pyface) name for a keyboard event.
        e.g. "Enter", "Tab", "Space", "0", "1", "A", ...
    c                 C   s
   || _ d S r   )Úkey)r   r   r   r   r   r   F   s    zKeyClick.__init__Nr   r   r   r   r   r   :   s   r   N)r   r   r	   r
   r   r   r   r   r   Ú<module>   s   