a
    §c
  ć                   @   sj   d Z G dd dZG dd dZG dd 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.inspect`` where the actions represent 'queries'.

Implementations for these actions are expected to return value(s), ideally
without incurring side-effects.
c                   @   s   e Zd ZdZdS )ŚSelectedz· Represents an interaction to obtain the currently selected object(s).

    Implementations should return a list of selected objects, or an empty list
    if nothing is selected.
    N©Ś__name__Ś
__module__Ś__qualname__Ś__doc__© r   r   ś`/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/traitsui/testing/tester/query.pyr      s   r   c                   @   s   e Zd ZdZdS )ŚSelectedIndicesaÓ   Represents an interaction to obtain the indices of the currently
    selected objects.

    Implementations should return a list of indicies of the selected
    objects or an empty list if nothing is selected.

    Note that an index could be an integer (e.g. when selecting from a list or
    enumerataion, or selecting entire rows or columns of a table), or it could
    be a tuple (e.g. corresponding to a specific cell at some (row, column) in
    a table).
    Nr   r   r   r   r   r	      s   r	   c                   @   s   e Zd ZdZdS )ŚSelectedTextaE  An object representing an interaction to obtain the displayed (echoed)
    plain text which is currently selected.

    E.g. For a Enum List, with one entry currently selected, the displayed
    selected text would be the label of that entry.

    Implementations should return a ``str``, or None if nothing is selected.
    Nr   r   r   r   r   r
   +   s   	r
   c                   @   s   e Zd ZdZdS )ŚDisplayedTexta  An object representing an interaction to obtain the displayed (echoed)
    plain text.

    E.g. For a textbox using a password styling, the displayed text should
    be a string of platform-dependent password mask characters.

    Implementations should return a ``str``.
    Nr   r   r   r   r   r   8   s   	r   c                   @   s   e Zd ZdZdS )Ś	IsCheckedz»An object representing an interaction to obtain whether a checkable
    widget (e.g. checkbox) is checked or not.

    Implementations should return True if checked and False if not.
    Nr   r   r   r   r   r   E   s   r   c                   @   s   e Zd ZdZdS )Ś	IsEnabledz”An object representing an interaction to obtain whether a widget is
    enabled or not.

    Implementations should return True if enabled and False if not.
    Nr   r   r   r   r   r   O   s   r   c                   @   s   e Zd ZdZdS )Ś	IsVisiblez”An object representing an interaction to obtain whether a widget is
    visible or not.

    Implementations should return True if visible and False if not.
    Nr   r   r   r   r   r   Y   s   r   N)r   r   r	   r
   r   r   r   r   r   r   r   r   Ś<module>   s   	

